mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
Bug 1364412: Properly handle state restyle hints for pseudo-elements. r=bholley
This commit is contained in:
parent
de680b06fe
commit
0bc185f1c2
4 changed files with 207 additions and 53 deletions
|
@ -24,7 +24,4 @@ fn smoke_restyle_hints() {
|
|||
let selector = (selectors.0).first().unwrap();
|
||||
dependencies.note_selector(selector);
|
||||
assert_eq!(dependencies.len(), 1);
|
||||
let dep = &dependencies.0.other[0];
|
||||
assert!(!dep.sensitivities.states.is_empty());
|
||||
assert!(dep.hint.contains(RESTYLE_LATER_SIBLINGS));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue