diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /dom/base/test/file_xhtmlserializer_1_bodyonly.xhtml | |
parent | Initial commit. (diff) | |
download | firefox-upstream.tar.xz firefox-upstream.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'dom/base/test/file_xhtmlserializer_1_bodyonly.xhtml')
-rw-r--r-- | dom/base/test/file_xhtmlserializer_1_bodyonly.xhtml | 56 |
1 files changed, 56 insertions, 0 deletions
diff --git a/dom/base/test/file_xhtmlserializer_1_bodyonly.xhtml b/dom/base/test/file_xhtmlserializer_1_bodyonly.xhtml new file mode 100644 index 0000000000..fbefe91d6e --- /dev/null +++ b/dom/base/test/file_xhtmlserializer_1_bodyonly.xhtml @@ -0,0 +1,56 @@ +<body> +<p>Hello world</p> <p> + + Lorem ipsum dolor sit amet, <strong>consectetuer</strong> +adipiscing elit. Nam eu sapien. Sed viverra lacus. Donec quis ipsum. +Nunc cursus aliquet lectus. Nunc vitae eros. Class aptent taciti <span>sociosqu ad + litora</span> torquent <a href="file_htmlserializer_1_result1.html">per conubia</a> +nostra, per inceptos hymenaeos. </p> + + +<ul><li>Nam tellus massa,éàèçù</li><li> + fringilla +aliquam,</li><li> fermentum sit amet,</li><li>posuere ac,</li><li> est.</li></ul> +<div> Duis tristique egestas ligula. Mauris quis felis. </div> +<script id="script" type="text/javascript"></script> +<script type="text/javascript"> +//<![CDATA[ +// a script which does nothing + +function nothing() { + var hey="hello"; + 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"; +} +var a=3, b=4, c=7; +// here we test the non-serialization of xml character into javascript content +var d = a < b && a > c; +//]]> +</script> + +<ol><li>Fusce + a ipsum</li><li> non lacus posuere aliquet.</li><li> Sed fermentum posuere nulla</li><li> Donec tempor.</li></ol> +Donec sollicitudin tortor +<!-- test on +comments --> +<pre>lacinia <em>libero</em> ullamcorper laoreet.<br /> + Cras quis<br /> + nisi at odio<br /> + 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 /> +lacus risus pulvinar ante. +</pre> +ut gravida eros <br />leo ut libero +<!-- empty element: end tag should be generated for backward compatibility with HTML --> +<p></p> +<noscript> +<p>Curabitur consectetuer urna a sem. Nunc non urna. Cras in massa. Vestibulum ante ipsum primis in faucibus orci luctus</p></noscript> +<p>Nam eu sapien. Sed viverra lacus. Donec quis ipsum. Nunc cursus aliquet lectus. Nunc vitae eros. Class aptent taciti</p> +<pre xmlns="http://mozilla.org/ns/foo">lacinia <em>libero</em> ullamcorper laoreet.<br/> + Cras quis<br/> + nisi at odio<br/> + 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/> +lacus risus pulvinar ante. +</pre> +</body>
\ No newline at end of file |