It worked because of this scope chain lookup mess (which we eliminated for compat with IE? Then why's it working in IE?)
13 years ago
Maybe IE does the weird-ass form-lookup thing that we do for form controls, for everything? That would explain it... Someone should test this...
This "someone" needs to be someone with access to IE....
(In reply to comment #4 and comment #5) Reference worth mentioning: Referencing Forms and Form Controls http://www.jibbering.com/faq/faq_notes/form_access.html So far, I have tested 8 cases related to MSIE 6 specific chain scope lookup, trying to identify differences with Mozilla: http://www10.brinkster.com/doctorunclear/Bugzilla/Bug253091.html
This page http://www.gtalbot.org/BugzillaSection/Bug253091.html can be improved but it will do for now.
The standard version of Sun Java when installed through the automatic set-up in Internet explorer normally will pick up that Firefox has been installed and install the relevant adapter and it should help update to the latest version which I think is something like 5.0 but it can be worth-while removing sun Java and see whether the Microsoft Virtual machine works without the problem, as sometimes if one version of the Java system works and the other does not, then it can show that you may be better off using the Microsoft Virtual machine which I believe has to be downloaded and installed manually through microsft.com
In Internet Explorer, named form controls are visible in the global scope. This is wrong. If someone visits this bug, then (s)he can fix this problem by following timeless' recommendation in bug 246197 comment #1. More info available on how to do this at: Accessing Elements with the W3C DOM http://developer.mozilla.org/en/Using_Web_Standards_in_your_Web_Pages/Using_the_W3C_DOM#Accessing_Elements_with_the_W3C_DOM Resolving as a DUPLICATE of bug 246385