Re: [webkit-dev] HTMLSelectElement and namedItem()

2009-04-10 Thread David Moore
:22 PM, Ian Hickson wrote: > 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 th

Re: [webkit-dev] HTMLSelectElement and namedItem()

2009-04-09 Thread David Moore
electElement 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. Dave On Thu, Apr 9, 2009 at 11:57 AM, Darin Adler wrote: > On Apr 9, 2009, at 11:50 AM, David Mo

[webkit-dev] HTMLSelectElement and namedItem()

2009-04-09 Thread David Moore
chromium and Safari currently differ on how they handle getting named items from HTMLSelectElements. If you have this html: this JS code document.getElementById('mymenu').foo returns null for Safari and the HTMLOptionElement for chrome. I would like to create a new layout test to enforce the