mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
style: Require an nth-index cache for invalidation.
This commit is contained in:
parent
dbe3136a05
commit
02ad6d3d90
4 changed files with 15 additions and 15 deletions
|
@ -239,7 +239,7 @@ impl ElementData {
|
|||
element: E,
|
||||
shared_context: &SharedStyleContext,
|
||||
stack_limit_checker: Option<&StackLimitChecker>,
|
||||
nth_index_cache: Option<&mut NthIndexCache>,
|
||||
nth_index_cache: &mut NthIndexCache,
|
||||
) -> InvalidationResult {
|
||||
// In animation-only restyle we shouldn't touch snapshot at all.
|
||||
if shared_context.traversal_flags.for_animation_only() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue