Re: [csswg-drafts] [cssom] Consider removing the ability to insert / remove @namespace rules from the OM.

So, one problematic issue is:

"A type selector or universal selector containing a namespace prefix that has not been previously declared is an invalid selector."

which means the whole rule will be dropped at parse-time. Reviving that rule if a @namespace rule is inserted does not sound feasible in Blink, nor makes sense spec-wise. Also, what should happen if you remove a @namespace rule? Should the style rules using that prefix be removed?

I think it makes sense to not allow @namespace rule mutations.


-- 
GitHub Notification of comment by lilles
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2716#issuecomment-392681502 using your GitHub account

Received on Tuesday, 29 May 2018 07:36:54 UTC