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

Unified Diff: LayoutTests/fast/forms/radio-checkbox-events-order-expected.txt

Issue 1188763002: Click event should be fired before change events for checkbox and radio button. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 6 months 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/forms/radio-checkbox-events-order-expected.txt
diff --git a/LayoutTests/fast/forms/radio-checkbox-events-order-expected.txt b/LayoutTests/fast/forms/radio-checkbox-events-order-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..a1261e6bc625adfbb11dc16c7dece729b5752c28
--- /dev/null
+++ b/LayoutTests/fast/forms/radio-checkbox-events-order-expected.txt
@@ -0,0 +1,50 @@
+Tests the order of onclick and onchange
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS message is ""
+PASS message is "clicked"
+PASS message is "changed"
+PASS checkbox1.checked is true
+PASS message is ""
+PASS message is "clicked"
+PASS message is "changed"
+PASS checkbox1.checked is false
+PASS message is ""
+PASS message is "clicked"
+PASS checkbox2.checked is false
+PASS message is ""
+PASS message is "clicked"
+PASS message is "changed"
+PASS checkbox1.checked is true
+PASS message is ""
+PASS message is "clicked"
+PASS message is "changed"
+PASS checkbox1.checked is false
+PASS message is ""
+PASS message is "clicked"
+PASS checkbox2.checked is false
+PASS message is ""
+PASS message is "clicked"
+PASS message is "changed"
+PASS radio1.checked is true
+PASS message is ""
+PASS message is "clicked"
+PASS radio1.checked is true
+PASS message is ""
+PASS message is "clicked"
+PASS radio2.checked is false
+PASS message is ""
+PASS message is "clicked"
+PASS message is "changed"
+PASS radio1.checked is true
+PASS message is ""
+PASS radio1.checked is true
+PASS message is ""
+PASS message is "clicked"
+PASS radio2.checked is false
+PASS successfullyParsed is true
+
+TEST COMPLETE
+

Powered by Google App Engine
This is Rietveld 408576698