Update web-platform-tests to revision b'a0ddc451e02afbbe600c679fe1edab0e4f878ecf'

This commit is contained in:
WPT Sync Bot 2023-01-10 02:45:21 +00:00
parent 3e77cbed63
commit 5d42981cb2
134 changed files with 2469 additions and 2436 deletions

View file

@ -52,4 +52,28 @@
test(function() {
assert_equals(CSS.supports("selector(:has(:foo, div))"), false);
}, "selector() with forgiving :has, multiple args");
test(function() {
assert_equals(CSS.supports("selector(:nth-child(2n + 3 of :foo))"), false);
}, "selector() with unforgiving :nth-child, 1 arg");
test(function() {
assert_equals(CSS.supports("selector(:nth-last-child(2n + 3 of :foo))"), false);
}, "selector() with unforgiving :nth-last-child, 1 arg");
test(function() {
assert_equals(CSS.supports("selector(:nth-child(2n + 3 of :foo, div))"), false);
}, "selector() with unforgiving :nth-child, multiple args");
test(function() {
assert_equals(CSS.supports("selector(:nth-last-child(2n + 3 of :foo, div))"), false);
}, "selector() with unforgiving :nth-last-child, multiple args");
test(function() {
assert_equals(CSS.supports("selector(:nth-child(2n 4))"), false);
}, "selector() with a non-identifier after :nth-child's An+B index");
test(function() {
assert_equals(CSS.supports("selector(:nth-last-child(2n 4))"), false);
}, "selector() with a non-identifier after :nth-last-child's An+B index");
</script>