UA string.
Harri Porten
khtml-devel@kde.org
Mon, 24 Feb 2003 20:49:48 +0100 (CET)
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.