On Tue, 22 Sep 2009 18:27:42 +0200, Garrett Smith <dhtmlkitchen@gmail.com>
wrote:
> * document.defaultView.getComputedStyle
> * Too verbose. The defaultView is unrelated to the Element (the DOM
> spec says: "a computed style is related to an Element node").
Isn't this somewhat circular, since document is found in AbstractView? Or
are there any browsers that need document.defaultView.getComputedStyle
instead of just getComputedStyle?
> A corresponding method to set a value would not seem to be necessary,
> as any value could be set with:
>
> x.style.color = "papayawhip";
Well, not if there's an !important color declaration somewhere that
affects x.
--
Åyvind Stenhaug
Core Norway, Opera Software ASA