W3C home > Mailing lists > Public > www-style@w3.org > August 2010

Re: Question about inline layout and margins

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Mon, 09 Aug 2010 07:16:41 -0400
Message-ID: <4C5FE399.9090404@mit.edu>
To: fantasai <fantasai.lists@inkedblade.net>
CC: www-style list <www-style@w3.org>
On 8/6/10 6:57 PM, fantasai wrote:
> My interpretation would be to have an empty first line, and to put the
> inline block on the second line, with Text shifted 10px to the left
> of the green line. The first line should have height: it contains an
> inline element with a non-zero margin. Alternatively, put all content
> on one line, if the UA isn't considering a line break opportunity
> between the spans. So Opera and Konqueror seem to have correct behavior.

Including on the second testcase?  It's not clear to me how Opera's 
behavior on the second testcase makes sense at all...

My issue here, by the way, is figuring out what the "right" behavior is 
and then whether it's web-compatible...  The webkit quirk stuff does not 
imbue me with hope.

-Boris
Received on Monday, 9 August 2010 11:17:15 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:30 GMT