commit | 6846eee179c8e25fcd4a16f56ce857ab952026cc | [log] [tgz] |
---|---|---|
author | Steve Kobes <skobes@chromium.org> | Sat Feb 10 03:08:15 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Sat Feb 10 03:08:15 2018 |
tree | bd7ce42fac5d68d11b7debc130c5bb03b37641ca | |
parent | 19a5598a44e61beaff166d04bc2efa45c977d0de [diff] |
RLS: Fix scroll offsets on RTL pages with horizontal overflow. Clamping the root PLSA should be done after the FrameView is resized, because the size of the FrameView determines the scroll bounds of the layout viewport (through LayoutView::OverflowClipRect). This fixes two symptoms: - incorrect initial scroll offset on Android, where the FrameView's width at construction time is the 980px layout fallback width - failure to preserve scroll offset during window resize on desktop, since the clamping was based on the previous size Bug: 807987 Change-Id: I6a6d2a25879fe8e89d3e1d6b958b3e6754c0108e Reviewed-on: https://chromium-review.googlesource.com/911946 Reviewed-by: David Bokan <bokan@chromium.org> Commit-Queue: Steve Kobes <skobes@chromium.org> Cr-Commit-Position: refs/heads/master@{#535946}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .