commit | 149cdc4953ce712b6267a814fd704968ab95e6ef | [log] [tgz] |
---|---|---|
author | Karl Anders Øygard <karlo@opera.com> | Tue Oct 10 12:20:09 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Oct 10 12:20:09 2017 |
tree | 8cff9727682dab1035f1a6843e5cc4e096c15c02 | |
parent | 97069a2b091f47a172acd0fd278cd1e26d4ba78f [diff] |
Make sure that the border width isn't larger than the border box. The border box is subject to pixel snapping, but the border width is rounded. If the border box snaps down and the border width rounds up, overpainting can occur. The border widths are now clamped to the corresponding border box dimension to prevent this. This behavior is in line with Edge. BUG=739431 Cq-Include-Trybots: master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 Change-Id: I622d721579a0aad8109900268ca88d5cd85dd11e Reviewed-on: https://chromium-review.googlesource.com/695109 Commit-Queue: Karl Anders Øygard <karlo@opera.com> Reviewed-by: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#507644}
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 .