blob: c35e710f9cc81217e6fdddf4ea5b9ee3b5160d3a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
<!DOCTYPE html [<?x y?>]><html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>XML: Processing instruction in doctype internal subset</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<script>
test(() => {
assert_equals(document.documentElement.previousSibling, document.firstChild);
assert_equals(document.firstChild.nodeType, Node.DOCUMENT_TYPE_NODE);
});
</script>
</body>
</html>
|