mirror of
https://github.com/servo/servo.git
synced 2025-06-26 18:14:34 +01:00
Update web-platform-tests to revision 3bfdeb8976fc51748935c8d1f1014dfba8e08dfb
This commit is contained in:
parent
fcd6beb608
commit
cb63cfd5c7
185 changed files with 3083 additions and 1074 deletions
|
@ -0,0 +1,16 @@
|
|||
<!doctype html>
|
||||
<title>noscript rules don't apply to non-html elements</title>
|
||||
<link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#the-noscript-element">
|
||||
<link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1470150">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<body>
|
||||
<script>
|
||||
test(function() {
|
||||
let non_html_noscript = document.createElementNS("http://www.w3.org/2000/svg", "noscript");
|
||||
document.body.appendChild(non_html_noscript);
|
||||
assert_not_equals(getComputedStyle(non_html_noscript).display, "none");
|
||||
}, "Non-HTML <noscript> element shouldn't be undisplayed by a UA rule");
|
||||
</script>
|
||||
</body>
|
Loading…
Add table
Add a link
Reference in a new issue