Index: third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp |
diff --git a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp |
index b00f2d1360a6aee8e10dc94e3f19049a8e1724f7..09e3bd3a95c1747d75105bf2cac9ebfdae007eea 100644 |
--- a/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp |
+++ b/third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp |
@@ -106,6 +106,11 @@ bool HTMLOptGroupElement::supportsFocus() const |
return HTMLElement::supportsFocus(); |
} |
+bool HTMLOptGroupElement::matchesEnabledPseudoClass() const |
+{ |
+ return !isDisabledFormControl(); |
+} |
+ |
void HTMLOptGroupElement::updateNonComputedStyle() |
{ |
m_style = originalStyleForLayoutObject(); |