Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit bcfd23a5 authored by Shimeng (Simon) Wang's avatar Shimeng (Simon) Wang Committed by Android (Google) Code Review
Browse files

Merge "Use max of content width and initial preferred width as the viewport."

parents 141e00c2 77fdaaa3
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -1831,7 +1831,7 @@ final class WebViewCore {
                    mSettings.getUseWideViewPort()) {
                    // Use website's initial preferred width as the fixed viewport width.
                    mViewportWidth = Math.min(mSettings.getMaxFixedViewportWidth(),
                        draw.mMinPrefWidth);
                        Math.max(draw.mWidthHeight.x, draw.mMinPrefWidth));
                    draw.mViewState.mViewportWidth = mViewportWidth;
                }
                mInitialViewState = null;