mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Change foo-á to fooá
These tests assumed that foo-á would create a HTMLUnknownElement; however, foo-á is a valid custom element name; therefore, according to the spec, a HTMLElement instace is created instead. I changed the name to fooá so a HTMLUnknownElement is created as the test expects.
This commit is contained in:
parent
9f51c7df21
commit
aa9b9c10f3
3 changed files with 7 additions and 7 deletions
|
@ -26534,7 +26534,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"mozilla/collections.html": [
|
||||
"f1029d519aa7017a1a3d18a891a0774b9a39f847",
|
||||
"aa060d1e5d1364224f2c2151e5f8b9580ac4427e",
|
||||
"testharness"
|
||||
],
|
||||
"mozilla/createEvent-storageevent.html": [
|
||||
|
@ -27534,7 +27534,7 @@
|
|||
"testharness"
|
||||
],
|
||||
"mozilla/prototypes.html": [
|
||||
"bb4824ae242ed89485a272f6ef74631d6fea62be",
|
||||
"e19d75682a83f4d2de1cbdf053aadfda181d6725",
|
||||
"testharness"
|
||||
],
|
||||
"mozilla/proxy_setter.html": [
|
||||
|
|
|
@ -63,7 +63,7 @@
|
|||
<track></track>
|
||||
</video>
|
||||
|
||||
<foo-á>hi</foo-á>
|
||||
<fooá>hi</fooá>
|
||||
|
||||
<script>
|
||||
test(function() {
|
||||
|
@ -142,7 +142,7 @@ test(function() {
|
|||
|
||||
// Test non-ASCII tag names. Uppercasing is ASCII-only per spec:
|
||||
// http://dom.spec.whatwg.org/#dom-element-tagname
|
||||
check_tag("foo-á", 1, [HTMLUnknownElement], "FOO-á");
|
||||
check_tag("fooá", 1, [HTMLUnknownElement], "FOOá");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
<script src="/resources/testharnessreport.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<foo-á>foo</foo-á>
|
||||
<fooá>foo</fooá>
|
||||
<script>
|
||||
test(function() {
|
||||
assert_true(window.document instanceof Node, "Should be Node");
|
||||
|
@ -18,8 +18,8 @@ test(function() {
|
|||
assert_true(window.document.documentElement instanceof HTMLHtmlElement, "Should be HTMLHtmlElement");
|
||||
assert_true(window.document instanceof Document, "Should be Document");
|
||||
assert_equals(window.document.documentElement.tagName, "HTML");
|
||||
assert_true(window.document.getElementsByTagName('foo-á')[0] instanceof HTMLUnknownElement, "Should be HTMLUnknownElement");
|
||||
assert_equals(window.document.getElementsByTagName('foo-á')[0].tagName, "FOO-á");
|
||||
assert_true(window.document.getElementsByTagName('fooá')[0] instanceof HTMLUnknownElement, "Should be HTMLUnknownElement");
|
||||
assert_equals(window.document.getElementsByTagName('fooá')[0].tagName, "FOOá");
|
||||
});
|
||||
</script>
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue