mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-24 21:31:04 +00:00
Bug 1804569 [wpt PR 37391] - Make :has() unforgiving, a=testonly
Automatic update from web-platform-tests Make :has() unforgiving (#37391) -- wpt-commits: 41ee6a14369e2aaa0f7283138449051e2b5e7725 wpt-pr: 37391
This commit is contained in:
parent
53ed7588cd
commit
549758033a
@ -30,8 +30,12 @@
|
||||
test_valid_selector('.a:has(.b):has(.c)');
|
||||
test_valid_selector('*|*:has(*)', ':has(*)');
|
||||
test_valid_selector(':has(*|*)', ':has(*)');
|
||||
test_valid_selector('.a:has()', '.a:has()');
|
||||
test_invalid_selector(':has');
|
||||
test_invalid_selector('.a:has');
|
||||
test_invalid_selector('.a:has b');
|
||||
/* :has() is unforgiving, but :is() can still forgive */
|
||||
test_invalid_selector(':has()');
|
||||
test_invalid_selector(':has(123)');
|
||||
test_invalid_selector(':has(.a, 123)');
|
||||
test_valid_selector(':has(:is(.a, 123))', ':has(:is(.a))');
|
||||
</script>
|
||||
|
Loading…
Reference in New Issue
Block a user