- From: Philip Jägenstedt <notifications@github.com>
- Date: Thu, 26 Nov 2015 02:41:52 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Thursday, 26 November 2015 10:42:27 UTC
>From the spec point-of-view this makes sense to me, one can already change the underlying value using `DOMTokenList.prototype.add()`, so also being able to set `value` ought not introduce any new problems in principle. Implementation-wise, a potential problem is that `DOMTokenList` is actually a virtual base class, with concrete subclasses `ClassList` (not an IDL interface) and `DOMSettableTokenList`. Without actually trying to write the code, it's hard to say if merging these into a single internal representation would cause any trouble, like maybe perf regressions for `classList`. --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/120#issuecomment-159874863
Received on Thursday, 26 November 2015 10:42:27 UTC