Index: Source/core/html/forms/RadioInputType.cpp |
diff --git a/Source/core/html/forms/RadioInputType.cpp b/Source/core/html/forms/RadioInputType.cpp |
index 9bfe52d6d293d4df45ee6b9b75fb52ab24a1f74e..f7c59f12673eb8f737f6f6b9ef46c28a103a84c8 100644 |
--- a/Source/core/html/forms/RadioInputType.cpp |
+++ b/Source/core/html/forms/RadioInputType.cpp |
@@ -197,7 +197,12 @@ bool RadioInputType::isRadioButton() const |
bool RadioInputType::supportsIndeterminateAppearance() const |
{ |
- return false; |
+ return true; |
+} |
+ |
+bool RadioInputType::shouldAppearIndeterminate() const |
+{ |
+ return !element().checkedRadioButtonForGroup(); |
} |
} // namespace WebCore |