- From: Vladimir Varlamov <notifications@github.com>
- Date: Thu, 03 May 2018 07:12:07 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 3 May 2018 14:12:33 UTC
The standard in this place is vague. https://dom.spec.whatwg.org/#concept-node-clone Now all browsers is copying the internal state of radio buttons, checkboxes, inputs type file when deep clone node, but not selected value of select element. It is logical to bring everything to a consistent form (copy internal state for all interactive elements) Reason: cloneNode(true) does not clone value of select. Examlple https://codepen.io/anon/pen/bMWKdO Discussion of spec https://stackoverflow.com/questions/27193301/node-clonenode-inconsistent-with-dom-spec -- 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
Received on Thursday, 3 May 2018 14:12:33 UTC