gecko-dev/servo/components/style
Jeremy Chen 0eb03b9f09 servo: Merge #16522 - Reset longhands of border-image to their initial value while parsing border shorthand (from chenpighead:stylo-border-reset-border-image); r=heycam
To do so, we need to declare the border-image longhands as part of border
shorthand and always reset them.

Spec link: https://drafts.csswg.org/css-backgrounds-3/#the-border-shorthands

<!-- Please describe your changes on the following line: -->

---
<!-- 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` does not report any errors
- [X] These changes fix #15202  (github issue number if applicable).

<!-- Either: -->
- [ ] There are tests for these changes OR
- [ ] These changes do not require tests because _____

<!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.-->

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: 33c6abb1a8a908e848e5aab77bd9c2a94647b74c

--HG--
extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear
extra : subtree_revision : 1ef3fda7f36de3b9e83c3f1506d06d27e0cd3b87
2017-04-23 02:51:47 -05:00
..
binding_tools servo: Merge #16168 - Update Gecko atom bindings for Gecko bug 1351139 (from bzbarsky:update-atoms); r=Manishearth 2017-03-28 21:52:36 -05:00
gecko servo: Merge #16553 - Support vendor prefix keyframes rule (from hiikezoe:vendor-prefix-keyframes); r=emilio 2017-04-21 00:17:06 -05:00
gecko_bindings servo: Merge #16550 - switch gecko_bindings over to the gecko_debug feature [DO NOT MERGE] (from froydnj:gecko-bindings-gecko-debug); r=froydnj 2017-04-22 18:40:47 -05:00
gecko_string_cache servo: Merge #16564 - stylo: Support system fonts (from Manishearth:stylo-sys-2); r=xidorn 2017-04-21 17:03:28 -05:00
properties servo: Merge #16522 - Reset longhands of border-image to their initial value while parsing border shorthand (from chenpighead:stylo-border-reset-border-image); r=heycam 2017-04-23 02:51:47 -05:00
rule_tree servo: Merge #15562 - style: Tweak rule tree memory ordering (from emilio:rule-mem-order); r=bholley 2017-04-03 15:15:49 -05:00
servo servo: Merge #16421 - Font variant shorthand (from hiikezoe:font-variant-shorthand); r=heycam 2017-04-13 20:48:14 -05:00
values servo: Merge #16548 - Improve parsing of gradients (from nox:webkit-gradients); r=emilio 2017-04-21 14:40:02 -05:00
animation.rs servo: Merge #16527 - stylo: Bug 1353628 - Support shorthand properties for CSS Transition (from BorisChiou:stylo/transition/shorthands); r=emilio 2017-04-19 07:35:09 -05:00
attr.rs servo: Merge #16495 - Make tidy check that opening and closing braces that begin a line do … (from coalman:tidy-brace-alignment); r=emilio 2017-04-19 03:06:31 -05:00
bezier.rs servo: Merge #14821 - More docs in style (from servo:docs-in-style); r=emilio 2017-01-02 02:08:01 -08:00
bloom.rs servo: Merge #16312 - Make the sequential traversal breadth-first (from bholley:breadth_first_sequential); r=emilio 2017-04-09 01:55:09 -05:00
build_gecko.rs servo: Merge #16454 - Stylo: SVG length parsing mode (from jryans:svg-parse-unitless); r=emilio 2017-04-14 04:49:29 -05:00
build.rs servo: Merge #16022 - stylo: Add a build log mechanism (from emilio:stylo-build-log); r=upsuper 2017-03-18 06:45:01 -07:00
cache.rs servo: Merge #16432 - Coalesce duplicate selector flags and improve LRUCache (from bholley:faster_selector_flags); r=bholley 2017-04-13 08:56:03 -05:00
Cargo.toml servo: Merge #16550 - switch gecko_bindings over to the gecko_debug feature [DO NOT MERGE] (from froydnj:gecko-bindings-gecko-debug); r=froydnj 2017-04-22 18:40:47 -05:00
cascade_info.rs servo: Merge #14802 - Document more style modules (from emilio:no-missing-docs); r=Wafflespeanut 2016-12-31 15:34:51 -08:00
context.rs servo: Merge #16496 - stylo: Bug 1341372 - Detect new transitions and let it run (from BorisChiou:stylo/transition/trigger); r=heycam 2017-04-17 05:07:23 -05:00
custom_properties.rs servo: Merge #15997 - Rearrange PropertyDeclaration to avoid embedding DeclaredValue (from bholley:rearrange_propdecl); r=mbrubeck 2017-03-16 14:48:53 -07:00
data.rs servo: Merge #16496 - stylo: Bug 1341372 - Detect new transitions and let it run (from BorisChiou:stylo/transition/trigger); r=heycam 2017-04-17 05:07:23 -05:00
dom.rs servo: Merge #16496 - stylo: Bug 1341372 - Detect new transitions and let it run (from BorisChiou:stylo/transition/trigger); r=heycam 2017-04-17 05:07:23 -05:00
element_state.rs servo: Merge #16177 - Bug 1350140: stylo: Implement all the remaining state pseudo-classes (from emilio:stylo-pseudo-classes); r=heycam,jdm 2017-03-29 08:48:12 -05:00
encoding_support.rs servo: Merge #16394 - Support line number offsets for inline stylesheets (from mckaymatt:line_num_offset__issue_15693); r=SimonSapin 2017-04-13 20:12:08 -05:00
error_reporting.rs servo: Merge #16394 - Support line number offsets for inline stylesheets (from mckaymatt:line_num_offset__issue_15693); r=SimonSapin 2017-04-13 20:12:08 -05:00
font_face.rs servo: Merge #16224 - Make the parser accept @font-face rules without font-family or src (from servo:valid-fontface); r=upsuper 2017-04-03 03:53:09 -05:00
font_metrics.rs servo: Merge #16333 - stylo: support font metrics (from Manishearth:stylo-metrics); r=heycam 2017-04-10 01:35:18 -05:00
keyframes.rs servo: Merge #16553 - Support vendor prefix keyframes rule (from hiikezoe:vendor-prefix-keyframes); r=emilio 2017-04-21 00:17:06 -05:00
lib.rs servo: Merge #16516 - stylo: Centralize stylesheet handling (from emilio:stylesheet-handling); r=bholley 2017-04-19 03:41:08 -05:00
logical_geometry.rs servo: Merge #16488 - style: add Gecko-only support for sideways-{lr,rl} and deprecated SVG 1.1 writing-mode values (from heycam:wm); r=Manishearth 2017-04-16 20:26:18 -05:00
matching.rs servo: Merge #16549 - store simple selectors and combinators inline (from bholley:inline_selectors); r=emilio 2017-04-20 17:05:31 -05:00
media_queries.rs servo: Merge #16378 - stylo: A bunch of media query fixes (from emilio:media-fixes); r=upsuper 2017-04-12 10:00:26 -05:00
parallel.rs servo: Merge #16379 - Limit traversal statistics dumps to subtrees of 50 or more elements and add more values (from bholley:quieter_stats); r=SimonSapin 2017-04-13 01:44:12 -05:00
parser.rs servo: Merge #16454 - Stylo: SVG length parsing mode (from jryans:svg-parse-unitless); r=emilio 2017-04-14 04:49:29 -05:00
README.md servo: Merge #10934 - style: Add infrastructure to support lazy pseudo-elements (from emilio:other-gecko-pseudos); r=bholley,mbrubeck 2016-05-04 03:42:23 -07:00
restyle_hints.rs servo: Merge #16549 - store simple selectors and combinators inline (from bholley:inline_selectors); r=emilio 2017-04-20 17:05:31 -05:00
scoped_tls.rs servo: Merge #15119 - Add style performance statistics to Servo (from bholley:traversal_stats); r=emilio 2017-01-19 15:27:34 -08:00
selector_parser.rs servo: Merge #16293 - style: Refactor the selectors crate to remove ad-hoc logic (from emilio:refactor-selectors); r=bholley 2017-04-09 05:17:55 -05:00
sequential.rs servo: Merge #16379 - Limit traversal statistics dumps to subtrees of 50 or more elements and add more values (from bholley:quieter_stats); r=SimonSapin 2017-04-13 01:44:12 -05:00
shared_lock.rs servo: Merge #16053 - Use AtomicRefCell instead of RwLock inside SharedRwLock for stylo (from bholley:shared_lock_atomic_refcell); r=bholley 2017-03-20 17:00:31 -07:00
sink.rs servo: Merge #14819 - Document most of the remaining parts of the style system, make docs-by-default for the whole style system (from emilio:no-missing-docs); r=Manishearth 2017-01-02 04:10:56 -08:00
str.rs servo: Merge #16553 - Support vendor prefix keyframes rule (from hiikezoe:vendor-prefix-keyframes); r=emilio 2017-04-21 00:17:06 -05:00
stylesheet_set.rs servo: Merge #16516 - stylo: Centralize stylesheet handling (from emilio:stylesheet-handling); r=bholley 2017-04-19 03:41:08 -05:00
stylesheets.rs servo: Merge #16557 - Servo does not need to support -moz-keyframes (from hiikezoe:dont-support-moz-keyframes); r=SimonSapin 2017-04-21 05:14:50 -05:00
stylist.rs servo: Merge #16567 - Avoid pointer-chasing to check whether there are any declarations (from bholley:any_declarations); r=SimonSapin 2017-04-21 19:30:48 -05:00
supports.rs servo: Merge #16373 - Stylo: Disable viewport units for @page (from jryans:at-page-viewport-units); r=emilio 2017-04-12 05:38:50 -05:00
thread_state.rs servo: Merge #14896 - Tidy assignments (from g1smo:tidy-assignments); r=jdm 2017-01-07 09:40:46 -08:00
timer.rs servo: Merge #14801 - style: Document and force documentation in a big chunk of the style crate (from emilio:no-missing-docs); r=mbrubeck,Manishearth,Wafflespeanut 2016-12-31 03:19:02 -08:00
traversal.rs servo: Merge #16450 - stylo: Support keyword-valued media queries (from emilio:keyword-media-queries); r=heycam 2017-04-13 23:09:34 -05:00
viewport.rs servo: Merge #16373 - Stylo: Disable viewport units for @page (from jryans:at-page-viewport-units); r=emilio 2017-04-12 05:38:50 -05:00

servo-style

Style system for Servo, using rust-cssparser for parsing.