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 18:40:37 -0700
Message-ID: <4C732315.2060105@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 04:53 PM, Boris Zbarsky wrote:
> On 8/23/10 5:23 PM, fantasai wrote:
>> On 08/22/2010 11:47 AM, Boris Zbarsky wrote:
>>>
>>> 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.
>>
>> I'll note that
>> ::first-letter { float: start; }
>> is the recommended way to deal with drop caps. It would make sense here
>> for the float to take the color of the ::first-line, wouldn't it?
>
> This is not quite the same, unless there's a span around that first
> letter. In particular, floats that are not inside an element on the
> first line do NOT get first-line styling in Gecko and Presto. They do in
> Webkit for the first-letter case, but not for a floated span (that is,
> Webkit treats floating first-letter specially, which makes some sense,
> because it's not really a float).
>
> I don't have IE8+ on hand right this second to test.

Why does having the <span> there matter?

~fantasai
Received on Tuesday, 24 August 2010 01:41:13 GMT

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