Re: [whatwg/dom] Spec for DOMTokenList stringifier disagrees with every single implementation (#105)

@rodneyrehm all definitions are clear here, set is createt from attr's value by using [ordered set parser
](https://dom.spec.whatwg.org/#concept-ordered-set-parser). This algorithm skip unnecessary whitespaces and emits only unique tokens so sets will have only unique tokens. The question is what stringifier of this set should do: returns oryginal attr's value (like now defined in DOM and like stable browsers works) or returns results from (ordered set serializer)[https://dom.spec.whatwg.org/#concept-ordered-set-serializer] (what was defined earlier in DOM and only Safari Technology Preview land this).
And rewerting https://github.com/whatwg/dom/commit/2920fc15b9e894c45ff84c5d3bb77f7513ff50e5 change not only stringifier but also `DOMTokenList.value` getter, it would be strange to have a different behavior for `DOMTokenList.value` setter. Look this comment: https://github.com/whatwg/dom/issues/105#issuecomment-208313414.

---
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/105#issuecomment-211044948

Received on Sunday, 17 April 2016 15:35:28 UTC