- From: Al Gilman <asgilman@iamdigex.net>
- Date: Fri, 30 Aug 2002 18:16:03 -0400 (EDT)
- To: www-style@w3.org
Where it says <quote cite="http://www.w3.org/TR/CSS21/cascade.html#specificity"> 6.4.3 Calculating a selector's specificity A selector's specificity is calculated as follows: * count 1 if the selector is a 'style' attribute rather than a selector, 0 otherwise (= a) (In HTML, values of an element's "style" attribute are style sheet rules. These rules have no selectors, so a=1, b=0, c=0, and d=0.) </quote> Question: Does this rule apply only to 'style' elements in HTML and XHTML, to any element whose element type name is 'style,' or to the class of elements which resemble the html4:style element in the following ways: (1) take as their content text matching the description as type="text/css" (2) implicitly bind the content to a selector which matches the immediate parent in the parse tree of the 'style' element in question. Please clarify. In which of the above cases does a 'style' element come under the low specificity of "non-CSS presentational hints"? Al Gilman /for PF Working Group <http://www.w3.org/WAI/PF/>
Received on Wednesday, 4 September 2002 08:33:40 UTC