Re: [whatwg/dom] Determine spec of copying the internal state of node when "clone a node" (#644)

>From spec:

> HTML defines cloning steps for script and input elements.

> The cloning steps for input elements must propagate the value, dirty value flag, checkedness, and dirty checkedness flag from the node being cloned to the copy.

> The cloning steps for textarea elements must propagate the raw value and dirty value flag from the node being cloned to the copy.

1. You do not think that about the select element simply forgot? Because there is no logic why the actual value of the select element must be ignored. Do you agree with this statement?

2. In your answer you are guided only by backward compatibility? Is backward compatibility superior to broken logic? How do you think the cloning function should work? It must produce an indent copy. Do you agree with this statement?

3. In any description of the cloneNode function there is no note that the value of the select will not be copied. Because this is a bug in the behavior of the function. And just those who encountered this have written an extra code, rather than went to check with the standard and fix them. Do you agree with this statement?

4. 
> I think the status quo is okay as well

Why?


-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/issues/644#issuecomment-386522268

Received on Friday, 4 May 2018 07:15:54 UTC