UA string.

David Hyatt khtml-devel@kde.org
Mon, 24 Feb 2003 11:54:54 -0800


Oh good.  That means we can just pick up document.all from the trunk.

On Monday, February 24, 2003, at 11:49 AM, Harri Porten wrote:

> On Mon, 24 Feb 2003, David Hyatt wrote:
>
>> Safari does not support document.all.  Only Konqueror does.  We do not
>> plan to unconditionally support document.all.  Instead we plan to
>> selectively allow access to the .all property based off whether or not
>> we're using an MSIE-style UA string.
>
> We do the same btw:
>
>   case All:
>       // Disable document.all when we try to be Netscape-compatible
>       if ( exec->interpreter()->compatMode() ==
> Interpreter::NetscapeCompat )
>         return Undefined();
>       return getHTMLCollection(exec,doc.all());
>
> Harri.
>
> _______________________________________________
> Khtml-devel@mail.kde.org
> http://mail.kde.org/mailman/listinfo/khtml-devel