In bug 1548524, I intend to deprecate XLink attributes (“href”, “type”,
“show” and “actuate”) on MathML elements. This has never been supported
by other browsers and AFAIK there is not any plan to do so. Gecko
actually only has partial support for XLink and there is no plan to
implement full support [1].

MathML3 (released 5 years ago) introduced a href attribute as a
replacement for xlink:href [2]:

"Note that MathML 2 had no direct support for linking, and instead
followed the W3C Recommendation 'XML Linking Language' [XLink] in
defining links using the xlink:href attribute. This has changed, and
MathML 3 now uses an href attribute. However, particular compound
document formats may specify the use of XML linking with MathML
elements, so user agents that support XML linking should continue to
support the use of the xlink:href attribute with MathML 3 as well. "

Although MathML 3 still says xlink:href should be supported in user
agents supporting XML linking, there is an open item regarding what to
do in future versions [3].

We have been sending deprecation for xlink:href on MathML elements for 7
years [4] however users have reported bugs for xlink:href in the past
[5] so it is sensible to be a bit more careful. For now these attributes
will only be disabled in nightly and a use counter will be introduced to
determine how much this feature is used.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=61664
[2] https://www.w3.org/Math/draft-spec/chapter2.html#fund.globatt
[3] https://github.com/mathml-refresh/mathml/issues/127
[4] https://bugzilla.mozilla.org/show_bug.cgi?id=553917
[5] e.g. https://bugzilla.mozilla.org/show_bug.cgi?id=427990

Frédéric Wang
dev-platform mailing list

Reply via email to