D
Dr John Stockton
JRS: In article <[email protected]>, dated Mon, 11
Oct 2004 13:38:02, seen in Mark Preston
If document.all is present in addition to document.getElementById
and/or document.layers then ISTM that multi-browser code which tests
for such entities should be reviewed to see whether the tests are
correctly prioritised.
I believe that the code in FAQ 4.15, and the code that was earlier there
and recognised document.layers, will pass that review.
My version of that earlier code is probably OK as is, but I see in it
some commented-out warning code ...
Perhaps someone could check <URL:http://www.merlyn.demon.co.uk/js-
date2.htm#RC> in the PR version, just to see whether running text-
clocks appear.
Oct 2004 13:38:02, seen in Mark Preston
Please note that the PR version of the final Firefox will also support
"document.all" for compatibility with poorly written code. Not, I feel,
a good idea but certainly an understandable move.
If document.all is present in addition to document.getElementById
and/or document.layers then ISTM that multi-browser code which tests
for such entities should be reviewed to see whether the tests are
correctly prioritised.
I believe that the code in FAQ 4.15, and the code that was earlier there
and recognised document.layers, will pass that review.
My version of that earlier code is probably OK as is, but I see in it
some commented-out warning code ...
Perhaps someone could check <URL:http://www.merlyn.demon.co.uk/js-
date2.htm#RC> in the PR version, just to see whether running text-
clocks appear.