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

Unified Diff: Source/core/html/forms/RadioButtonGroupScope.cpp

Issue 394433002: Add :indeterminate pseudo class support for radio button input (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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: Source/core/html/forms/RadioButtonGroupScope.cpp
diff --git a/Source/core/html/forms/RadioButtonGroupScope.cpp b/Source/core/html/forms/RadioButtonGroupScope.cpp
index 92909e3a87a533053dec50ffff73d0ea2bbfaed1..f14ad3a541a397e21e214d314e8d6db64e370cc7 100644
--- a/Source/core/html/forms/RadioButtonGroupScope.cpp
+++ b/Source/core/html/forms/RadioButtonGroupScope.cpp
@@ -112,6 +112,11 @@ void RadioButtonGroup::updateCheckedState(HTMLInputElement* button)
}
if (wasValid != isValid())
setNeedsValidityCheckForAllButtons();
+ typedef WillBeHeapHashSet<RawPtrWillBeMember<HTMLInputElement> >::const_iterator Iterator;
+ Iterator end = m_members.end();
+ for (Iterator it = m_members.begin(); it != end; ++it) {
+ (*it)->didAffectSelector(AffectedSelectorChecked);
+ }
}
void RadioButtonGroup::requiredAttributeChanged(HTMLInputElement* button)

Powered by Google App Engine
This is Rietveld 408576698