title: Can you have a JavaScript hook trigger after a DOM element's style object changes?
body: <p>An element has a JavaScript <code>style</code> object which contains the different names and values of CSS styles. I'd like to trigger a function every time this object changes <strong>without use of polling</strong>. Is there any way to do this in a way that is cross-browser compatible and would work reliably with third party code (because let's say you're providing a drop-in script)? Binding a JavaScript event like <code>DOMAttrModified</code> or <code>DOMSubtreeModified</code> won't suffice because they don't work in Chrome.</p>