[whatwg] overlap and Browser DOMs
Elliotte Harold
elharo at metalab.unc.edu
Fri Feb 2 10:04:37 PST 2007
Consider the following markup:
<div>
<p>...foo<strong id='s1'>...</p>
<p>...bar</strong> </p>
</div>
Notice that the string element starts in one p and finished in the next.
This is of course malformed and violates the tree structure.
Has anyone documented how different browsers handle this in their
respective DOMs? e.g. creating three separate strong elements or
creating one that is a child of three parents?
--
Elliotte Rusty Harold elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/
More information about the whatwg
mailing list