v144 · miscellaneous
Support ping, hreflang, type and referrerPolicy for SVGAElement
Adds support for ping, hreflang, type, and referrerPolicy attributes on SVGAElement, aligning its behavior with HTMLAnchorElement for consistent link handling across HTML and SVG.
concepts
-
SVG Anchor Attributes
SVG <a> now honours ping, hreflang, type, and referrerpolicy — bringing it to parity with HTML <a>.
-
SVG <a> vs HTML <a>
Inspect the new IDL properties on an SVG <a> (ping, hreflang, type, referrerPolicy) next to an HTML anchor with the same attributes.
-
Ping Beacon Test
Configure every new attribute on an SVG
<a>, click it, and watch the beacon log. The IDL properties read back live so you can confirm what Chrome reflects. -
Security Policy
All 8
referrerpolicyvalues applied to SVG<a>elements — with a live display of what Referer header each sends and a comparison to the equivalent HTML<a>behaviour.
why it shipped
The SVGAElement interface in SVG 2.0 is evolving to align more closely with HTML anchor elements, now supporting attributes like ping, hreflang, type, and referrerPolicy. This promotes consistency across web technologies and gives developers more control over link behavior and metadata.