From a316ac49a6934221b24ec58a6a7dc4c3b30ae1e8 Mon Sep 17 00:00:00 2001 From: Artem Yunusov Date: Mon, 14 Jul 2008 16:17:33 +0500 Subject: A lot of bug fixes. Handlig attributes added, new hr processing. Reformatted test suite for ElementTree output. --- tests/safe_mode/inline-html-simple.html | 97 +++++++++++++++------------------ 1 file changed, 43 insertions(+), 54 deletions(-) (limited to 'tests/safe_mode/inline-html-simple.html') diff --git a/tests/safe_mode/inline-html-simple.html b/tests/safe_mode/inline-html-simple.html index 24d16ba..ceaaa90 100644 --- a/tests/safe_mode/inline-html-simple.html +++ b/tests/safe_mode/inline-html-simple.html @@ -1,64 +1,53 @@ -

Here's a simple block: -

-<div> +

Here's a simple block:

+

<div> foo -</div> - -

This should be a code block, though: -

-
<div>
+</div>

+

This should be a code block, though:

+
+<div>
     foo
 </div>
-

As should this: -

-
<div>foo</div>
-

Now, nested: -

-<div> +
+
+

As should this:

+
+<div>foo</div>
+
+
+

Now, nested:

+

<div> <div> <div> foo </div> </div> -</div> - -

This should just be an HTML comment: -

-<!-- Comment --> - -

Multiline: -

-<!-- +</div>

+

This should just be an HTML comment:

+

<!-- Comment -->

+

Multiline:

+

<!-- Blah Blah ---> - -

Code block: -

-
<!-- Comment -->
-

Just plain comment, with trailing spaces on the line: -

-<!-- foo --> - -

Code: -

-
<hr />
-

Hr's: -

-<hr> - -<hr/> - -<hr /> - -<hr> - -<hr/> - -<hr /> - -<hr class="foo" id="bar" /> - -<hr class="foo" id="bar"/> - -<hr class="foo" id="bar" > \ No newline at end of file +-->

+

Code block:

+
+<!-- Comment -->
+
+
+

Just plain comment, with trailing spaces on the line:

+

<!-- foo -->

+

Code:

+
+<hr />
+
+
+

Hr's:

+

<hr>

+

<hr/>

+

<hr />

+

<hr>

+

<hr/>

+

<hr />

+

<hr class="foo" id="bar" />

+

<hr class="foo" id="bar"/>

+

<hr class="foo" id="bar" >

\ No newline at end of file -- cgit v1.2.3