content/base/test/file_htmlserializer_1_format.html

Wed, 31 Dec 2014 06:09:35 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 06:09:35 +0100
changeset 0
6474c204b198
permissions
-rw-r--r--

Cloned upstream origin tor-browser at tor-browser-31.3.0esr-4.5-1-build1
revision ID fc1c9ff7c1b2defdbc039f12214767608f46423f for hacking purpose.

michael@0 1 <!DOCTYPE html>
michael@0 2 <html>
michael@0 3 <head>
michael@0 4 <meta http-equiv="content-type" content="text/html; charset=UTF-8">
michael@0 5 <title>Test for html serializer</title>
michael@0 6 </head>
michael@0 7 <body>
michael@0 8 <p>Hello world</p>
michael@0 9 <p> Lorem ipsum dolor sit amet, <strong>consectetuer</strong>
michael@0 10 adipiscing elit. Nam eu sapien. Sed viverra lacus. Donec quis
michael@0 11 ipsum. Nunc cursus aliquet lectus. Nunc vitae eros. Class aptent
michael@0 12 taciti <span>sociosqu ad litora</span> torquent <a
michael@0 13 href="file_htmlserializer_1_result1.html">per conubia</a>
michael@0 14 nostra, per inceptos hymenaeos. </p>
michael@0 15 <ul>
michael@0 16 <li>Nam tellus massa,éàèçù</li>
michael@0 17 <li> fringilla aliquam,</li>
michael@0 18 <li> fermentum sit amet,</li>
michael@0 19 <li>posuere ac,</li>
michael@0 20 <li> est.</li>
michael@0 21 </ul>
michael@0 22 <div> Duis tristique egestas ligula. Mauris quis felis. </div>
michael@0 23 <script type="text/javascript">
michael@0 24 // a script which does nothing
michael@0 25
michael@0 26 function nothing() {
michael@0 27 var hey="hello";
michael@0 28 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";
michael@0 29 }
michael@0 30
michael@0 31 var a=3, b=4, c=7;
michael@0 32 // here we test the non-serialization of xml character into javascript content
michael@0 33 var d = a < b && a > c;
michael@0 34 </script>
michael@0 35 <ol>
michael@0 36 <li>Fusce a ipsum</li>
michael@0 37 <li> non lacus posuere aliquet.</li>
michael@0 38 <li> Sed fermentum posuere nulla</li>
michael@0 39 <li> Donec tempor.</li>
michael@0 40 </ol>
michael@0 41 Donec sollicitudin tortor
michael@0 42 <!-- test on
michael@0 43 comments -->
michael@0 44 <pre>lacinia <em>libero</em> ullamcorper laoreet.<br>
michael@0 45 Cras quis<br>
michael@0 46 nisi at odio<br>
michael@0 47 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>
michael@0 48 lacus risus pulvinar ante.
michael@0 49 </pre>
michael@0 50 ut gravida eros leo ut libero
michael@0 51 <p></p>
michael@0 52 <noscript>
michael@0 53 <p>Curabitur consectetuer urna a sem. Nunc & non urna. Cras in massa. Vestibulum ante ipsum primis in faucibus orci luctus</p></noscript>
michael@0 54 <p>Nam eu sapien. Sed viverra lacus. Donec quis ipsum. Nunc cursus
michael@0 55 aliquet lectus. Nunc vitae eros. Class aptent taciti</p>
michael@0 56 </body>
michael@0 57 </html>

mercurial