W3C home > Mailing lists > Public > whatwg@whatwg.org > January 2006

[whatwg] Tag Soup: Blocks-in-inlines

From: Ian Hickson <ian@hixie.ch>
Date: Thu, 26 Jan 2006 01:13:37 +0000 (UTC)
Message-ID: <Pine.LNX.4.62.0601260112150.2856@dhalsim.dreamhost.com>
On Wed, 25 Jan 2006, Billy Wong wrote:
>
> Example: <span><div>X</span>Y</div>
> + span
>   + div
>     + #text: X
>   + #text: Y

This doesn't work, because it would put a line break between the X and the 
Y. This breaks real-world sites and would not be acceptable.


> To correctly written webpages, this should pose no problems.  To 
> incorrect webpages, they deserve it since the point they ask the UA to 
> use "standard mode".

Unfortunately, whether they deserve it or not, browsers aren't going to 
change their implementation of HTML parsing to something that makes them 
less compatible with the Web.

Whatever we spec here has to be good enough that it works with the crap 
that is out there, otherwise our work will be irrelevant.

-- 
Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'
Received on Wednesday, 25 January 2006 17:13:37 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Wednesday, 30 January 2013 18:47:34 GMT