commit | e96bb0f367ba84763a6b496b25d403f98977a38c | [log] [tgz] |
---|---|---|
author | Fredrik Söderquist <fs@opera.com> | Fri Feb 16 23:09:08 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Feb 16 23:09:08 2024 |
tree | 5f5fb4980a24e17860d60ae4fa93dd992c01f7f9 | |
parent | 7a42dd910cc178cf2a951a0f70064fda63444ef2 [diff] |
Move SVG geometry hit-test code into HitTestLocation Adds the following methods: HitTestLocation::IntersectsStroke HitTestLocation::IntersectsEllipse HitTestLocation::IntersectsCircleStroke HitTestLocation::Intersects(const Path&, WindRule) HitTestLocation::Intersects(const Path&) based on the code from LayoutSVGShape/Rect/Ellipse. Also extend TransformedHitTestLocation with a "forward" mode for use in LayoutSVGShape. This is in preparation for adding proper rect-based hit-testing for these codepaths, and use that to address the referenced bug. Bug: 40364016 Change-Id: I5067443520f915a7dc28dbd5cb6e493949a7bed3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5294058 Auto-Submit: Fredrik Söderquist <fs@opera.com> Commit-Queue: Stefan Zager <szager@chromium.org> Reviewed-by: Stefan Zager <szager@chromium.org> Cr-Commit-Position: refs/heads/main@{#1261951}
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.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure.
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.