diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2018-01-12 05:09:04 -0600 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-12 05:09:04 -0600 |
commit | 50e4171958d4ff7f1c76d133a8f89e7d5995376f (patch) | |
tree | e1417b81f4bcd96503d60041b1458f54709a7201 /components/servo_arc/lib.rs | |
parent | 005dc85a888b1c73a849bb7b4e2f7d9d22321909 (diff) | |
parent | 335ca47361dc6837f8ef72fb3f738b1c1005499b (diff) | |
download | servo-50e4171958d4ff7f1c76d133a8f89e7d5995376f.tar.gz servo-50e4171958d4ff7f1c76d133a8f89e7d5995376f.zip |
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 -->
Diffstat (limited to 'components/servo_arc/lib.rs')
0 files changed, 0 insertions, 0 deletions