mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'a0ddc451e02afbbe600c679fe1edab0e4f878ecf'
This commit is contained in:
parent
3e77cbed63
commit
5d42981cb2
134 changed files with 2469 additions and 2436 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue