Re: getComputedStyle - Why window member function?

Boris Zbarsky <[email protected]> Fri, 11 Feb 2011 10:37:27 -0500
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
On 2/11/11 5:37 AM, Axel Dahmen wrote:
> Because styles are not a window's property but a document's property.

That's not true.  The same document has different styles depending on
presentation (e.g. when viewing on scree and printing).

-Boris

_______________________________________________
dev-tech-dom mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-dom