[whatwg] cloneNode and HTML elements

Anne van Kesteren annevk at opera.com
Thu Sep 10 05:01:02 PDT 2009

On Thu, 10 Sep 2009 13:57:03 +0200, Maciej Stachowiak <mjs at apple.com>  
> Indeed, we seem to copy the following things for form controls: value,
> checked state, indeterminate state. We don't seem to do anything
> special for any other elements.
> The change to clone form state was made based on this bug report:  
> <https://bugs.webkit.org/show_bug.cgi?id=5177
>  >. The bug report cites Mozilla and IE behavior but does not mention
> a real-world site depending on this, though I would presume there was
> one.
> I think this behavior should be specified in HTML5.

I guess that makes sense. Though I would personally prefer if we could  
move the HTML5 specific bits of DOM Core to Web DOM Core which then would  
simply state the exceptions for HTML documents. That way the methods are  
defined in one place which makes more sense to me.

Anne van Kesteren

More information about the whatwg mailing list