commit | db77ccc75007851a9b51b2e64c548348520738be | [log] [tgz] |
---|---|---|
author | Peter Kasting <pkasting@chromium.org> | Mon Oct 30 21:21:24 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 30 21:21:24 2023 |
tree | b3be2dfd0ca60e03542c4729ec93d7a9853449f1 | |
parent | 966e2f624e8ca0768d1fad5e7bd7ad400a5daf61 [diff] |
Paint horizontal separators properly on Win 11 with fractional DSFs. The hack I'm removing here was apparently added to make precisely this case work. I don't know what changed in the decade since that makes it unnecessary; probably how we apply transforms to clip rects. But in any case, when a separator is only 1 px high to begin with, offsetting by 1 is going to push the separator off the bottom of the clip, so this can't be right. If removing this hack breaks some other case of separators with fractional DSFs, we need a different fix. Bug: 1472263 Change-Id: I0c0ba4dce4f566091a1034861f5a4179b79cb10e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4989015 Reviewed-by: Allen Bauer <kylixrd@chromium.org> Commit-Queue: Allen Bauer <kylixrd@chromium.org> Auto-Submit: Peter Kasting <pkasting@chromium.org> Cr-Commit-Position: refs/heads/main@{#1217198}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.