Bug 1686668 [wpt PR 27185] - Update wpt metadata, a=testonly
[gecko.git] / dom / base / test / file_xhtmlserializer_1_wrap.xhtml
blob6b156278ad5b8175acbde76bc9179026fb240560
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">
4 <head>
5 <meta http-equiv="content-type" content="text/html; charset=UTF-8" />
6 <title>Test for html serializer</title>
8 </head>
9 <body>
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
15 ad
16 litora</span> torquent <a href="file_htmlserializer_1_result1.html">per
17 conubia</a>
18 nostra, per inceptos hymenaeos. </p>
21 <ul><li>Nam tellus massa,éàèçù</li><li>
22 fringilla
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">
27 //<![CDATA[
28 // a script which does nothing
30 function nothing() {
31 var hey="hello";
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";
34 var a=3, b=4, c=7;
35 // here we test the non-serialization of xml character into javascript content
36 var d = a < b && a > c;
37 //]]>
38 </script>
40 <ol><li>Fusce
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
44 <!-- test on
45 comments -->
46 <pre>lacinia <em>libero</em> ullamcorper laoreet.<br />
47 Cras quis<br />
48 nisi at odio<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.
51 </pre>
52 ut gravida eros <br />leo ut libero
53 <!-- empty element: end tag should be generated for backward compatibility with HTML -->
54 <p></p>
55 <noscript>
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/>
61 Cras quis<br/>
62 nisi at odio<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.
68 </pre>
69 </body>
70 </html>