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

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

From: Gérard Talbot <www-style@gtalbot.org>
Date: Fri, 30 Mar 2012 20:33:03 -0400
Message-ID: <5c45e85cf4116e7c6a83b0fe41c31d3d.squirrel@ed-sh-cp3.entirelydigital.com>
To: "L. David Baron" <dbaron@dbaron.org>
Cc: "GĂ©rard Talbot" <www-style@gtalbot.org>, "www-style mailing list" <www-style@w3.org>

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 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 22 May 2012 03:48:53 GMT