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

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.

Gérard
-- 
CSS 2.1 Test suite RC6, March 23rd 2011
http://test.csswg.org/suites/css2.1/20110323/html4/toc.html

Contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/

Web authors' contributions to CSS 2.1 test suite
http://www.gtalbot.org/BrowserBugsSection/css21testsuite/web-authors-contributions-css21-testsuite.html

Received on Saturday, 31 March 2012 00:33:36 UTC