Re: [dom] Let DOMTokenList.prototype.add() return false if there are no supported tokens (#111)

My problem with returning false if no supported tokens is present is that `add()` will always return false for things like `classList` and will return false for `<a rel>`'s `relList` on every value.

What would happen if one day we'd want to add supported tokens to `<a rel>`? There would be no way of telling if an attribute is really *not* supported. (whereas as defined today you can tell, even if in a cumbersome way)

---
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/111#issuecomment-158360413

Received on Friday, 20 November 2015 11:07:53 UTC