OLD | NEW |
1 Tests to check behaviors of dirty flag and defaultValue change. | 1 Tests to check behaviors of dirty flag and defaultValue change. |
2 | 2 |
3 PASS document.execCommand("InsertText", false, "user-updated"); textarea.value i
s "user-updated" | 3 PASS document.execCommand("InsertText", false, "user-updated"); textarea.value i
s "user-updated" |
4 PASS textarea.defaultValue = "default 2"; 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" | 5 PASS form.reset(); textarea.value is "default 2" |
6 PASS textarea.defaultValue = "default 3"; textarea.value is "default 3" | 6 PASS textarea.defaultValue = "default 3"; textarea.value is "default 3" |
7 PASS textarea.value = "script-updated"; textarea.value is "script-updated" | 7 PASS textarea.value = "script-updated"; textarea.value is "script-updated" |
8 PASS textarea.defaultValue = "default 4"; 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" | 9 PASS form.reset(); textarea.value is "default 4" |
10 PASS textarea.value = "script-updated"; textarea.value is "script-updated" | 10 PASS textarea.value = "script-updated"; textarea.value is "script-updated" |
11 PASS textarea.innerHTML = "default 5"; 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" | 12 PASS form.reset(); textarea.value is "default 5" |
13 PASS textarea.innerHTML = "default 6"; textarea.value is "default 6" | 13 PASS textarea.innerHTML = "default 6"; textarea.value is "default 6" |
14 PASS textarea.value = "script-updated"; textarea.value is "script-updated" | 14 PASS textarea.value = "script-updated"; textarea.value is "script-updated" |
15 PASS textarea.removeChild(textarea.firstChild); textarea.appendChild(document.cr
eateTextNode("default 5")); textarea.value is "script-updated" | 15 PASS textarea.removeChild(textarea.firstChild); textarea.appendChild(document.cr
eateTextNode("default 5")); textarea.value is "script-updated" |
16 PASS form.reset(); textarea.value is "default 5" | 16 PASS form.reset(); textarea.value is "default 5" |
17 PASS textarea.removeChild(textarea.firstChild); textarea.appendChild(document.cr
eateTextNode("default 6")); textarea.value is "default 6" | 17 PASS textarea.removeChild(textarea.firstChild); textarea.appendChild(document.cr
eateTextNode("default 6")); textarea.value is "default 6" |
18 PASS successfullyParsed is true | 18 PASS successfullyParsed is true |
19 | 19 |
20 TEST COMPLETE | 20 TEST COMPLETE |
21 | 21 |
OLD | NEW |