- From: Simon Pieters <notifications@github.com>
- Date: Sun, 22 Nov 2015 13:25:09 -0800
- To: whatwg/dom <dom@noreply.github.com>
Received on Sunday, 22 November 2015 21:25:44 UTC
OK I see what you are saying. I suppose we could make the classList case also be falsy, e.g. continue to return `undefined`. But I also don't expect people to check the return value for classList, and I don't expect classList to get a list of supported keywords. But certainly it is difficult to predict the future. I would be fine with changing back classList to return `undefined`, and either keep the other values as boolean, or use "" and "supported". --- Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/pull/114#issuecomment-158800830
Received on Sunday, 22 November 2015 21:25:44 UTC