Bug 312961
| Summary: | WPT testcase for deselectAll() on SVGSVGElement Interface | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Karl Dubost <karlcow> |
| Component: | SVG | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/175311669>
Karl Dubost
Pull request: https://github.com/WebKit/WebKit/pull/63297
EWS
Committed 311752@main (6c9f1125938c): <https://commits.webkit.org/311752@main>
Reviewed commits have been landed. Closing PR #63297 and removing active labels.
Karl Dubost
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/59395