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

Unified Diff: LayoutTests/fast/forms/checkbox-onchange.html

Issue 255163002: Dispatch change event for input type=checkbox when checked but value is null (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Moved shouldDispatchFormControlChangeEvent as private/protected function and moved shouldDispatch t… Created 6 years, 7 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
« no previous file with comments | « no previous file | LayoutTests/fast/forms/checkbox-onchange-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/forms/checkbox-onchange.html
diff --git a/LayoutTests/fast/forms/checkbox-onchange.html b/LayoutTests/fast/forms/checkbox-onchange.html
index 164eb3593c0a1cd287e5726699f44db532eb716c..cac4ea0880b63439057e16764b0932f62279455d 100644
--- a/LayoutTests/fast/forms/checkbox-onchange.html
+++ b/LayoutTests/fast/forms/checkbox-onchange.html
@@ -5,6 +5,7 @@
</head>
<body>
<input type="checkbox" id="ch" onchange="handleChange()">
+<input type="checkbox" id="ch1" value="" onchange="handleChange()">
<script>
description("This is to test onchange of checkboxes");
@@ -13,6 +14,7 @@ function handleChange() {
}
document.getElementById('ch').click();
+document.getElementById('ch1').click();
</script>
</body>
</html>
« no previous file with comments | « no previous file | LayoutTests/fast/forms/checkbox-onchange-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698