getComputedStyle - Why window member function?

"Axel Dahmen" <[email protected]> Wed, 9 Feb 2011 23:45:16 +0100
Newsgroups gmane.comp.mozilla.devel.dom
Message-ID <[email protected]>
At "http://www.howtocreate.co.uk/tutorials/javascript/domcss" I just read 
that the getComputedStyle() DOM Level 2 Style member function of the ViewCSS 
interface is a member of the window object.

I wonder how it works on a frames based webpage.

Why isn't this interface being applied to the Document object?

Thanks for enlightening me.

Axel Dahmen

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