mirror of
https://github.com/servo/servo.git
synced 2025-09-16 09:58:23 +01:00
style: Reftest for bogus style sharing across cousins.
This commit is contained in:
parent
e09ae428eb
commit
f879140ad2
4 changed files with 47 additions and 1 deletions
|
@ -113,7 +113,7 @@ fn test_revalidation_selectors() {
|
|||
"p:first-child span",
|
||||
]).into_iter()
|
||||
.filter(|s| needs_revalidation(&s))
|
||||
.map(|s| s.inner.slice_to_first_ancestor_combinator().complex)
|
||||
.map(|s| s.inner.complex)
|
||||
.collect::<Vec<_>>();
|
||||
|
||||
let reference = parse_selectors(&[
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue