Index: Source/core/dom/Element.cpp |
diff --git a/Source/core/dom/Element.cpp b/Source/core/dom/Element.cpp |
index 6603f42fd0700ea5c6fe48be28e9464b15a89ea1..716a46dbc3e2f848f772e50fc5d837fa3fdbb55b 100644 |
--- a/Source/core/dom/Element.cpp |
+++ b/Source/core/dom/Element.cpp |
@@ -3360,11 +3360,6 @@ bool Element::supportsStyleSharing() const |
|| isHTMLAppletElement(*this) |
|| isHTMLCanvasElement(*this)) |
return false; |
- // FIXME: We should share style for option and optgroup whenever possible. |
- // Before doing so, we need to resolve issues in HTMLSelectElement::recalcListItems |
- // and RenderMenuList::setText. See also https://bugs.webkit.org/show_bug.cgi?id=88405 |
- if (isHTMLOptionElement(*this) || isHTMLOptGroupElement(*this)) |
- return false; |
if (FullscreenElementStack::isActiveFullScreenElement(this)) |
return false; |
return true; |