mirror of
https://github.com/servo/servo.git
synced 2025-08-03 20:50:07 +01:00
style: Temporarily force selector matching for style attribute restyles.
The test failures on try were because of this.
This commit is contained in:
parent
f48328edfe
commit
0b2c32a45a
1 changed files with 1 additions and 1 deletions
|
@ -203,7 +203,7 @@ impl From<RestyleHint> for StoredRestyleHint {
|
|||
use self::DescendantRestyleHint::*;
|
||||
debug_assert!(!hint.contains(RESTYLE_LATER_SIBLINGS), "Caller should apply sibling hints");
|
||||
StoredRestyleHint {
|
||||
restyle_self: hint.contains(RESTYLE_SELF),
|
||||
restyle_self: hint.contains(RESTYLE_SELF) || hint.contains(RESTYLE_STYLE_ATTRIBUTE),
|
||||
descendants: if hint.contains(RESTYLE_DESCENDANTS) { Descendants } else { Empty },
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue