1 <?xml version=
"1.0" encoding=
"UTF-8"?>
2 <!DOCTYPE html PUBLIC
"-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns=
"http://www.w3.org/1999/xhtml">
5 <meta http-equiv=
"content-type" content=
"text/html; charset=UTF-8" />
6 <title>Test for html serializer
</title>
10 <p>Hello world
</p> <p>
12 Lorem ipsum dolor sit amet,
<strong>consectetuer
</strong>
13 adipiscing elit. Nam eu sapien. Sed viverra lacus. Donec quis ipsum.
14 Nunc cursus aliquet lectus. Nunc vitae eros. Class aptent taciti
<span>sociosqu
16 litora
</span> torquent
<a href=
"file_htmlserializer_1_result1.html">per
18 nostra, per inceptos hymenaeos.
</p>
21 <ul><li>Nam tellus massa,éàèçù
</li><li>
23 aliquam,
</li><li> fermentum sit amet,
</li><li>posuere ac,
</li><li> est.
</li></ul>
24 <div> Duis tristique egestas ligula. Mauris quis felis.
</div>
25 <script id=
"script" type=
"text/javascript"></script>
26 <script type=
"text/javascript">
28 // a script which does nothing
32 var
aLongLine=
"consectetuer molestie. Curabitur consectetuer urna a sem. Nunc non urna. Cras in massa. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere";
35 // here we test the non-serialization of xml character into javascript content
36 var d = a < b && a
> c;
41 a ipsum
</li><li> non lacus posuere aliquet.
</li><li> Sed fermentum
42 posuere nulla
</li><li> Donec tempor.
</li></ol>
43 Donec sollicitudin tortor
46 <pre>lacinia
<em>libero
</em> ullamcorper laoreet.
<br />
49 consectetuer molestie. Curabitur consectetuer urna a sem. Nunc non urna. Cras in massa. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Sed sollicitudin, nulla at pharetra rutrum,
<br />
50 lacus risus pulvinar ante.
52 ut gravida eros
<br />leo ut libero
53 <!-- empty element: end tag should be generated for backward compatibility with HTML -->
56 <p>Curabitur consectetuer urna a sem. Nunc non urna. Cras in massa. Vestibulum ante ipsum primis in faucibus orci luctus
</p></noscript>
57 <p>Nam eu sapien. Sed viverra lacus. Donec quis ipsum. Nunc cursus
58 aliquet lectus. Nunc vitae eros. Class aptent taciti
</p>
59 <pre xmlns=
"http://mozilla.org/ns/foo">lacinia
<em>libero
</em>
60 ullamcorper laoreet.
<br/>
63 consectetuer molestie. Curabitur consectetuer urna a sem. Nunc non
64 urna. Cras in massa. Vestibulum ante ipsum primis in faucibus orci
65 luctus et ultrices posuere cubilia Curae; Sed sollicitudin, nulla at
66 pharetra rutrum,
<br/>
67 lacus risus pulvinar ante.