mirror of
https://github.com/servo/servo.git
synced 2025-08-24 22:58:21 +01:00
Fix supports rule parsing issues with <any-value>
This commit is contained in:
parent
7d95fb8e49
commit
5eb0613947
2 changed files with 18 additions and 25 deletions
|
@ -11,4 +11,6 @@ fn test_supports_condition() {
|
|||
assert_roundtrip!(SupportsCondition::parse, "(margin: 1px)");
|
||||
assert_roundtrip!(SupportsCondition::parse, "not (--be: to be)");
|
||||
assert_roundtrip!(SupportsCondition::parse, "(color: blue) and future-extension(4)");
|
||||
assert_roundtrip!(SupportsCondition::parse, "future-\\1 extension(4)");
|
||||
assert_roundtrip!(SupportsCondition::parse, "((test))");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue