You can access all attributes of the
currentStyle attribute of a DOM element by separating the attribute name with a ":".
- Internet Explorer 8 or earlier
- wDomElement.GetProperty("currentStyle:fontName")
- All other browsers, for example
Internet Explorer 9 or later and
Mozilla Firefox
- wDomElement.GetProperty("currentStyle:font-name")