Re: ambiguity? in specificity rules

On Fri, 30 Aug 2002, Al Gilman wrote:
> 
> 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.

It applies to the latter. If the language says "it's a CSS style
attribute" then it applies. In this respect it is similar to the 'class'
attribute and the dot notation.

-- 
Ian Hickson                                      )\._.,--....,'``.    fL
"meow"                                          /,   _.. \   _\  ;`._ ,.
http://index.hixie.ch/                         `._.-(,_..'--(,_..'`-.;.'

Received on Wednesday, 4 September 2002 09:36:12 UTC