Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<?xml-stylesheet href="support/style.css" type="text/css"?>
<head>
<title>ProcessingInstruction literals</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
</head>
<body>
<div id="log"/>
<script>
test(function() {
var pienc = document.firstChild;
assert_true(pienc instanceof ProcessingInstruction)
assert_equals(pienc.target, "xml-stylesheet")
assert_equals(pienc.data, 'href="support/style.css" type="text/css"')
})
</script>
</body>
</html>