Re: [whatwg/dom] Web reality: DOMTokenList's toggle() cannot always update the corresponding attribute (#451)

But the8472 solution would not be better? For  [update steps](https://dom.spec.whatwg.org/#concept-dtl-update) we can check if [ordered set parser](https://dom.spec.whatwg.org/#concept-ordered-set-parser) is the same ass attr.value, and if yes then return, if no then set attr.value. This will cover all other methods that which unnecessarily set the attribute again (and potentially invoke an observer).


-- 
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/451#issuecomment-297946642

Received on Friday, 28 April 2017 09:01:13 UTC