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

Unified Diff: third_party/WebKit/Source/core/html/HTMLOptGroupElement.cpp

Issue 1914933003: output should not match to :enabled or :disabled pseudo classes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated as per review comments Created 4 years, 8 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: 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..ac444a776dba0f03c49f7c2c8d44ebd0d4ed8390 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 true;
+}
+
void HTMLOptGroupElement::updateNonComputedStyle()
{
m_style = originalStyleForLayoutObject();

Powered by Google App Engine
This is Rietveld 408576698