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

Another option might be normalizing the value and only skipping the update if the normalized value matches the already present attribute. That avoids the particular issue with observer recursion since the recursion would terminate once the normalized value equals the attribute

-- 
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-297849465

Received on Thursday, 27 April 2017 21:52:58 UTC