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

Side by Side Diff: LayoutTests/fast/dom/dom-parse-serialize-expected.txt

Issue 117103003: DOM serialization: fix quoting of < and > in HMTL attribute values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: < and > are un-quoted in HTML, quoted in XML. Created 6 years, 11 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
« no previous file with comments | « LayoutTests/fast/dom/dom-parse-serialize.html ('k') | Source/core/editing/MarkupAccumulator.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 DOMParser/XMLSerializer test 1 DOMParser/XMLSerializer test
2 2
3 The "text to parse" and "document object serialized" boxes should show the same text, and it should be an XML document, not "@@No result@@". 3 The "text to parse" and "document object serialized" boxes should show the same text, and it should be an XML document, not "@@No result@@".
4 text to parse 4 text to parse
5 5
6 <?xml version="1.0"?> 6 <?xml version="1.0"?>
7 <!DOCTYPE doc [ 7 <!DOCTYPE doc [
8 <!ATTLIST d id ID #IMPLIED> 8 <!ATTLIST d id ID #IMPLIED>
9 ]> 9 ]>
10 <doc> 10 <doc>
11 <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar> 11 <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar>
12 <d id="id3">Three</d> 12 <d id="id3">Three</d>
13 <f id="&amp;&lt;&gt;">Four&amp;&lt;&gt;</f><empty/><empty></empty></doc> 13 <f id="&amp;&lt;&gt;>">Four&amp;&lt;&gt;</f><empty/><empty></empty></doc>
14 14
15 document object 15 document object
16 16
17 [object Document] 17 [object Document]
18 18
19 document object serialized 19 document object serialized
20 20
21 <?xml version="1.0"?><!DOCTYPE doc><doc> 21 <?xml version="1.0"?><!DOCTYPE doc><doc>
22 <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar> 22 <foo xmlns="foobar">One</foo> <x:bar xmlns:x="barfoo">Two</x:bar>
23 <d id="id3">Three</d> 23 <d id="id3">Three</d>
24 <f id="&amp;&lt;&gt;">Four&amp;&lt;&gt;</f><empty/><empty/></doc> 24 <f id="&amp;&lt;&gt;&gt;">Four&amp;&lt;&gt;</f><empty/><empty/></doc>
OLDNEW
« no previous file with comments | « LayoutTests/fast/dom/dom-parse-serialize.html ('k') | Source/core/editing/MarkupAccumulator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698