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

Unified Diff: Source/WebCore/html/CheckboxInputType.cpp

Issue 9805002: Revert 105710 - Introduce RadioButtonGroup class to keep track of the group members and required st… (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 9 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 | « Source/WebCore/dom/CheckedRadioButtons.cpp ('k') | Source/WebCore/html/FileInputType.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/WebCore/html/CheckboxInputType.cpp
===================================================================
--- Source/WebCore/html/CheckboxInputType.cpp (revision 111481)
+++ Source/WebCore/html/CheckboxInputType.cpp (working copy)
@@ -51,7 +51,7 @@
bool CheckboxInputType::valueMissing(const String&) const
{
- return element()->required() && !element()->checked();
+ return !element()->checked();
}
String CheckboxInputType::valueMissingText() const
« no previous file with comments | « Source/WebCore/dom/CheckedRadioButtons.cpp ('k') | Source/WebCore/html/FileInputType.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698