Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(292)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/textarea/textarea-set-defaultvalue-after-value-expected.txt

Issue 1524663002: Move textarea-related tests to fast/forms/textarea/, part 2. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698