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:
Brad Werth 2017-08-25 13:53:23 -07:00 committed by Brad Werth
parent 15c57e8d54
commit 51f3a16e19
2 changed files with 18 additions and 12 deletions

View file

@ -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, "*|* + *", "* + *");
}