commit | acc79f1cd39645d800757d7cfb09e4740a89ceab | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Tue Dec 04 21:13:23 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Tue Dec 04 21:13:23 2018 |
tree | 7cb5add9a5bb0ed3acba45577157a0373e5042ef | |
parent | 5079280b8b709811bb939fd3030f7c521fd0a31d [diff] |
Clamp contents visual overflow for LayoutSVGRoot If the contents overflow rect for the SVG root is too large, it could end up shifting the overflow rect such that it is culled and thus never painted. To avoid this, clip the content overflow rect with LayoutRect::InfiniteIntRect(). This gives reasonable enough leeway, and also matches the rect that is commonly used to represent infinity for culling and clipping etc. Bug: 911186 Change-Id: I22d505ac0582f4d1fe6ac3ead9041c4a87176994 Reviewed-on: https://chromium-review.googlesource.com/c/1361225 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#613692}
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 .