mirror of
https://github.com/servo/servo.git
synced 2025-08-16 10:55:34 +01:00
Extend semantics/interfaces.html.
This commit is contained in:
parent
474a4a5dcb
commit
173c9721c5
5 changed files with 48 additions and 28 deletions
|
@ -83,12 +83,6 @@
|
|||
"url": "/_mozilla/mozilla/collections.html"
|
||||
}
|
||||
],
|
||||
"mozilla/create_element.html": [
|
||||
{
|
||||
"path": "mozilla/create_element.html",
|
||||
"url": "/_mozilla/mozilla/create_element.html"
|
||||
}
|
||||
],
|
||||
"mozilla/documentElement.html": [
|
||||
{
|
||||
"path": "mozilla/documentElement.html",
|
||||
|
|
|
@ -1,21 +0,0 @@
|
|||
<html>
|
||||
<head>
|
||||
<title></title>
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test(function() {
|
||||
var elem = document.createElement("foo");
|
||||
assert_equals(elem.tagName, "FOO");
|
||||
var elem = document.createElement("p");
|
||||
assert_true(elem instanceof HTMLParagraphElement, "Should be HTMLParagraphElement");
|
||||
var elem = document.createElement("sPAn");
|
||||
assert_true(elem instanceof HTMLSpanElement, "Should be HTMLSpanElement");
|
||||
var text = document.createTextNode("hello");
|
||||
assert_true(text instanceof Text, "Should be Text");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue