You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
Currently, the getComputedStyle() solution for MSIE simply returns an
element's currentStyle property. This property is not identical to
getComputedStyle() and needs a number of fixed to make it more compatible.
Original issue reported on code.google.com by dean.edw...@gmail.com on 23 Jul 2007 at 9:20
The text was updated successfully, but these errors were encountered:
I'm a bit confused regarding the implementation of getComputedStyle() for IE.
In firefox, to get the style property of an element, you'd use:
document.defaultView.getComputedStyle(element, "").getPropertyValue(styleName);
But that doesn't work in IE, getPropertyValue is undefined.
What works in both cases is:
document.defaultView.getComputedStyle(element, "")['styleName'];
Shouldn't getPropertyValue be implemented?
Original comment by cedric.s...@gmail.com on 5 Oct 2007 at 7:37
Original issue reported on code.google.com by
dean.edw...@gmail.com
on 23 Jul 2007 at 9:20The text was updated successfully, but these errors were encountered: