W3C home > Mailing lists > Public > public-evangelist@w3.org > September 2002

Re: WC3 standards and its impact on the browser wars

From: Eric A. Meyer <eric@meyerweb.com>
Date: Wed, 18 Sep 2002 11:15:04 -0400
Message-Id: <v04220801b9ae473ae61c@[]>
To: public-evangelist <public-evangelist@w3.org>

At 7:28 -0400 9/18/02, Jonas Jørgensen wrote:

>Actually it's more like 96%, according to my server logs.

   Other sites may tell a different story: 

>Many sites do something like
>if (document.all)
>     doStuffSpecificallyTaileredToMsiesCssBugs;
>     doStuffWhichWillWorkInW3cCompliantBrowsers;

    In the group to which I belong at Netscape, where we're involved 
in standards support, we recommend that site authors who need object 
detection do the following:

    if (document.getElementById)
    else if (document.all)
    else if (document.layers)

...or something like that.  The point it that we tell them to detect 
for the W3C DOM detection first, because more browsers support it. 
Then the fallbacks come.  This assumes that they feel a need to even 
have the fallbacks, which most commercial site developers do.  It's a 
small performance win in standards-compliant browsers, too, since the 
first test is to recognize them.  You can shortcut the rest of the 
testing branches that way.  In some cases that can actually have a 
perceivable effect on performance.

>If other browsers were to implement document.all, they would also 
>have to emulate all of the weird bugs of IE5/Win. Given the enormous 
>amount of bugs we're talking about here, that would be an impossible 

    See for example the rather lengthy discussion contained in 

>The only way out of this nightmare is W3C standards.

    Indeed so.

Eric A. Meyer  (eric@meyerweb.com)  http://www.meyerweb.com/eric/
Author, "Cascading Style Sheets: The Definitive Guide,"
  "Eric Meyer on CSS," "CSS 2.0 Programmer's Reference," and more
Received on Wednesday, 18 September 2002 11:15:55 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:16:17 UTC