mirror of
https://github.com/servo/servo.git
synced 2025-08-08 06:55:31 +01:00
Bug 1391169 Part 1: Servo-side change Selector to_css function to handle combinators in between universal selectors.
MozReview-Commit-ID: EyVrSAICPm
This commit is contained in:
parent
15c57e8d54
commit
51f3a16e19
2 changed files with 18 additions and 12 deletions
|
@ -25,4 +25,6 @@ fn test_selectors() {
|
|||
assert_roundtrip!(parse_selector, "svg|circle");
|
||||
assert_roundtrip!(parse_selector, "p:before", "p::before");
|
||||
assert_roundtrip!(parse_selector, "[border=\"0\"]:-servo-nonzero-border ~ ::-servo-details-summary");
|
||||
assert_roundtrip!(parse_selector, "* > *");
|
||||
assert_roundtrip!(parse_selector, "*|* + *", "* + *");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue