W3C home > Mailing lists > Public > public-html@w3.org > June 2009

Re: typeof document.all

From: Maciej Stachowiak <mjs@apple.com>
Date: Fri, 19 Jun 2009 00:27:02 -0700
Cc: "public-html@w3.org" <public-html@w3.org>
Message-id: <76EBCCD6-BE9F-44BB-B148-2FF1C622743F@apple.com>
To: Simon Pieters <simonp@opera.com>

On Jun 19, 2009, at 12:03 AM, Simon Pieters wrote:

> There is interop between Opera, WebKit and Firefox that typeof  
> document.all returns 'undefined'. I think this is needed for Web  
> compat.

I think all non-IE browsers that implement document.all go to  
elaborate lengths to make various tests for it fail - the idea is to  
provide it for pages that use it unconditionally, but stop pages that  
test for it from going into an IE-specific code path. However, as far  
as I can tell HTML5 doesn't spec document.all at all, so I'm not sure  
it's relevant for the spec to describe these things.

  - Maciej
Received on Friday, 19 June 2009 07:27:41 UTC

This archive was generated by hypermail 2.4.0 : Saturday, 9 October 2021 18:44:49 UTC