servo/components/script_layout_interface
J. Ryan Stinnett 2b5c56e6a8 Move match and cascade temporaries to CurrentElementInfo
Before this change, the `ComputedStyle` struct that is part of permanent style
data per element holds 2 `StrongRuleNode`s (unvisited and visited) and 2
`Arc<ComputedValues>` (unvisited and visited).

Both rule nodes and the visited values don't actually need to be here.  This
patch moves these 3 to new temporary storage in `CascadeInputs` on
`CurrentElementInfo` during the match and cascade process.  Rule nodes are
pushed down inside the `ComputedValues` for later access after the cascade.
(Visited values were already available there.)

The permanent style data per element now has just the `Arc<ComputedValues>` for
itself and eager pseudo-elements (plus the `RestyleHint`).

MozReview-Commit-ID: 3wq52ERMpdi
2017-06-22 15:47:32 -05:00
..
Cargo.toml Upgrade cssparser to 0.15 2017-06-16 15:05:46 +02:00
lib.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
message.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00
reporter.rs Bump serde to 1.0 2017-06-16 13:31:18 +02:00
rpc.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00
wrapper_traits.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00