mirror of
https://github.com/servo/servo.git
synced 2025-06-28 11:03:39 +01:00
I realized that I fixed this issue incorrectly when the test failed before. Our design document specifies that restyle hints must be expanded by the parent before traversing children, so that we can properly apply LaterSiblings restyle hints. This includes parents that do not themselves need processing (StylingMode::Traverse). So we need to preprocess children even in the case where we don't restyle the parent. On the flip side, we do in fact know whether a child needs processing before enqueuing it, so we can skip the conservative visit I added before. MozReview-Commit-ID: AEiRzdsN0h5 |
||
---|---|---|
.. | ||
generated | ||
context.rs | ||
conversions.rs | ||
data.rs | ||
mod.rs | ||
restyle_damage.rs | ||
selector_parser.rs | ||
snapshot.rs | ||
snapshot_helpers.rs | ||
traversal.rs | ||
values.rs | ||
wrapper.rs |