commit | bd89a9920f3bd62627a8741b77fad61360264cf1 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Tue Sep 11 00:35:34 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Sep 11 00:35:34 2018 |
tree | 76396d2d1dae24f7061e7af9852115c717bef359 | |
parent | 91a72415bc2502c85148328eedf00e5b297cafa2 [diff] |
[LayoutNG] Fix scrollWidth/scrollLeft on RTL when box is narrow When the scrollbar is on left and the box is narrower than the scrollbar, the scrollbar overflows to left. LayoutBox::AddLayoutOverflow() expects the overflow adjusted by the amount the scrollbar overflows. This affects a jQuery plugin that detects RTL scroll type[1]. [1] https://github.com/othree/jquery.rtl-scroll-type Bug: 635619 Cq-Include-Trybots: luci.chromium.try:linux_layout_tests_layout_ng Change-Id: I70e7b1ecc20857ff10687afd7d5e3b7d70afb2dc Reviewed-on: https://chromium-review.googlesource.com/1215365 Reviewed-by: Emil A Eklund <eae@chromium.org> Reviewed-by: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Aleks Totic <atotic@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/master@{#590138}
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 .