Re: [dom] DOMTokenList hook to validate added token is in a supported set of keywords (#103)

> I think add and toggle should not add invalid values, and value's setter should validate before adding.

The reason I didn't add that was @Ms2ger's concern that it would raise web compat issues. If this is not a concern, I can add it.

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/103#issuecomment-153643772

Received on Wednesday, 4 November 2015 08:54:59 UTC