Re: Re[4]: css with attribues (was: Re[2]: [CSS] Would be nice if...)

On 11 Jan 2008, at 09:40, Dmitry Turin wrote:
> DD> It means that user agents, as well as having a parser for markup,
> DD> MUST also have a parser for CSS.

> primitiv parser, because css is primitiv format and you about UA,
> which is not rendering.

It also needs to implement media types, the cascade (including  
specificity rules), do something about the case where the style sheet  
is still downloading when a selector near the end of it matches an  
element already rendered in the HTML, and so on. It is significantly  
more complicated then simply parsing HTML.

-- 
David Dorward
http://dorward.me.uk/
http://blog.dorward.me.uk/

Received on Friday, 11 January 2008 11:09:27 UTC