| Index: Source/core/css/resolver/StyleAdjuster.cpp
|
| diff --git a/Source/core/css/resolver/StyleAdjuster.cpp b/Source/core/css/resolver/StyleAdjuster.cpp
|
| index d83982e5538169dae5244286d250138da522756d..c364b0db535fa8993c5a3b4f7ffdb48e5f9f9f44 100644
|
| --- a/Source/core/css/resolver/StyleAdjuster.cpp
|
| +++ b/Source/core/css/resolver/StyleAdjuster.cpp
|
| @@ -407,27 +407,6 @@ void StyleAdjuster::adjustOverflow(RenderStyle* style, Element* element)
|
| style->setOverflowX(OVISIBLE);
|
| style->setOverflowY(OVISIBLE);
|
| }
|
| -
|
| - // Spec: http://www.w3.org/TR/SVG/masking.html#OverflowProperty
|
| - 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);
|
| -
|
| - if (style->overflowX() == style->overflowY())
|
| - return;
|
| -
|
| - if (style->overflowX() != OVISIBLE)
|
| - style->setOverflowX(OVISIBLE);
|
| - else
|
| - style->setOverflowY(OVISIBLE);
|
| - }
|
| }
|
|
|
| void StyleAdjuster::adjustStyleForDisplay(RenderStyle* style, RenderStyle* parentStyle)
|
|
|