Index: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
index 406d71f0bdece217b9e7e58b06cb659a1e67f55f..8fc8befea55ac327cf423f04da6528a498fadb97 100644 |
--- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -388,11 +388,6 @@ void StyleAdjuster::adjustStyleForHTMLElement(ComputedStyle& style, const Comput |
return; |
} |
- if (isHTMLLegendElement(element)) { |
- style.setDisplay(BLOCK); |
- return; |
- } |
- |
if (isHTMLMarqueeElement(element)) { |
// For now, <marquee> requires an overflow clip to work properly. |
style.setOverflowX(OHIDDEN); |