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

Re: [CSS 2.1] cases that do not pass in any browser

From: fantasai <fantasai.lists@inkedblade.net>
Date: Mon, 23 Aug 2010 19:15:57 -0700
Message-ID: <4C732B5D.6080001@inkedblade.net>
To: Boris Zbarsky <bzbarsky@MIT.EDU>
CC: Peter Moulder <peter.moulder@monash.edu>, www-style list <www-style@w3.org>
On 08/23/2010 06:59 PM, Boris Zbarsky wrote:
> On 8/23/10 9:40 PM, fantasai wrote:
>>
>> Why does having the <span> there matter?
>
> Because with a float directly as the child of a block one can make the
> argument that the float is not on the first formatted line at all, and
> hence isn't affected by the first-line stuff and should continue to
> inherit directly from the block itself. This seems to be what UAs
> interoperably implement (if we ignore first-letter for the moment).
>
> The whole point of an inline parent for a float is that in that
> situation the float clearly inherits from that inline, and there is no
> argument about the inline being on the first formatted line and being
> affected by the first-line styles.

I think either the float inherits through the ::first-line chain or
it doesn't. Having it behave one way when inside a <span> and another
when not is really inconsistent. I can see arguments for both
interpretations in the spec. I can also see that Selectors 3 moves
more towards your interpretation than the other. But saying that the
float inherits through ::first-line in the one case and not the other
doesn't make sense to me.

~fantasai
Received on Tuesday, 24 August 2010 02:16:36 GMT

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