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

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

From: Boris Zbarsky <bzbarsky@MIT.EDU>
Date: Sun, 22 Aug 2010 14:47:43 -0400
Message-ID: <4C7170CF.2040006@mit.edu>
To: Peter Moulder <peter.moulder@monash.edu>, www-style list <www-style@w3.org>
On 8/22/10 5:47 AM, Peter Moulder wrote:
>> At the very least some sort
>> of special-casing would have to be performed where some things
>> inherit from the :first-line and some other things that clearly
>> should don't.
> That sounds like a single "if (in-flow)" test.

Plus a separate codepath for each of the branches, each with 
yet-to-be-defined behavior, right?  In particular the "not in-flow" 
codepath involves inheriting from something other than the parent.... 
Or something.

> Of course in any case, implementation cost isn't the only criterion for the
> decision.  Authoring/viewing issues are also relevant.


> However, I'm still moved by the argument that a float shouldn't change its
> colour when the window is resized

But text somewhere in the document should?  Why?

> that a float's styling shouldn't depend on whether its invisible reference happens to fall on the first line

It already does (for example its vertical position depends on this).

> that authors don't actually intend for :first-line styling to affect floats.

 From what I can tell, authors intend a wide variety of (generally 
incompatible) things...

In practice, I would expect that to a first approximation authors just 
never use first-line on blocks with floats in them.  Otherwise they 
would have been complaining about the inconsistent behavior.

Received on Sunday, 22 August 2010 18:48:17 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:13:49 UTC