var node1 = createNode("input").attrs({ type: "text", value: "notWorking" });
var node2 = createNode("input").attrs({ type: "checkbox", value: "notWorking" });
After patching, check with this:
// 'element' is the same as the patched node
element.hasAttribute("value")
value isn't kept unchanged when type is modified
Patch this:
Result: false Expected: true