I am guessing that this is not the intended behaviour (and if not,
I'll file a bug)
Suppose you have the following snippet in an HTML document:
<p>Unordered lists take the form:
<pre>
<UL>
<LI> <i>... first list item</i>
<LI> <i>... second list item</i>
...
</UL>
</pre>
which displays in the browser as
Unordered lists take the form:
<UL>
<LI> ... first list item
<LI> ... second list item
...
</UL>
When you call outerHTML on the document, that portion gets converted to:
<P>Unordered lists take the form:
<PRE>
<UL>
<LI> <I>... first list item</I>
<LI> <I>... second list item</I>
...
</UL></PRE>
and thereby displays as an actual unordered list if the resultant
HTML is re-rendered.
Matt Gough
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webkitsdk-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webkitsdk-dev/email@hidden