Bug 301280

Summary: [SVG2] Allow <foreignObject> and HTML elements to be cloned to the shadow tree of the <use> element
Product: WebKit Reporter: Said Abou-Hallawa <sabouhallawa>
Component: SVGAssignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: karlcow, psychpsyo, sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Said Abou-Hallawa
Reported 2025-10-22 09:19:14 PDT
SVG2 made it possible for the <use> element to clone many elements that were previously disallowed, such as <foreignObject> [1]. The new WPT test will verify this new change in the SVG2 specs [2]. [1]: https://svgwg.org/svg2-draft/struct.html#UseElement:~:text=Previous%20versions%20of%20SVG,subtree%20to%20be%20cloned [2]: https://github.com/web-platform-tests/wpt/pull/55576
Attachments
Robert Longson
Comment 1 2025-10-29 06:16:39 PDT
Be careful of https://bugzilla.mozilla.org/show_bug.cgi?id=1754522 when implementing this.
Radar WebKit Bug Importer
Comment 2 2025-10-29 09:20:13 PDT
Note You need to log in before you can comment on or make changes to this bug.