commit | e47e6e98afe2de2d737ac7827e9309430e68b60b | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Wed Oct 31 16:10:51 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 31 16:10:51 2018 |
tree | 2fd5ffcf9eb79d181fa50195dbf21d3f780979b0 | |
parent | 1a043b3a8f5beabbdcfe521d08ea45d96b2bb14a [diff] |
Fix ancestor bounding box for "disabled" <foreignObject> and <image> Per: "A value of zero for either width or height disables rendering of the element and its embedded content." (https://svgwg.org/svg2-draft/embedded.html#Placement) and: "For each descendant graphics element child of parent: * If child is not rendered then continue to the next descendant graphics element." (https://svgwg.org/svg2-draft/coords.html#BoundingBoxes) <foreignObject> / <image> with 'width' or 'height' zero should not contribute to an ancestor container's bounding box. Bug: 643493 Change-Id: I097d9d28faaa52fc793dab251f22bc7b2610d6ad Reviewed-on: https://chromium-review.googlesource.com/c/1309773 Reviewed-by: Stephen Chenney <schenney@chromium.org> Commit-Queue: Fredrik Söderquist <fs@opera.com> Cr-Commit-Position: refs/heads/master@{#604276}
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 .