Intent to Ship: Support rel / relList attributes for SVGAElement

108 views
Skip to first unread message

Chromestatus

unread,
Feb 26, 2025, 4:49:19 PM (7 days ago) Feb 26
to blin...@chromium.org, dma...@microsoft.com

Contact emails

dma...@microsoft.com

Explainer

None

Specification

https://svgwg.org/svg2-draft/linking.html#__svg__SVGAElement__rel

Design docs


https://docs.google.com/document/d/1ejVVjucwrfzXSk-W8r5TPMbzk6F25D-eUkD6YInOJFE/edit?tab=t.0

Summary

The SVGAElement interface in SVG 2.0 allows manipulation of <a> elements similar to HTML anchor elements. Supporting the rel and relList attributes enhances security and privacy for developers. This alignment with HTML anchor elements ensures consistency and ease of use across web technologies.



Blink component

Blink>SVG

TAG review

None

TAG review status

Not applicable

Risks



Interoperability and Compatibility

This is already supported in Firefox and Safari



Gecko: Shipped/Shipping (https://developer.mozilla.org/en-US/docs/Web/API/SVGAElement#browser_compatibility)

WebKit: Shipped/Shipping (https://trac.webkit.org/changeset/264789/webkit)

Web developers: No signals

Other signals:

WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it has potentially high risk for Android WebView-based applications?

None



Debuggability

The functionality of the rel and relList attributes is similar to how they operate for HTML <a> elements.



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, ChromeOS, Android, and Android WebView)?

Yes

Is this feature fully tested by web-platform-tests?

Yes

wpt.fyi links: https://wpt.fyi/results/svg/linking/scripted/a.rel-getter-01.svg https://wpt.fyi/results/svg/linking/scripted/rellist-feature-detection.svg Corresponding Chromium WPTs links: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/svg/linking/scripted/a.rel-getter-01.svg https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/web_tests/external/wpt/svg/linking/scripted/rellist-feature-detection.svg



Flag name on about://flags



Finch feature name

SvgAnchorElementRelAttributes

Requires code in //chrome?

False

Tracking bug

https://issues.chromium.org/issues/40589293

Estimated milestones

Shipping on desktop 135
Shipping on Android 135
Shipping on iOS 135


Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop issues. Please list open issues (e.g. links to known github issues in the project for the feature specification) whose resolution may introduce web compat/interop risk (e.g., changing to naming or structure of the API in a non-backward-compatible way).

None

Link to entry on the Chrome Platform Status

https://chromestatus.com/feature/5066982694846464?gate=6230229422702592

This intent message was generated by Chrome Platform Status.

Domenic Denicola

unread,
Mar 3, 2025, 2:34:46 AM (3 days ago) Mar 3
to blink-dev, Chromestatus, dma...@microsoft.com
LGTM1. Thanks for catching us up here and making the web platform more uniform!

TAMURA, Kent

unread,
Mar 3, 2025, 2:51:35 AM (3 days ago) Mar 3
to dma...@microsoft.com, blink-dev, Chromestatus, Domenic Denicola
LGTM2.


--
You received this message because you are subscribed to the Google Groups "blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to blink-dev+...@chromium.org.
To view this discussion visit https://groups.google.com/a/chromium.org/d/msgid/blink-dev/27ceb04b-7b4e-4d64-99b5-13d4a621b002n%40chromium.org.


--
TAMURA Kent
Software Engineer, Google


Mike Taylor

unread,
Mar 3, 2025, 6:57:48 PM (2 days ago) Mar 3
to TAMURA, Kent, dma...@microsoft.com, blink-dev, Chromestatus, Domenic Denicola
Reply all
Reply to author
Forward
0 new messages