servo: Merge #5685 - Introduce a Servo-only tree under web-platform-tests (from Ms2ger:wpt-servo); r=jdm

Source-Repo: https://github.com/servo/servo
Source-Revision: 0941f46162f53adc1f8796d73aef5d62df80c2e1
This commit is contained in:
Ms2ger 2015-04-14 08:51:35 -05:00
Родитель 6e30f9912d
Коммит 6a230d7dcc
1 изменённых файлов: 0 добавлений и 25 удалений

Просмотреть файл

@ -1,25 +0,0 @@
<html>
<head>
<meta charset="utf-8">
<script src="harness.js"></script>
</head>
<body onload="test()">
<foo-á>foo</foo-á>
<script>
function test() {
is_a(window.document, Node);
gc(); // ensure that our document rooting works; subsequent accesses should be valid.
is_a(window.document, Node);
is(window.document.nodeType, Node.DOCUMENT_NODE);
is_a(window.document.documentElement, Node);
is_a(window.document.documentElement, Element);
is_a(window.document.documentElement, HTMLElement);
is_a(window.document.documentElement, HTMLHtmlElement);
is_a(window.document, Document);
is(window.document.documentElement.tagName, "HTML");
is_a(window.document.getElementsByTagName('foo-á')[0], HTMLUnknownElement);
is(window.document.getElementsByTagName('foo-á')[0].tagName, "FOO-á");
}
</script>
</body>
</html>