Closed
Description
How preserve attribute values missed from new content?
For example:
let details1 = make('<details open><summary>Details1</summary>Something</details>')
let details2 = make('<details><summary>Details2</summary>Something</details>')
Idiomorph.morph(details1, details2);
should.equal(null, details2.getAttribute("open"));
details1.getAttribute("open").should.equal("");
I want that details1
have open
attribute and the content of details2
Metadata
Metadata
Assignees
Labels
No labels