Re: Returning null from ViewCSS.getComputedStyle()

* Cameron McCormack wrote:
>I suspected as much; just wanted to make sure.  Perhaps the
>specification should mention the ‘null for elements outside the
>document’ bit, but I hear Anne is going to work on a spec to replace DOM
>2 Style anyway.

Well I doubt implementations would make use of such a provision. You
have to remember that the returned object is live and can't suddenly
become null if you remove the relevant element from the document, so
there is not much implementations could avoid doing, so I suspect if
there is to be a clarification, it won't allow returning null in any
such cases.
-- 
Björn Höhrmann · mailto:bjoern@hoehrmann.de · http://bjoern.hoehrmann.de
Weinh. Str. 22 · Telefon: +49(0)621/4309674 · http://www.bjoernsworld.de
68309 Mannheim · PGP Pub. KeyID: 0xA4357E78 · http://www.websitedev.de/ 

Received on Monday, 23 April 2007 06:10:16 UTC