1 Tests to check behaviors of dirty flag and defaultValue change.
3 PASS document.execCommand("InsertText", false, "user-updated"); textarea.value is "user-updated"
4 PASS textarea.defaultValue = "default 2"; textarea.value is "user-updated"
5 PASS form.reset(); textarea.value is "default 2"
6 PASS textarea.defaultValue = "default 3"; textarea.value is "default 3"
7 PASS textarea.value = "script-updated"; textarea.value is "script-updated"
8 PASS textarea.defaultValue = "default 4"; textarea.value is "script-updated"
9 PASS form.reset(); textarea.value is "default 4"
10 PASS textarea.value = "script-updated"; textarea.value is "script-updated"
11 PASS textarea.innerHTML = "default 5"; textarea.value is "script-updated"
12 PASS form.reset(); textarea.value is "default 5"
13 PASS textarea.innerHTML = "default 6"; textarea.value is "default 6"
14 PASS textarea.value = "script-updated"; textarea.value is "script-updated"
15 PASS textarea.removeChild(textarea.firstChild); textarea.appendChild(document.createTextNode("default 5")); textarea.value is "script-updated"
16 PASS form.reset(); textarea.value is "default 5"
17 PASS textarea.removeChild(textarea.firstChild); textarea.appendChild(document.createTextNode("default 6")); textarea.value is "default 6"
18 PASS successfullyParsed is true