mirror of
https://github.com/servo/servo.git
synced 2025-06-21 15:49:04 +01:00
Extend semantics/interfaces.html.
This commit is contained in:
parent
474a4a5dcb
commit
173c9721c5
5 changed files with 48 additions and 28 deletions
|
@ -45,3 +45,48 @@
|
||||||
[Interfaces for command]
|
[Interfaces for command]
|
||||||
expected: FAIL
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for BGSOUND]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for BLOCKQUOTE]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for ISINDEX]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for KEYGEN]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for LISTING]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for MARQUEE]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for MENU]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for NOEMBED]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for PLAINTEXT]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for SPACER]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for TFOOT]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for THEAD]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for XMP]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for DETAILS]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
[Interfaces for COMMAND]
|
||||||
|
expected: FAIL
|
||||||
|
|
||||||
|
|
|
@ -83,12 +83,6 @@
|
||||||
"url": "/_mozilla/mozilla/collections.html"
|
"url": "/_mozilla/mozilla/collections.html"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"mozilla/create_element.html": [
|
|
||||||
{
|
|
||||||
"path": "mozilla/create_element.html",
|
|
||||||
"url": "/_mozilla/mozilla/create_element.html"
|
|
||||||
}
|
|
||||||
],
|
|
||||||
"mozilla/documentElement.html": [
|
"mozilla/documentElement.html": [
|
||||||
{
|
{
|
||||||
"path": "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>
|
|
|
@ -28,5 +28,6 @@ function do_test(local_name, iface) {
|
||||||
|
|
||||||
elements.forEach(function(a) {
|
elements.forEach(function(a) {
|
||||||
do_test(a[0], a[1]);
|
do_test(a[0], a[1]);
|
||||||
|
do_test(a[0].toUpperCase(), a[1]);
|
||||||
})
|
})
|
||||||
</script>
|
</script>
|
||||||
|
|
|
@ -134,5 +134,6 @@ var elements = [
|
||||||
["dialog", "Dialog"],
|
["dialog", "Dialog"],
|
||||||
["figcaption", ""],
|
["figcaption", ""],
|
||||||
["summary", ""],
|
["summary", ""],
|
||||||
["track", "Track"]
|
["track", "Track"],
|
||||||
|
["foo", "Unknown"]
|
||||||
];
|
];
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue