-
Notifications
You must be signed in to change notification settings - Fork 1.6k
[visionOS] Gaze glow shape is incorrect for elements with associated label and non-uniform border radii or clip path #47168
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
EWS run on previous version of this PR (hash c8fbb2f) |
This should be testable, or maybe need a rebaseline somewhere. See |
Yes please! |
c8fbb2f
to
62474b9
Compare
EWS run on previous version of this PR (hash 62474b9) |
Added tests 😄 @pxlcoder @etiennesegonzac |
62474b9
to
276b380
Compare
EWS run on previous version of this PR (hash 276b380) |
276b380
to
5685983
Compare
EWS run on current version of this PR (hash 5685983) |
…label and non-uniform border radii or clip path https://bugs.webkit.org/show_bug.cgi?id=294952 rdar://154258426 Reviewed by Abrar Rahman Protyasha. During the shrink wrapping of interaction regions, we previously collected the rect of each discovered region, and then set the clip path equal to the result of `pathWithShrinkWrappedRects` with the collected rects passed as a parameter. Now, for each discovered region, we only add its rect to the collection if the region does not have a clip path. If a clip path is present, we add it a collection of clip paths. The final clip path is then set to a path consisting of all of the discovered clip paths + the result of `pathWithShrinkWrappedRect` for the collected rects. * LayoutTests/interaction-region/clip-path-with-label-expected.txt: Added. * LayoutTests/interaction-region/clip-path-with-label.html: Added. * Source/WebCore/rendering/EventRegion.cpp: (WebCore::EventRegionContext::shrinkWrapInteractionRegions): Canonical link: https://commits.webkit.org/296646@main
5685983
to
b1e40d1
Compare
Committed 296646@main (b1e40d1): https://commits.webkit.org/296646@main Reviewed commits have been landed. Closing PR #47168 and removing active labels. |
b1e40d1
5685983
🛠 wpe-cairo🧪 mac-AS-debug-wk2🛠 playstation