Index: Source/core/css/resolver/StyleAdjuster.cpp |
diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp |
index af6781c43bd74a6c12c5b9dd969821141eac7187..92a74bb12c7dfa7c9d0ef85c6ea39b89cb8582c2 100644 |
--- a/Source/core/css/resolver/StyleAdjuster.cpp |
+++ b/Source/core/css/resolver/StyleAdjuster.cpp |
@@ -412,13 +412,9 @@ void StyleAdjuster::adjustOverflow(RenderStyle* style, Element* element) |
if (element && element->isSVGElement()) { |
if (style->overflowY() == OSCROLL) |
style->setOverflowY(OHIDDEN); |
- else if (style->overflowY() == OAUTO) |
- style->setOverflowY(OVISIBLE); |
if (style->overflowX() == OSCROLL) |
style->setOverflowX(OHIDDEN); |
- else if (style->overflowX() == OAUTO) |
- style->setOverflowX(OVISIBLE); |
} |
} |