Index: third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp |
diff --git a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp |
index f30b2e6a4069c1732346c1da9a168e1ad5512ce6..bd286ca9c4e0c8c55a5f62c3a7e332176d7d6885 100644 |
--- a/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp |
+++ b/third_party/WebKit/Source/core/html/forms/BaseCheckableInputType.cpp |
@@ -88,6 +88,11 @@ void BaseCheckableInputType::accessKeyAction(bool sendMouseEvents) |
element().dispatchSimulatedClick(0, sendMouseEvents ? SendMouseUpDownEvents : SendNoEvents); |
} |
+bool BaseCheckableInputType::matchesDefaultPseudoClass() |
+{ |
+ return element().fastHasAttribute(checkedAttr); |
+} |
+ |
String BaseCheckableInputType::fallbackValue() const |
{ |
return "on"; |