- From: Boris Zbarsky <bzbarsky@mit.edu>
- Date: Fri, 26 Aug 2005 03:50:15 -0500
- To: David Woolley <david@djwhome.demon.co.uk>
- CC: www-style@w3.org
David Woolley wrote: > This is invalid code, so what you are probaby seeing is differences in > error recovery. In particular, what you are probably seeing, in one > case, is the parser fixing the code by inserting </span> when it finds > the element that is incompatible with its content model, and in the > other case, the parse ignoring the content model. While this is indeed invalid code, and I agree 100% that setting display should be used instead of this for testing, IE and Gecko both parse <span><div/></span> the same way last I checked -- the <div> is allowed inside the <span>. Too many websites use <span> as some sort of generic container to do anything else with it. :( -Boris
Received on Friday, 26 August 2005 08:50:19 UTC