W3C home > Mailing lists > Public > www-style@w3.org > April 2007

Re: Returning null from ViewCSS.getComputedStyle()

From: Bjoern Hoehrmann <derhoermi@gmx.net>
Date: Mon, 23 Apr 2007 08:10:14 +0200
To: Cameron McCormack <cam@mcc.id.au>
Cc: www-style@w3.org
Message-ID: <h8jo23p0d33fgt8h9u24m5rojt1mstald3@hive.bjoern.hoehrmann.de>

* 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

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:27:28 UTC