| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index 1c4b469b4c3c499e696f0593b989f1d6c002eae8..0e790b65d43208dc0857d784c6b09d5dcb2df4c3 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -527,11 +527,12 @@ void FrameView::applyOverflowToViewportAndSetRenderer(RenderObject* o, Scrollbar
|
| EOverflow overflowY = o->style()->overflowY();
|
|
|
| if (o->isSVGRoot()) {
|
| - // overflow is ignored in stand-alone SVG documents.
|
| - if (!toRenderSVGRoot(o)->isEmbeddedThroughFrameContainingSVGDocument())
|
| - return;
|
| - overflowX = OHIDDEN;
|
| - overflowY = OHIDDEN;
|
| + // FIXME: evaluate if we can allow overflow for these cases too.
|
| + // Overflow is always hidden when stand-alone SVG documents are embedded.
|
| + if (toRenderSVGRoot(o)->isEmbeddedThroughFrameContainingSVGDocument()) {
|
| + overflowX = OHIDDEN;
|
| + overflowY = OHIDDEN;
|
| + }
|
| }
|
|
|
| bool ignoreOverflowHidden = false;
|
|
|