| Index: third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
|
| diff --git a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
|
| index cabca2c1c9c6e0f596ff47b762509922b00891f9..b62cac2a37481214d864a3459dbc508389f860fe 100644
|
| --- a/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
|
| +++ b/third_party/WebKit/Source/core/css/resolver/StyleAdjuster.cpp
|
| @@ -349,6 +349,14 @@ void StyleAdjuster::adjustStyleForHTMLElement(ComputedStyle& style, const Comput
|
| return;
|
| }
|
|
|
| + if (isHTMLFrameElementBase(element)) {
|
| + // Frames cannot overflow (they are always the size we ask them to be).
|
| + // Some compositing code paths may try to draw scrollbars anyhow.
|
| + style.setOverflowX(OverflowVisible);
|
| + style.setOverflowY(OverflowVisible);
|
| + return;
|
| + }
|
| +
|
| if (isHTMLRTElement(element)) {
|
| // Ruby text does not support float or position. This might change with evolution of the specification.
|
| style.setPosition(StaticPosition);
|
|
|