mirror of
https://github.com/servo/servo.git
synced 2025-08-11 16:35:33 +01:00
Sort the cached class list in ValidationInfo.
MozReview-Commit-ID: 3vsfP5ECzds
This commit is contained in:
parent
c018340a13
commit
6d8455a916
2 changed files with 11 additions and 2 deletions
|
@ -966,7 +966,9 @@ impl Stylist {
|
|||
assert_eq!(declaration.level, CascadeLevel::PresHints);
|
||||
}
|
||||
}
|
||||
// Never share style for elements with preshints
|
||||
// Note the existence of presentational attributes so that the
|
||||
// style sharing cache can avoid re-querying them if they don't
|
||||
// exist.
|
||||
context.relations |= AFFECTED_BY_PRESENTATIONAL_HINTS;
|
||||
}
|
||||
debug!("preshints: {:?}", context.relations);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue