Add preference to disable MathML href on all but `<a>` elements, with deprecation and use counters
Categories
(Core :: MathML, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox151 | --- | fixed |
People
(Reporter: fwang, Assigned: fwang)
References
(Blocks 1 open bug)
Details
(Keywords: dev-doc-needed)
Attachments
(3 files)
See https://w3c.github.io/mathml-core/#the-a-element
We do render that element as mrow after bug 1958853.
This bug is about deprecating href on other elements.
| Assignee | ||
Updated•4 months ago
|
| Assignee | ||
Comment 1•4 months ago
|
||
| Assignee | ||
Comment 2•4 months ago
|
||
In MathML Core, links are only supported on <a> elements.
See https://github.com/w3c/mathml-core/issues/312
| Assignee | ||
Comment 3•4 months ago
|
||
Updated•4 months ago
|
Updated•4 months ago
|
| Assignee | ||
Comment 4•4 months ago
|
||
- XLink href support has been removed:
https://github.com/w3c/mathml/issues/127 - In the present bug 2026848, href support on all but <a> elements is
being disabled via the
mathml.href_link_on_non_anchor_element.disabledruntime preference.
See https://github.com/w3c/mathml-core/issues/142 - Also make
ContextMenuChild.sys.mjsaware of MathML links, so that
they appear in the context menu (bug 958957). MathMLElementis now a thing so use it to handle the MathML case.
https://github.com/w3c/mathml-core/issues/129- Also rely on
SVGAElement.
Updated•4 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 10•3 months ago
|
||
We need to update the documentation here:
- MathML has a new
<a>element which behaves like an<mrow>https://w3c.github.io/mathml-core/#the-a-element (it's render as an mrow since bug 1958853) - The href attribute is deprecated on all MathML elements but
<a>.
Comment 11•3 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/16bc0ed66b3a
https://hg.mozilla.org/mozilla-central/rev/a461d7b4d967
Comment 12•3 months ago
|
||
| bugherder | ||
Comment 13•2 months ago
|
||
- Release notes: https://github.com/mdn/content/pull/44178
- BCD: https://github.com/mdn/browser-compat-data/pull/29706
- MDN: https://github.com/mdn/content/pull/44189
I noticed that <a href> in MathML comes without underline style by default, which is an a11y concern. Are there any discussions/work happening around that?
| Assignee | ||
Comment 14•2 months ago
|
||
I noticed that
<a href>in MathML comes without underline style by default, which is an a11y concern. Are there any discussions/work happening around that?
I know there were old bugs in browsers when underline was used, as that changes the layout. I guess this should be discussed on the MathML Core repo.
Description
•