mirror of
https://github.com/servo/servo.git
synced 2025-08-09 07:25:35 +01:00
Update web-platform-tests to revision 0d318188757a9c996e20b82db201fd04de5aa255
This commit is contained in:
parent
b2a5225831
commit
1a81b18b9f
12321 changed files with 544385 additions and 6 deletions
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<title>HTMLUnknownElement</title>
|
||||
<link rel="author" title="Ms2ger" href="mailto:ms2ger@gmail.com">
|
||||
<link rel="help" href="https://html.spec.whatwg.org/multipage/#htmlunknownelement">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<div id="log"></div>
|
||||
<script>
|
||||
test(function() {
|
||||
var elt = document.createElement("xxx");
|
||||
assert_true(window.HTMLUnknownElement && elt instanceof HTMLUnknownElement,
|
||||
"not an instance of HTMLUnknownElement");
|
||||
assert_true(window.HTMLSpanElement && !(elt instanceof HTMLSpanElement),
|
||||
"an instance of HTMLSpanElement");
|
||||
});
|
||||
</script>
|
Loading…
Add table
Add a link
Reference in a new issue