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 6cf8d9a808f6b5de43d37dad951d2527bd40238c..035c76b4448b94c1c40045cdaf0a330d94e89536 100644 |
| --- a/Source/core/css/resolver/StyleAdjuster.cpp |
| +++ b/Source/core/css/resolver/StyleAdjuster.cpp |
| @@ -275,11 +275,6 @@ void StyleAdjuster::adjustRenderStyle(RenderStyle* style, RenderStyle* parentSty |
| if (!(isSVGSVGElement(*e) && e->parentNode() && !e->parentNode()->isSVGElement())) |
| style->setPosition(RenderStyle::initialPosition()); |
| - // RenderSVGRoot handles zooming for the whole SVG subtree, so foreignObject content should |
| - // not be scaled again. |
| - if (isSVGForeignObjectElement(*e)) |
| - style->setEffectiveZoom(RenderStyle::initialZoom()); |
|
rune
2014/06/03 19:34:33
I don't understand how you can just remove this an
|
| - |
| // SVG text layout code expects us to be a block-level style element. |
| if ((isSVGForeignObjectElement(*e) || isSVGTextElement(*e)) && style->isDisplayInlineType()) |
| style->setDisplay(BLOCK); |