[EMAIL PROTECTED] wrote:
I couldn't find a way to access CSS computed font using embedding APIs
through nsIDOMElement or nsIDOMHTMLParagraphElement.
Can you help me with the APIs?
Please see the DOM Style and DOM CSS specifications published by the W3C.
Something like:
document.defaultView.getComputedStyle(node, "").fontFamily
should work (translated into the language of your choice, of course).
I should also note that searching for "computed style" on Google or equivalent
search engine would probably answer your question too. ;)
-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout