I want to use MSHTML to get the html element style.
What I want is a computed style, but without all the defaults. (only those installed in html and css)
MSHTML has 3 types of styles that I have seen so far, style, currentStyle and runtimeStyle.
Styleand runtimeStyle have only inline styles, and the current style has everything, including inherited and default styles.
Is there a way to get the current style (inline, external and internal css), but without all the inherited and default values?
There should be a way to do this, the IE developer toolbar seems to know which styles are inherited from that place.
Sruly source
share