commit | ca22cae3aaa1352f584450c95fabd0fc9a25c2fb | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Tue Feb 05 14:29:24 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Feb 05 14:29:24 2019 |
tree | 1b77f018d15e95df3752767321332682e6b235a0 | |
parent | b6fe8d849ae6bfd4eb6b43f8fa764c7d8ffe63fc [diff] |
Fix rounding for border-image-width after scaling adjustment The scaling of the various edges/widths would always round down, which meant that edges that were supposed to be abutting were not. Round the scaled width instead, but take care to avoid introducing a new overlap (which we scaled down to avoid). Use LayoutUnits for this since we probably want to just compute the widths to LayoutUnit directly in the future for slightly improved fidelity (TODO added). Also, fix typo in |include_rigt_edge|. Bug: 918994 Change-Id: I359fd54d30ddcfa235217e14f340cd6139e9d040 Reviewed-on: https://chromium-review.googlesource.com/c/1452183 Commit-Queue: Fredrik Söderquist <fs@opera.com> Reviewed-by: Stephen Chenney <schenney@chromium.org> Cr-Commit-Position: refs/heads/master@{#629133}
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 .