Re: [whatwg/dom] add changed value to mutation record (#376)

In the callback I think it should be possible to go through the sequence of mutation records, look for mutations that affected the same attribute multiple times, and use .oldValue of future mutations to determine the value of attributes at the time of their mutation. I just tried this and it seems to work.
Such a procedure does read and feel more like a work-around for something that should be straightforward. A .value mutation record property seems like a reasonable expectation and even may help in adoption. But ultimately it would be a convenience property.


-- 
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/376#issuecomment-261721327

Received on Saturday, 19 November 2016 15:47:24 UTC