Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug in IntersectionObserver for SVG elements with viewbox
Allowing intersection observer to work with SVG elements created a bug as the function MapToVisualRectInAncestorSpace doesn't map from viewbox coordinates to the SVG elements coordinates. This patch adds code to fix this problem Bug: 1502965 Change-Id: I86123ed256f537a8840a3d3e74edacf27a2367bb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5041547 Auto-Submit: Yotam Hacohen <yotha@chromium.org> Commit-Queue: Yotam Hacohen <yotha@chromium.org> Reviewed-by: Stefan Zager <szager@chromium.org> Commit-Queue: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/main@{#1226418}
- Loading branch information