mirror of
https://github.com/servo/servo.git
synced 2025-08-26 07:38:21 +01:00
Update web-platform-tests to revision 4a5223502fa660ce03e470af6a61c8bc26c5a8ee
This commit is contained in:
parent
c5f7c9ccf3
commit
e891345f26
1328 changed files with 36632 additions and 20588 deletions
|
@ -109,4 +109,9 @@ test(function() {
|
|||
"display: contents in " + pseudo + " should reflect other non-inherited properties in CSSOM");
|
||||
});
|
||||
}, "display: contents on pseudo-elements");
|
||||
test(function() {
|
||||
var div = document.getElementById('test');
|
||||
assert_throws(new TypeError(), () => getComputedStyle(div, "totallynotapseudo"),
|
||||
"getComputedStyle with an unknown pseudo-element throws");
|
||||
}, "Unknown pseudo-elements throw");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue