summaryrefslogtreecommitdiffstats
path: root/LayoutTests/fast/dom/Node/normalize-with-cdata-expected.txt
blob: f8291efab6556b470936656bdd27294f274edadb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Test of normalize on an XML document with CDATA.

On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".


Before normalize
PASS serializer.serializeToString(xmlChunk) is "<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>"
PASS xmlChunk.documentElement.childNodes.length is 3
After normalize
PASS serializer.serializeToString(xmlChunk) is "<foo>This is some text before the CDATA<![CDATA[This is some <bold>markup</bold> inside of a CDATA]]>This is some text after the CDATA</foo>"
PASS xmlChunk.documentElement.childNodes.length is 3
PASS successfullyParsed is true

TEST COMPLETE