Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(135)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/dom/nodes/ProcessingInstruction-literal-2.xhtml

Issue 1988983002: Move the dom directory from web-platform-tests/ to wpt/. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698