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

Anne van Kesteren annevk at opera.com
Thu Mar 4 02:45:58 PST 2010


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/



More information about the whatwg mailing list