Intent to Prototype: Implement MathML <a> element

26 views
Skip to first unread message

tannal

unread,
1:50 AM (8 hours ago) 1:50 AM
to blink-dev
Contact emails
mt...@igalia.com

Explainer
https://people.igalia.com/fwang/mathml-a-href

Specification
https://w3c.github.io/mathml-core/#the-a-element

Design docs
None

Summary
Introduces the <a> element within the MathML namespace exposed via the new MathMLAnchorElement WebIDL interface which inherits from MathMLElement. This feature aligns MathML hyperlink capabilities with HTMLAnchorElement and SVGAElement to ensure consistent link handling across HTML, SVG, and MathML.

Blink component
Blink>MathML

Web Feature ID
Missing feature

Motivation
Linking is an important web feature and support is highly desired for MathML (e.g. to be able to create links on different parts of a mathematical expression). In the past, href was supported on all MathML elements to allow that (in MathML2 in the XLink namespace, and in MathML3 the default namespace) but some concerns were raised this was a bit too intrusive, because we have to do privacy mitigation ( https://github.com/w3c/mathml-core/issues/142 ), handle it specially in the the sanitizer API. We need a new <a> element for MathML to enable hyperlinks in mathematical expression

Initial public proposal
https://github.com/w3c/mathml-core/pull/307

Goals for experimentation
None

Requires code in //chrome?
False

Tracking bug
https://issues.chromium.org/u/1/issues/510487697

Estimated milestones
No milestones specified



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).

https://github.com/w3c/mathml-core/issues/142 https://github.com/w3c/mathml-core/pull/307

Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/6543819626643456?gate=6269974827106304

This intent message was generated by Chrome Platform Status.
Reply all
Reply to author
Forward
0 new messages