[webkit-dev] HTMLSelectElement and namedItem()
Ian Hickson
ian at hixie.ch
Thu Apr 9 14:22:10 PDT 2009
On Thu, 9 Apr 2009, David Moore wrote:
>
> I've looked at FF, IE and Opera. FF doesn't support named item access
> from an HTMLSelectElement. It does support it from
> HTMLOptionsCollection, and returns 1 element even if there are multiple
> options with the same name.
>
> IE doesn't support named item access from either HTMLSelectElement or
> HTMLOptionsCollection.
>
> Opera supports named item access from both HTMLSelectElements and
> HTMLOptionsCollections. In both cases it returns a single element if
> there are duplicate names.
Note that HTML5 defines the expected behaviour here in some detail.
--
Ian Hickson U+1047E )\._.,--....,'``. fL
http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,.
Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
More information about the webkit-dev
mailing list