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

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

Issue 1529523002: Import dom/ from web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tweak W3CImportExpectations Created 5 years 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
(Empty)
1 <?xml-stylesheet href="support/style.css" type="text/css"?>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>ProcessingInstruction literals</title>
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"/>
7 <script src="../../../../resources/testharness.js"></script>
8 <script src="../../../../resources/testharnessreport.js"></script>
9 </head>
10 <body>
11 <div id="log"/>
12 <script>
13 test(function() {
14 var pienc = document.firstChild;
15 assert_true(pienc instanceof ProcessingInstruction)
16 assert_equals(pienc.target, "xml-stylesheet")
17 assert_equals(pienc.data, 'href="support/style.css" type="text/css"')
18 })
19 </script>
20 </body>
21 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698