Bug 312961

Summary: WPT testcase for deselectAll() on SVGSVGElement Interface
Product: WebKit Reporter: Karl Dubost <karlcow>
Component: SVGAssignee: Karl Dubost <karlcow>
Status: RESOLVED FIXED    
Severity: Normal CC: sabouhallawa, webkit-bug-importer, zimmermann
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://github.com/web-platform-tests/wpt/pull/59395

Karl Dubost
Reported 2026-04-21 22:05:51 PDT
See https://github.com/w3c/svgwg/issues/1095 As currently defined in the SVG2 specification: https://w3c.github.io/svgwg/svg2-draft/struct.html#__svg__SVGSVGElement__deselectAll The deselectAll method is used to remove any selections from the document. When deselectAll() is called, all ranges from the document's selection are removed and the selection's direction is set to forwards. [DOM][EDITING] This method is deprecated, as it duplicates functionality from the Selection API. This is equivalent to calling document.getSelection().removeAllRanges() on the document that this ‘svg’ element is in. There was a missing WPT test case Firefox just landed to align with Chrome and Safari https://bugzilla.mozilla.org/show_bug.cgi?id=2032770
Attachments
Radar WebKit Bug Importer
Comment 1 2026-04-21 22:14:55 PDT
Karl Dubost
Comment 2 2026-04-21 22:17:32 PDT
EWS
Comment 3 2026-04-22 00:35:04 PDT
Committed 311752@main (6c9f1125938c): <https://commits.webkit.org/311752@main> Reviewed commits have been landed. Closing PR #63297 and removing active labels.
Karl Dubost
Comment 4 2026-04-22 00:37:08 PDT
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/59395
Note You need to log in before you can comment on or make changes to this bug.