servo/components/style/gecko
bors-servo 50e4171958 Auto merge of #19747 - emilio:doc-state-invalidator, r=upsuper
style: Add a document state invalidator.

Don't use it yet (since I was working from a Servo tree). Will hook it up and improve in the Gecko bug.

Right now it takes a `StyleRuleCascadeData`, which means that if all the origins in the document have state selectors we could do just one walk over the tree and not multiple, that will be improved.

Other than that, this is completely untested of course, but I prefer to land it, given I don't think it's complex, and work on the Gecko integration separately. The reason for this is that I also plan to fix the `<slot>` bugs, which will change `StyleRuleCascadeData` and such, and I want the two bugs to conflict as little as possible.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/19747)
<!-- Reviewable:end -->
2018-01-12 05:09:04 -06:00
..
generated Adjust size of gecko ComputedValues struct for removal of separate lazy pseudo cache. 2018-01-11 10:15:35 -08:00
arc_types.rs stylo: Create ServoFontFeatureValuesRule and bind servo data 2017-07-27 13:38:00 -07:00
conversions.rs style: Move text-align outside of the mako file. 2017-12-18 11:58:06 -06:00
data.rs Add weighted telemetry probes for parallel restyles 2017-12-12 10:13:23 -06:00
global_style_data.rs Explicitly register rayon threads, rather than assuming that as the default. 2017-09-19 13:04:35 -07:00
media_queries.rs Update euclid, azure, skia, offscreen_gl_context, plane-split, webrender 2017-12-08 14:32:28 +01:00
mod.rs Backed out changeset fec394734f83 (bug 17624) for build bustage a=backout CLOSED TREE 2017-07-06 21:58:15 +00:00
non_ts_pseudo_class_list.rs style: Move :-moz-locale-dir matching to rust. 2018-01-11 14:47:29 +01:00
pseudo_element.rs style: Make all keywords CamelCase for consistency. 2017-12-06 02:35:10 +01:00
pseudo_element_definition.mako.rs Allow unused imports for AsciiExt in style code. 2017-11-09 12:43:23 +01:00
regen_atoms.py style: Remove some uses of unused unsafe. 2017-11-15 13:26:24 +01:00
restyle_damage.rs style: Remove quite useless StyleChange constructor. 2017-11-27 15:17:44 +01:00
rules.rs style: Make all keywords CamelCase for consistency. 2017-12-06 02:35:10 +01:00
selector_parser.rs style: Add a document state invalidator. 2018-01-12 12:08:42 +01:00
snapshot.rs style: Remove some uses of unused unsafe. 2017-11-15 13:26:24 +01:00
snapshot_helpers.rs style: Formatting nits in snapshot_helpers-related code. 2017-12-01 20:37:45 +01:00
traversal.rs Eliminate the sequential/traversal parallel distinction in favor of a unified adaptive driver. 2017-08-25 10:00:27 -07:00
url.rs Measure ImageValue objects (take 2). 2017-09-18 15:37:31 +10:00
values.rs style: Make css(dimension) apply to the variant. 2017-11-12 16:25:00 +01:00
wrapper.rs style: Use Default for ExtraStyleData instead of Option. 2018-01-12 12:08:47 +01:00