W3C home > Mailing lists > Public > whatwg@whatwg.org > March 2010

[whatwg] [html5] Attaching option elements to select elements in different documents

From: Anne van Kesteren <annevk@opera.com>
Date: Thu, 04 Mar 2010 11:45:58 +0100
Message-ID: <op.u81hivxy64w2qv@annevk-t60>
On Thu, 04 Mar 2010 11:27:23 +0100, Stewart Brodie  
<stewart.brodie at antplc.com> wrote:
> Boris Zbarsky <bzbarsky at MIT.EDU> wrote:
>> On 3/3/10 12:11 PM, Stewart Brodie wrote:
>> > As far as I can tell, this affects: HTMLSelectElement.add(),
>> > HTMLOptionsCollection.add(), Node.appendChild(), Node.replaceChild(),
>> > Node.insertBefore().
>>
>> Is it option-specific, though?  Last I checked, various browsers
>> implicitly adopted on append/insert/replace, period.
>
> Since when?  I was sure that they didn't used to do this.  DOM Core is
> extremely clear on this issue (both in level 2 and level 3).  You appear  
> to be correct: Firefox and Opera both just ignore the standard and get  
> this
> wrong.  Chrome just seems to get confused.

This changed a while ago due to compatibility problems. Consensus at the  
time was to change DOM Core.


-- 
Anne van Kesteren
http://annevankesteren.nl/
Received on Thursday, 4 March 2010 02:45:58 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:21 UTC