Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Intend to deprecate: XLink attributes on MathML elements

69 views
Skip to first unread message

Frédéric Wang

unread,
Aug 24, 2019, 6:28:41 AM8/24/19
to
Hi,

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

Cameron McCormack

unread,
Aug 24, 2019, 6:34:23 PM8/24/19
to Frédéric Wang, dev-pl...@lists.mozilla.org
On Sat, Aug 24, 2019, at 8:31 PM, Frédéric Wang wrote:
> 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].
>
> [...]
>
> 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.

Thank you for cleaning this up, Frédéric. What are the use counter thresholds you are looking for with these MathML deprecations? A certain percentage of all pages, or of pages with any MathML?

Frédéric Wang

unread,
Aug 26, 2019, 1:35:17 PM8/26/19
to Cameron McCormack
On 25/08/2019 00:33, Cameron McCormack wrote:

> Thank you for cleaning this up, Frédéric. What are the use counter thresholds you are looking for with these MathML deprecations? A certain percentage of all pages, or of pages with any MathML?

Emilio re-enabled for Mozilla 68 [1] a counter of pages that contained
MathML content rendered by Gecko. This is what we plan to use as
a reference. We haven't decided about the exact threshold yet though.

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1538985

--
Frédéric Wang
0 new messages