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

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

Issue 842153002: 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, 8 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..d3245ac932956449f6a5cebc06440bd2c1784c0f
--- /dev/null
+++ b/LayoutTests/fast/forms/radio-checkbox-events-order-expected.txt
@@ -0,0 +1,37 @@
+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 "checked"
+PASS checkbox1.checked is true
+PASS message is ""
+PASS message is "clicked"
+PASS checkbox2.checked is false
+PASS message is ""
+PASS message is "clicked"
+PASS message is "checked"
+PASS checkbox1.checked is true
+PASS message is ""
+PASS message is "clicked"
+PASS checkbox2.checked is false
+PASS message is ""
+PASS message is "clicked"
+PASS message is "checked"
+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 "checked"
+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