Closed
Bug 2026848
Opened 1 month ago
Closed 1 month ago
Add preference to disable MathML href on all but `<a>` elements, with deprecation and use counters
Categories
(Core :: MathML, task)
Core
MathML
Tracking
()
RESOLVED
FIXED
151 Branch
| 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•1 month ago
|
| Assignee | ||
Comment 1•1 month ago
|
||
| Assignee | ||
Comment 2•1 month ago
|
||
In MathML Core, links are only supported on <a> elements.
See https://github.com/w3c/mathml-core/issues/312
| Assignee | ||
Comment 3•1 month ago
|
||
Updated•1 month ago
|
Attachment #9559109 -
Attachment description: WIP: Bug 2026848 - Update MathML href tests to reflect links are only on <a> tags. r=emilio,eri → Bug 2026848 - Update MathML href tests to reflect links are only on <a> tags. r=emilio,eri
Updated•1 month ago
|
Attachment #9559110 -
Attachment description: WIP: Bug 2026848 - Add preference to disable MathML href on all but `<a>` elements, with deprecation and use counters. r=emilio → Bug 2026848 - Add preference to disable MathML href on all but `<a>` elements, with deprecation and use counters. r=emilio,eri,flod
| Assignee | ||
Comment 4•1 month 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•1 month ago
|
Attachment #9559487 -
Attachment description: Bug 2026848 - Update UI support for MathML links. r=mconley,mossop,eri → Bug 2026848 - Update UI support for MathML links. r=gijs
| Assignee | ||
Updated•1 month ago
|
Keywords: leave-open
Pushed by fwang@igalia.com:
https://github.com/mozilla-firefox/firefox/commit/59d865a4193a
https://hg.mozilla.org/integration/autoland/rev/706153f05cb2
Update MathML href tests to reflect links are only on <a> tags. r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/58905 for changes under testing/web-platform/tests
| Assignee | ||
Updated•1 month ago
|
Keywords: leave-open
Upstream PR merged by moz-wptsync-bot
Pushed by fwang@igalia.com:
https://github.com/mozilla-firefox/firefox/commit/1e371482e563
https://hg.mozilla.org/integration/autoland/rev/16bc0ed66b3a
Add preference to disable MathML href on all but `<a>` elements, with deprecation and use counters. r=emilio,flod
https://github.com/mozilla-firefox/firefox/commit/5a99e6678a30
https://hg.mozilla.org/integration/autoland/rev/a461d7b4d967
Update UI support for MathML links. r=Gijs
| Assignee | ||
Comment 10•1 month 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>.
Keywords: dev-doc-needed
Comment 11•1 month ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/16bc0ed66b3a
https://hg.mozilla.org/mozilla-central/rev/a461d7b4d967
Status: NEW → RESOLVED
Closed: 1 month ago
status-firefox151:
--- → fixed
Resolution: --- → FIXED
Target Milestone: --- → 151 Branch
Comment 12•1 month ago
|
||
| bugherder | ||
You need to log in
before you can comment on or make changes to this bug.
Description
•