forked from mirrors/gecko-dev
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. Source-Repo: https://github.com/servo/servo Source-Revision: 50e4171958d4ff7f1c76d133a8f89e7d5995376f --HG-- extra : subtree_source : https%3A//hg.mozilla.org/projects/converted-servo-linear extra : subtree_revision : 4f1c7698b9912d4782d744a4dbd9e80afa7fe0cf
12 lines
426 B
Rust
12 lines
426 B
Rust
/* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
|
|
|
//! Invalidation of element styles due to attribute or style changes.
|
|
|
|
pub mod document_state;
|
|
pub mod element_wrapper;
|
|
pub mod invalidation_map;
|
|
pub mod invalidator;
|
|
pub mod restyle_hints;
|
|
pub mod state_and_attributes;
|