W3C home > Mailing lists > Public > www-style@w3.org > March 2012

Re: [css3-background] clarify which properties in this module apply to ::first-letter and ::first-line

From: fantasai <fantasai.lists@inkedblade.net>
Date: Tue, 27 Mar 2012 14:59:53 -0700
Message-ID: <4F723859.8090401@inkedblade.net>
To: www-style@w3.org, Brian Manthos <brianman@microsoft.com>
On 03/07/2012 02:03 PM, Brad Kemper wrote:
> On Mar 6, 2012, at 5:31 PM, "Kang-Hao (Kenny) Lu"<kennyluck@csail.mit.edu>  wrote:
> [... explanation of how this is unclear ...]
>> (A side question out of curiosity: the spec says
>>   # The ‘box-shadow’ property applies to the ‘::first-letter’
>>   # pseudo-element, but not the ‘::first-line’ pseudo-element.
>> So, does this mean UA MUST NOT apply 'box-shadow' to '::first-line' or
>> UA MAY apply 'box-shadow' to '::first-line' (because of CSS2.1) ? )
> I don't know what the reasoning was for that. It seems to me that anything
> which does not affect layout geometry of anything outside itself should be
> allowed for first line and first letter, and we should say that. This would
> then include border-radius, box-shadow, text-shadow, border-image, outline,
> pointer-events, opacity, etc. and maybe even position.

This makes sense to me. So for this module the proposed lists would be

Applies to ::first-line -
   All background properties
   All border-radius properties
   All border-image properties

Does not apply to ::first-line
   All border properties from CSS2.1.

And all properties would apply to ::first-letter.

Brian, do you have any comment on that?

Received on Tuesday, 27 March 2012 22:00:24 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:13 UTC