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

Re: [CSS21] Section 5.12.1 Properties that can apply to a :first-line pseudo-element: proposed editorial improvements

From: Anton Prowse <prowse@moonhenge.net>
Date: Sun, 20 May 2012 21:06:29 +0200
Message-ID: <4FB940B5.6000009@moonhenge.net>
To: www-style mailing list <www-style@w3.org>
CC: www-style@gtalbot.org, "L. David Baron" <dbaron@dbaron.org>
On 31/03/2012 02:33, "Gérard Talbot" wrote:
>
> Le Jeu 29 mars 2012 2:50, L. David Baron a écrit :
>> On Wednesday 2012-03-28 20:34 -0400, "Gérard Talbot" wrote:
>>> "
>>> The following properties apply to a :first-line pseudo-element: font
>>> properties, color property, background properties, 'word-spacing',
>>> 'letter-spacing', 'text-decoration', 'text-transform', and
>>> 'line-height'.
>>> UAs may apply other properties as well.
>>> "
>>> http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo
>>>
>>>
>>> Proposed modification
>>> ---------------------
>>>
>>> "
>>> Only the following properties can apply to a :first-line pseudo-element
>>> in
>>> CSS 2.1: font properties, color property, background properties,
>>> 'word-spacing', 'letter-spacing', 'text-decoration', 'text-transform'
>>> and 'line-height'. A future level of CSS may add other properties.
>>> "
>>
>> I'd note that CSS 2.0 (1998-05-12) also had vertical-align,
>> text-shadow, and clear in the list; the last CR of CSS 2.1
>> (2009-09-08) retained vertical-align.
>
> Yes, vertical-align was listed in
>
> http://www.w3.org/TR/2009/CR-CSS2-20090908/selector.html#first-line-pseudo
>
>> Gecko at least implements
>> something for vertical-align, though I'm not sure what.
>> Part of the
>> rationale for allowing other properties was that the spec used to
>> list other properties.
>
> My editorial proposal is a followup on the message
>
> first-line-selector-009 invalid or the spec should change (a comment
> included) from Kang-Hao (Kenny) Lu
> http://lists.w3.org/Archives/Public/public-css-testsuite/2012Mar/0057.html
>
> Clarifying the spec would help clarify tests like first-line-selector-009,
> primarly its text assert.

I think the current wording is fine.  What value is there is changing it 
at this stage?

Cheers,
Anton Prowse
http://dev.moonhenge.net
Received on Sunday, 20 May 2012 19:07:00 GMT

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