<!DOCTYPE html> | |
<html> | |
<body> | |
<p>Testing cloneNode(true) on textarea element works correctly</p> | |
<p>Before clone</p> | |
<textarea cols="15" rows="2">InitialText</textarea> | |
<textarea cols="15" rows="2">InsertedText InitialText</textarea> | |
<textarea cols="15" rows="2">NewText</textarea> | |
<p>After clone</p> | |
<textarea cols="15" rows="2">InitialText | |
</textarea><textarea cols="15" rows="2">InsertedText | |
InitialText</textarea><textarea cols="15" rows="2">NewText | |
</textarea> | |
</body> | |
</html> |