aboutsummaryrefslogtreecommitdiffstats
path: root/components/style
Commit message (Collapse)AuthorAgeFilesLines
* Auto merge of #11287 - heycam:moz-binding, r=bholleybors-servo2016-05-249-29/+157
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Support -moz-binding in geckolib Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy --faster` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). Either: - [ ] There are tests for these changes OR - [x] These changes do not require tests because changes target stylo Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11287) <!-- Reviewable:end -->
| * Re-use Url serialization in values::specified::Image.Cameron McCormack2016-05-241-6/+4
| |
| * Support -moz-binding in geckolib.Cameron McCormack2016-05-242-1/+76
| |
| * Pass Gecko sheet base/referrer/principal from Servo_StylesheetFromUTF8Bytes ↵Cameron McCormack2016-05-243-2/+10
| | | | | | | | through ParserContext.
| * Add an extra data field to ParserContext.Cameron McCormack2016-05-244-21/+68
| | | | | | | | | | This will be used for passing Gecko-specific information through the CSS parser in stylo.
* | Parse HTMLInputElement attributesKeith Yeung2016-05-241-6/+15
| |
* | Move DOMString back to scriptAnthony Ramine2016-05-241-24/+24
|/ | | | This entirely removes the 'non-geckolib' feature of the util crate.
* Update string_cache to 0.2.17Keith Yeung2016-05-231-1/+1
|
* Add -moz-appearance and include nsThemeConstants.h in struct.rsKeith Yeung2016-05-201-0/+27
|
* Add -moz-float-edgeKeith Yeung2016-05-191-0/+6
|
* Auto merge of #11240 - mbrubeck:font-style, r=bholleybors-servo2016-05-181-1/+1
|\ | | | | | | | | | | | | | | | | | | | | Support font-style in geckolib r? @bholley <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11240) <!-- Reviewable:end -->
| * Support font-style in geckolibMatt Brubeck2016-05-171-1/+1
| |
* | Add string_cache override for geckolib based on gecko atoms.Bobby Holley2016-05-186-48/+54
|/ | | | The work in these patches is based on Ms2ger's gecko-atom crate.
* Auto merge of #11191 - servo:bitflags, r=pcwaltonbors-servo2016-05-171-4/+4
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Update bitflags to 0.7 - [x] https://github.com/servo/cocoa-rs/pull/126 https://github.com/servo/cocoa-rs/pull/127 https://github.com/servo/cocoa-rs/pull/128 https://github.com/servo/glutin/pull/91 - [x] https://github.com/cyderize/rust-websocket/pull/78 - [x] https://github.com/sfackler/rust-openssl/pull/393 - [x] https://github.com/PistonDevelopers/image-png/pull/36 - [x] https://github.com/servo/rust-selectors/pull/87 - [x] https://github.com/vberger/wayland-kbd/pull/12 - [x] https://github.com/vberger/wayland-client-rs/pull/50 - [x] https://github.com/netvl/xml-rs/pull/122 https://github.com/netvl/xml-rs/pull/123 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11191) <!-- Reviewable:end -->
| * Update internal crates to bitflags 0.7Anthony Ramine2016-05-171-1/+1
| |
| * Reorder dependencies in many Cargo.toml filesAnthony Ramine2016-05-171-3/+3
| |
* | Auto merge of #11222 - KiChjang:stylo-keywords, r=bholleybors-servo2016-05-172-0/+15
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | Add -moz-user-* CSS longhands for Gecko - [x] `./mach build -d` does not report any errors - [x] `./mach test-tidy --faster` does not report any errors - [x] These changes do not require tests because stylo r? @bholley <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11222) <!-- Reviewable:end -->
| * Add -moz-user-inputKeith Yeung2016-05-171-0/+3
| |
| * Add -moz-user-selectKeith Yeung2016-05-171-0/+3
| |
| * Add -moz-user-modifyKeith Yeung2016-05-171-0/+3
| |
| * Add -moz-user-focusKeith Yeung2016-05-171-0/+6
| |
* | Support vertical-align in geckolibMatt Brubeck2016-05-161-3/+7
| |
* | Auto merge of #11192 - perlun:remove-unused-imports, r=Manishearthbors-servo2016-05-156-7/+3
|\ \ | |/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Removed unused imports - [X] `./mach build -d` does not report any errors - [X] `./mach test-tidy` does not report any errors - [X] These changes fix #11185 - [X] These changes do not require tests because it only removes dead code. ---- This fixes #11185. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11192) <!-- Reviewable:end -->
| * Removed unused importsPer Lundberg2016-05-156-7/+3
| | | | | | | | This fixes #11185.
* | Rename SVGInherited to InheritedSVGAneesh Agrawal2016-05-142-2/+2
|/
* Remove unnecessary clone in LRUCache::touchMatt Brubeck2016-05-131-1/+1
|
* Support text-align in geckolib.Cameron McCormack2016-05-121-0/+7
| | | | | We don't yet support the 'unsafe' keyword, which isn't in a spec yet, and which would require slightly more complex parsing.
* Explicitly list inputs to the style crate's build scriptMatt Brubeck2016-05-112-0/+17
| | | | This avoids unncessary build script runs caused by changes to unrelated files.
* Support -moz-outline-radius shorthand in geckolib.Cameron McCormack2016-05-111-0/+17
|
* Allow shorthands to be restricted to specific products.Cameron McCormack2016-05-112-3/+10
|
* Support -moz-outline-radius-* in geckolib.Cameron McCormack2016-05-111-0/+7
|
* Auto merge of #11018 - bholley:list_style_type, r=mbrubeckbors-servo2016-05-051-5/+9
|\ | | | | | | | | | | | | | | | | | | | | Geckolib: Implement list-style-type Corresponding Gecko patch: https://bugzilla.mozilla.org/show_bug.cgi?id=1269933 <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11018) <!-- Reviewable:end -->
| * Geckolib: Implement list-style-type.Bobby Holley2016-05-041-5/+9
| |
* | Auto merge of #10999 - heycam:move-width-height, r=SimonSapinbors-servo2016-05-044-19/+19
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move width and height from Box to Position. This helps with style struct alignment between Servo and Gecko. <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10999) <!-- Reviewable:end -->
| * | Move width and height from Box to Position.Cameron McCormack2016-05-044-19/+19
| | | | | | | | | | | | This helps with style struct alignment between Servo and Gecko.
* | | Auto merge of #10998 - bholley:font_weight_and_logging, r=mbrubeckbors-servo2016-05-041-0/+1
|\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | Geckolib: implement font-weight and logging support <!-- Reviewable:start --> This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10998) <!-- Reviewable:end -->
| * | | Geckolib: Implement font-weight.Bobby Holley2016-05-031-0/+1
| |/ /
* | / layout: Check flow descendants of inline block fragments to find theirPatrick Walton2016-05-041-0/+15
| |/ |/| | | | | baselines when aligning inline fragments per CSS 2.1 § 10.8.1.
* | Auto merge of #10934 - emilio:other-gecko-pseudos, r=bholley,mbrubeckbors-servo2016-05-046-63/+134
|\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | style: Add infrastructure to support lazy pseudo-elements This builds on top of #10815, so it's really just the last commit the one that should be reviewed. I tried to apply the new infrastructure to servo, but failed (for now?). The problem with it is that it'd require `ThreadSafeLayoutElement` to implement `selectors::Element`, which is a lot of work and might be racy (not totally sure about it though). Thus, I prefered to keep selectors eager until knowing that it's safe to do it. r? @mbrubeck for style changes, @bholley for the geckolib changes (minimal for now, glue + a list of lazy PEs must be added) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10934) <!-- Reviewable:end -->
| * | docs: Add style overview.Emilio Cobos Álvarez2016-05-041-0/+2
| | |
| * | style: Minor documentation tweaks about lazy pseudo-elementsEmilio Cobos Álvarez2016-05-041-2/+5
| | |
| * | style: layout: Allow a lazy pseudo-element implementation in Servo.Emilio Cobos Álvarez2016-05-043-17/+12
| | |
| * | style: Support lazy pseudo-elementsEmilio Cobos Álvarez2016-05-034-56/+127
| |/ | | | | | | | | | | | | | | These can't be supported in Servo as of right now, because I'm not totally sure the accesses that should be done in layout would be thread-safe. It can be revisited later though.
* / Support {flood,lighting,stop,text-decoration}-color in geckolib.Cameron McCormack2016-05-043-0/+21
|/
* Auto merge of #10957 - heycam:number, r=bholleybors-servo2016-05-028-42/+98
|\ | | | | | | | | | | | | | | | | | | | | Support plain number-typed properties in geckolib r? @bholley <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10957) <!-- Reviewable:end -->
| * Support flex-{grow,shrink}, stroke-miterlimit and -moz-box-flex in geckolib.Cameron McCormack2016-05-033-0/+11
| |
| * Add a predefined Number type.Cameron McCormack2016-05-031-0/+38
| |
| * Support {fill,stroke,stop,flood}-opacity in geckolib.Cameron McCormack2016-05-032-0/+12
| |
| * Factor out opacity property to use an Opacity type.Cameron McCormack2016-05-032-40/+34
| |
| * Generate geckolib setters for properties with simple predefined types.Cameron McCormack2016-05-032-2/+3
| |