HTMLInputElement state of Ctrl+Z history

Will the browser remember the HTMLInputElement state when move Widget to other place?

.div1

Widget

1. Write some in Widget input.

Then the Widget will move from `.div1` to `.div2' using `ChildNode.after()`.

.div2

2. Use Ctrl+Z keyboard shortcut to undo.

In Firefox - you can not undo the first letter.
In Chrome - you can.

Conclusion: Firefox should also remember Ctrl+Z history.

That also applies to `ChildNode.after()`, `Node.appendChild()` etc.