| Index: Source/web/WebViewImpl.cpp
|
| diff --git a/Source/web/WebViewImpl.cpp b/Source/web/WebViewImpl.cpp
|
| index 9f8c31ff244cd5c6fcd84ac10f547d188cc6ce3f..a591d601da6ded00093062a5dcf09ae1723265a1 100644
|
| --- a/Source/web/WebViewImpl.cpp
|
| +++ b/Source/web/WebViewImpl.cpp
|
| @@ -3103,6 +3103,9 @@ void WebViewImpl::updateMainFrameLayoutSize()
|
| if (settings()->viewportEnabled())
|
| layoutSize = flooredIntSize(m_pageScaleConstraintsSet.pageDefinedConstraints().layoutSize);
|
|
|
| + if (page()->settings().forceZeroLayoutHeight())
|
| + layoutSize.height = 0;
|
| +
|
| view->setLayoutSize(layoutSize);
|
| }
|
|
|
|
|