- From: smaug---- <notifications@github.com>
- Date: Fri, 13 Oct 2017 14:44:06 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 13 October 2017 21:44:27 UTC
MutationObserver was explicitly designed to work that way, but I can't now recall the reasoning. I think it might have been something along the lines that for consistency every setAttribute call should create a record. Conceptually there is after all a mutation: there is an old value replaced with a new one, and whether or not they are the same doesn't really matter. And Custom elements should work the same way as MutationObserver. -- 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/520#issuecomment-336574796
Received on Friday, 13 October 2017 21:44:27 UTC