Git init
[framework/web/webkit-efl.git] / LayoutTests / fast / forms / textfield-lastchange-was-useredit-expected.txt
1 This test ensures WebKit returns correct values for HTMLInputElement.lastChangeWasUserEdit and HTMLTextAreaElement.lastChangeWasUserEdit, which are exposed via WebKit API.
2
3 input
4 PASS internals.wasLastChangeUserEdit(textField) is false
5 PASS textField.value = "hello"; internals.wasLastChangeUserEdit(textField) is false
6 PASS document.execCommand("InsertText", false, " world"); internals.wasLastChangeUserEdit(textField) is true
7 PASS textField.style.display = "none"; internals.wasLastChangeUserEdit(textField) is true
8 PASS textField.value = "WebKit"; internals.wasLastChangeUserEdit(textField) is false
9 PASS textField.style.display = null; internals.wasLastChangeUserEdit(textField) is false
10 PASS document.execCommand("SelectAll", false, null); internals.wasLastChangeUserEdit(textField) is false
11 PASS document.execCommand("Delete", false, null); internals.wasLastChangeUserEdit(textField) is true
12
13 textarea
14 PASS internals.wasLastChangeUserEdit(textField) is false
15 PASS textField.value = "hello"; internals.wasLastChangeUserEdit(textField) is false
16 PASS document.execCommand("InsertText", false, " world"); internals.wasLastChangeUserEdit(textField) is true
17 PASS textField.style.display = "none"; internals.wasLastChangeUserEdit(textField) is true
18 PASS textField.value = "WebKit"; internals.wasLastChangeUserEdit(textField) is false
19 PASS textField.style.display = null; internals.wasLastChangeUserEdit(textField) is false
20 PASS document.execCommand("SelectAll", false, null); internals.wasLastChangeUserEdit(textField) is false
21 PASS document.execCommand("Delete", false, null); internals.wasLastChangeUserEdit(textField) is true
22 PASS textField.textContent = "hello\nworld"; internals.wasLastChangeUserEdit(textField) is false
23 PASS document.execCommand("InsertText", false, "\nWebKit rocks"); internals.wasLastChangeUserEdit(textField) is true
24 PASS textField.innerText = " WebKit "; internals.wasLastChangeUserEdit(textField) is false
25 PASS successfullyParsed is true
26
27 TEST COMPLETE
28