W3C home > Mailing lists > Public > www-style@w3.org > October 2015

Re: [CSS21][CSS22] Request to clarify the section 6.4.3.

From: Gérard Talbot <www-style@gtalbot.org>
Date: Fri, 16 Oct 2015 13:53:10 -0400
To: Momdo Nakamura <xmomdo@gmail.com>
Cc: W3C www-style mailing list <www-style@w3.org>
Message-ID: <76d330752c11ec37a3cdeaac7e148d5c@gtalbot.org>
Le 2015-10-14 11:36, Momdo Nakamura a écrit :
> Hi,
> 
> In the 1st bullet of “6.4.3 Calculating a selector's specificity”:
> 
>> count 1 if the declaration is from is a 'style' attribute rather than
>> a rule with a selector, 0 otherwise (= a)
> 
> I think that this sentence is grammatically incomprehensible; saying
> honestly, it is hard to read and understand.
> In my eyes, we need to clear up the sentence.
> 
> 
> Best Regards,
> NAKAMURA, momdo

Mondo,

I agree with you.

Proposal
--------

count 1 if the declaration is from is a 'style' attribute rather than a 
rule with a selector, 0 otherwise (= a)

would be replaced with

count 1 if the declaration is from a 'style' attribute rather than a 
rule with a selector, otherwise count 0 (= a)

6.4.3 Calculating a selector's specificity
http://www.w3.org/TR/CSS21/cascade.html#specificity

6.4.3 Calculating a selector's specificity
https://drafts.csswg.org/css2/cascade.html#specificity

Gérard
Received on Friday, 16 October 2015 17:53:42 UTC

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