commit | 40117b7f1d1019e3909ae5807a58ccd80e23d021 | [log] [tgz] |
---|---|---|
author | Jaebaek Seo <[email protected]> | Fri Nov 03 05:37:48 2017 |
committer | Commit Bot <[email protected]> | Fri Nov 03 05:37:48 2017 |
tree | 741b6e1057c19a831742377716a0d88fe83fe4ef | |
parent | 09ce14c7d3c8ef1dd4e7e32fc1ed043b703d8da9 [diff] |
Adjust AnchorRect of DropdownPopup for --use-zoom-for-dsf As shown in crbug.com/737777#c44, the position of DropdownPopup for select and option html tags are weird. It is because ViewAndroid::SetAnchorRect() scales the AnchorRect by the devices scale factor (DSF). Since lenghts in this function was scaled by DSF already, the scale in this function results in the double scale. This CL makes the AnchorRect not scaled if --use-zoom-for-dsf is enabled. Bug: 737777 Change-Id: I339f8381ccb1a410ff08e57e4717129df42e3022 Reviewed-on: https://chromium-review.googlesource.com/737772 Reviewed-by: Ted Choc <[email protected]> Reviewed-by: Bo <[email protected]> Reviewed-by: Jinsuk Kim <[email protected]> Commit-Queue: Jaebaek Seo <[email protected]> Cr-Commit-Position: refs/heads/master@{#513700}
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 .