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

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

Issue 2086283003: Update web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into wpt_import Created 4 years, 5 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
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <?xml-stylesheet href="support/style.css" type="text/css"?>
3 <?xml-stylesheet href="data:text/css,&#x41;&amp;&apos;" type="text/css"?>
4 <?xml-stylesheet href="data:text/css,&#65;&amp;&apos;" type="text/css"?>
5 <html xmlns="http://www.w3.org/1999/xhtml">
6 <head>
7 <title>ProcessingInstruction numeric escapes</title>
8 <link rel="help" href="https://dom.spec.whatwg.org/#dom-processinginstruction-ta rget"/>
9 <link rel="help" href="https://dom.spec.whatwg.org/#dom-characterdata-data"/>
10 <script src="/resources/testharness.js"></script>
11 <script src="/resources/testharnessreport.js"></script>
12 </head>
13 <body>
14 <div id="log"/>
15 <script>
16 <![CDATA[
17 test(function() {
18 var pienc = document.firstChild.nextSibling;
19 assert_true(pienc instanceof ProcessingInstruction)
20 assert_equals(pienc.target, "xml-stylesheet")
21 assert_equals(pienc.data, 'href="data:text/css,&#x41;&amp;&apos;" type="text/c ss"')
22 assert_equals(pienc.sheet.href, "data:text/css,A&'");
23
24 pienc = pienc.nextSibling;
25 assert_true(pienc instanceof ProcessingInstruction)
26 assert_equals(pienc.target, "xml-stylesheet")
27 assert_equals(pienc.data, 'href="data:text/css,&#65;&amp;&apos;" type="text/cs s"')
28 assert_equals(pienc.sheet.href, "data:text/css,A&'");
29 })
30 ]]>
31 </script>
32 </body>
33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698