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

So that complexity is already worked around in the spec in:

  https://drafts.csswg.org/cssom/#insert-a-css-rule

Where step 6 says:

> If new rule is an @namespace at-rule, and list contains anything other than @import at-rules, and @namespace at-rules, throw an InvalidStateError exception. 

But given we're bogus even with that rule accounted for, and that that restriction is already pretty limiting, I think it makes sense to just disallow it completely.

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

Received on Tuesday, 29 May 2018 08:17:11 UTC