Bug 258168

Summary: Mask clipping determination insufficient for <use> elements
Product: WebKit Reporter: Nikolas Zimmermann <zimmermann>
Component: SVGAssignee: Nikolas Zimmermann <zimmermann>
Status: RESOLVED FIXED    
Severity: Normal CC: mario, rbuis, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Description Nikolas Zimmermann 2023-06-15 15:41:03 PDT
To determine if we need mask clipping or can use path clipping, we query the renderer for certain properties. This is insufficient for <use> elements, we have to also consider the referenced element in these checks --> otherwise path clipping will be used, where mask clipping was necessary (net result: hidden object, clipping appears broken)
Comment 1 Nikolas Zimmermann 2023-06-15 15:56:27 PDT
Pull request: https://github.com/WebKit/WebKit/pull/15026
Comment 2 EWS 2023-06-16 04:46:30 PDT
Committed 265238@main (df148384b18a): <https://commits.webkit.org/265238@main>

Reviewed commits have been landed. Closing PR #15026 and removing active labels.
Comment 3 Radar WebKit Bug Importer 2023-06-16 04:47:17 PDT
<rdar://problem/110894446>