Looking to utilize MSHTML to extract the style of an HTML element.
I'm specifically seeking the computed style, but excluding default values (only those specified in the HTML and CSS).
In my exploration of MSHTML, I've encountered 3 types of styles: style, currentStyle, and runtimeStyle.
The style and runtimeStyle properties only contain inline styles, while currentStyle encompasses all styles, including inherited and default ones.
Is there a method to retrieve the currently applied style (inline, external, and internal CSS) without capturing any inherited or default values?
There must be a solution for this, as the IE developer toolbar seems capable of identifying inherited styles.