| OLD | NEW |
| 1 <?xml-stylesheet href="support/style.css" type="text/css"?> | 1 <?xml-stylesheet href="support/style.css" type="text/css"?> |
| 2 <html xmlns="http://www.w3.org/1999/xhtml"> | 2 <html xmlns="http://www.w3.org/1999/xhtml"> |
| 3 <head> | 3 <head> |
| 4 <title>ProcessingInstruction literals</title> | 4 <title>ProcessingInstruction literals</title> |
| 5 <link rel="help" href="https://dom.spec.whatwg.org/#dom-processinginstruction-ta
rget"/> | 5 <link rel="help" href="https://dom.spec.whatwg.org/#dom-processinginstruction-ta
rget"/> |
| 6 <link rel="help" href="https://dom.spec.whatwg.org/#dom-characterdata-data"/> | 6 <link rel="help" href="https://dom.spec.whatwg.org/#dom-characterdata-data"/> |
| 7 <script src="../../../../resources/testharness.js"></script> | 7 <script src="/resources/testharness.js"></script> |
| 8 <script src="../../../../resources/testharnessreport.js"></script> | 8 <script src="/resources/testharnessreport.js"></script> |
| 9 </head> | 9 </head> |
| 10 <body> | 10 <body> |
| 11 <div id="log"/> | 11 <div id="log"/> |
| 12 <script> | 12 <script> |
| 13 test(function() { | 13 test(function() { |
| 14 var pienc = document.firstChild; | 14 var pienc = document.firstChild; |
| 15 assert_true(pienc instanceof ProcessingInstruction) | 15 assert_true(pienc instanceof ProcessingInstruction) |
| 16 assert_equals(pienc.target, "xml-stylesheet") | 16 assert_equals(pienc.target, "xml-stylesheet") |
| 17 assert_equals(pienc.data, 'href="support/style.css" type="text/css"') | 17 assert_equals(pienc.data, 'href="support/style.css" type="text/css"') |
| 18 }) | 18 }) |
| 19 </script> | 19 </script> |
| 20 </body> | 20 </body> |
| 21 </html> | 21 </html> |
| OLD | NEW |