[whatwg] HTML 5 : Misconceptions Documented

Boris Zbarsky wrote:
> Note that since this isn't a core DOM behavior, but rather an artifact 
> of the JS-to-DOM glue, in this case the behavior will depend on whether 
> you've accessed the control by name on the form in the past; if the 
> first such access is after the name change in Gecko, the control will 
> only be visible under the new name.

As another side-effect, by the way, Gecko has
<https://bugzilla.mozilla.org/show_bug.cgi?id=307415> which doesn't
sound like the right thing to do per current spec text.

Also as discussed in
<https://bugzilla.mozilla.org/show_bug.cgi?id=100499> there is shadowing
going on where "the old name will shadow a new form control that is
inserted with the old name".  That's not per current spec text either,
though "IE has the same problem" as of 2001.  Did this change in later
IE releases?  Is it not required for website compat?  Again, I'd like to
see the data if possible.

-Boris

Received on Sunday, 18 January 2009 13:23:09 UTC