wpt icon indicating copy to clipboard operation
wpt copied to clipboard

@container rules should support not without parentheses

Open devongovett opened this issue 3 years ago • 1 comments

See https://github.com/w3c/csswg-drafts/issues/7203#issuecomment-1183737711

The grammar in the spec requires that not be treated as part of the container condition rather than as part of the name, and parentheses are not required. This updates one previous test that was incorrect, and adds a new one. A new helper was necessary because test_query_valid also adds a second rule with more complex logic that wouldn't work in this case.

devongovett avatar Jul 14 '22 17:07 devongovett

cc @andruud

yisibl avatar Aug 01 '22 12:08 yisibl