Re: [cssom] CSSNamespaceRule

On 3/19/14 10:34 AM, Bjoern Hoehrmann wrote:
> To offer something more concrete, consider the case of adding
> a rule with a selector using a prefix to a style sheet without any pre-
> fix declarations.

That throws.  You have to add an @namespace rule that defines the prefix 
first.

The point I was making is such an @namespace rule addition doesn't 
affect any of the existing rules in the sheet, since we assumed none of 
them use prefixes.  So it's easy to spec and implement this case.

-Boris

Received on Wednesday, 19 March 2014 15:05:48 UTC