W3C home > Mailing lists > Public > www-style@w3.org > February 2009

Re: Clarification needed for inline boxes containing block boxes

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Thu, 26 Feb 2009 10:01:48 -0500
Message-ID: <49A6AEDC.7000508@mit.edu>
To: Giovanni Campagna <scampa.giovanni@gmail.com>
CC: www-style@w3.org
> In addition, I expect that an inline box cannot contain a block box in
> any case. Three resolutions are therefore possibile:

Did you read the section of the spec that I cited in my original mail? 
The rest of your mail seems to cover ground that's already covered by 
that spec section.  The correct behavior is your behavior 1, per spec as 
currently written, except the spec doesn't go into nearly as much detail 
as you do, with the ensuing interop problems.

> I personally don't like n 1

Too bad.  At this point it's been specified as the right thing for years 
and web sites depend on it.

> Instead I think that 3) is easy to implement, in the spec and in code,
> and meets author expectations (if I want a block inside an inline, I
> probably want a block in the same line).

Actually, web authors don't, at this point, since browsers haven't been 
doing it.  Sorry.

Received on Thursday, 26 February 2009 15:02:34 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:38:24 UTC