Chromium Code Reviews| 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()) { |
|
fs
2014/04/15 15:43:07
Doesn't this removal require changes elsewhere? (S
Erik Dahlström (inactive)
2014/04/16 15:53:49
It does, SVGRenderSuppoert::isOverflowHidden shoul
|
| - 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) |