Status: UNCONFIRMED → RESOLVED
Last Resolved: 16 years ago
Resolution: --- → INVALID
Marking Verified - See bug 154072, "Site uses proprietary IE-only DOM syntax", where the same issue came up. That bug is assigned to the Evangelism component, which will try to contact the site listed there and advocate W3C-compliant HTML.
Status: RESOLVED → VERIFIED
Status: VERIFIED → UNCONFIRMED
Resolution: INVALID → ---
This is from the HTML 4.01 spec. According to the W3C, the name attribute is only for backward compatibility. Please see quote below: name = cdata [CI] This attribute names the element so that it may be referred to from style sheets or scripts. Note. This attribute has been included for backwards compatibility. Applications should use the id attribute to identify elements.
OK, reassigning to the DOM experts -
Assignee: rogerl → jst
QA Contact: pschwartau → desale
document.foo is also only for backwards compatiblity, so arguing that document.foo should resolve to something other than what it used to resolve to based on arguments that themselves are about backwards compatibility only is not enough for us to change how mozilla works. If you use ID attributes, then document.getElementById('my_id') will do what you want, it's straight forward, clean, and it's obvious what the code does by looking at the code. WONTFIX.
Status: NEW → RESOLVED
Last Resolved: 16 years ago → 16 years ago
Resolution: --- → WONTFIX
You need to log in before you can comment on or make changes to this bug.