I am writing a lightweight htc program for IE 9 (= javascript). CSS3 has a new property called transition, but it does not work in IE 9. I am trying to implement this, but I need to know when the property changes. I am familiar with DOMAttrModified and onpropertychange, but they do not start if CSS changes the property:
a { color:#FFF; } a:hover { color:#000; }
If you anchor, DOMAttrModified does nothing. I could use mouseover, mouseout, blur, focus, activate and deactivate and check every time they occur, if the property has changed, but what if:
div:hover a { color:#FFF; }
The user did not set anchor marks, but CSS still changed color. I think pie.htc has the same problem. I only need a solution compatible with IE 9 ... Thanks!
source share