Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index cce0938458ab0b7838fbc8fc4700fc618de0850f..c8ed43733d652adb1537117c970ded96f706be73 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -411,16 +411,6 @@ void StyleAdjuster::adjustOverflow(RenderStyle* style) |
style->setOverflowY(OAUTO); |
} |
- // Table rows, sections and the table itself will support overflow:hidden and will ignore scroll/auto. |
- // FIXME: Eventually table sections will support auto and scroll. |
- if (style->display() == TABLE || style->display() == INLINE_TABLE |
- || style->display() == TABLE_ROW_GROUP || style->display() == TABLE_ROW) { |
- if (style->overflowX() != OVISIBLE && style->overflowX() != OHIDDEN) |
- style->setOverflowX(OVISIBLE); |
- if (style->overflowY() != OVISIBLE && style->overflowY() != OHIDDEN) |
- style->setOverflowY(OVISIBLE); |
- } |
- |
// Menulists should have visible overflow |
if (style->appearance() == MenulistPart) { |
style->setOverflowX(OVISIBLE); |