Implement new MathMLAnchorElement interface
Categories
(Core :: MathML, enhancement)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox155 | --- | fixed |
People
(Reporter: mtan, Assigned: mtan)
References
Details
(Keywords: dev-doc-complete)
Attachments
(3 external files, 3 obsolete files)
Steps to reproduce:
Implement MathMLAnchorElement interface and link behavior for MathML <a>.
Currently, MathML <a> elements do not have a dedicated DOM interface and rely on generic MathMLElement handling.
To align with the MathML Core specification and standards, we need to implement MathMLAnchorElement with HyperlinkElementUtils integration.
Standard positions: https://github.com/mozilla/standards-positions/issues/1429
Standard link: https://w3c.github.io/mathml-core/#the-a-element
Explainer: https://people.igalia.com/fwang/mathml-a-href/
Chromium already merged this feature:
https://chromium-review.googlesource.com/c/chromium/src/+/7940188
I'll working on this and will send a part 1 implementation with basic href and target navigation.
Part 1 of this bug will fix bug 2056273.
Then add other attributes: download, ping, rel/relList and referrerpolicy.
Comment 1•3 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::MathML' component, but is not confident enough to move the bug to that component.
Add the MathMLAnchorElement C++ class, WebIDL binding, and feature pref (mathml.a.element.enabled).
Add basic href navigation, target attribute handling and HyperlinkElementUtils mixin implementation.
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Updated•3 months ago
|
Comment 8•3 months ago
|
||
Backed out for causing build bustages @ nsINode.h
Backout link: https://hg.mozilla.org/integration/autoland/rev/94012f6dc60a297b902e9ef4bd8e2b1d7ae0d36d
Comment 9•3 months ago
|
||
Once this prototype lands, it should be added to https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features. And I guess it's also worth mentioning in the dev and Nightly release notes.
[Why is this notable]: Allows to add links in MathML expressions.
[Affects Firefox for Android]: yes
[Suggested wording]: Starting with Firefox 155, Nightly supports the <a> element within the MathML namespace exposed via the new MathMLAnchorElement WebIDL interface, allowing to link mathematical expressions
[Links (documentation, blog post, etc)]:
Intent to prototype
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/61817 for changes under testing/web-platform/tests
Upstream PR was closed without merging
| Assignee | ||
Comment 12•3 months ago
|
||
Move referrerpolicy attribute parsing to Element::ParseAttribute.
Update WPT tests and expectations.
Depends on D315266
| Assignee | ||
Comment 13•3 months ago
|
||
Move referrerpolicy attribute parsing to Element::ParseAttribute.
Update WPT tests and expectations.
Depends on D315266
Updated•3 months ago
|
Comment 14•3 months ago
|
||
Comment 16•3 months ago
|
||
| bugherder | ||
Upstream PR merged by moz-wptsync-bot
| Assignee | ||
Comment 19•3 months ago
|
||
This enable the mathml.a.element.enabled flag for all WPT in the mathml/ directory.
Comment 20•3 months ago
|
||
Comment 21•3 months ago
•
|
||
It would have been much better for tracking if Part 3 had been attached to bug 2062929 instead of being added onto an already-closed bug. Please make sure it gets a Beta uplift request.
Comment 22•3 months ago
|
||
| bugherder | ||
| Assignee | ||
Comment 23•3 months ago
|
||
Hi Ryan, I had some issue when logging in lando, which account should I use to login?
I tried the phabricator one it doesn't work.
Comment 24•3 months ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Comment 25•3 months ago
|
||
This enable the mathml.a.element.enabled flag for all WPT in the mathml/ directory.
Original Revision: https://phabricator.services.mozilla.com/D318942
Updated•3 months ago
|
Comment 26•3 months ago
|
||
firefox-beta Uplift Approval Request
- User impact if declined/Reason for urgency: None, this is just to fix test failure ( https://bugzilla.mozilla.org/show_bug.cgi?id=2062929 )
- Code covered by automated testing?: no
- Fix verified in Nightly?: no
- Needs manual QE testing?: no
- Steps to reproduce for manual QE testing: N/A this is just to fix test failure ( https://bugzilla.mozilla.org/show_bug.cgi?id=2062929 )
- Risk associated with taking this patch: low
- Explanation of risk level: No behavior change, this is just to fix test failure ( https://bugzilla.mozilla.org/show_bug.cgi?id=2062929 )
- String changes made/needed?: None
- Is Android affected?: no
Comment 27•3 months ago
|
||
Comment on attachment 9627324 [details]
Bug 2059312 - Part 3: Enable the mathml.a flag to fix the ci failures for Firefox beta
Revision D319112 was moved to bug 2062929. Setting attachment 9627324 [details] to obsolete.
Comment 28•3 months ago
|
||
@mtan: I created the uplift and moved it to bug 2062929 . Hopefully, that's not too confusing...
Comment 30•2 months ago
|
||
Comment on attachment 9625119 [details]
Bug 2059312 - Part 3: Add download, ping, rel, relList and referrerPolicy attributes to MathMLAnchorElement r=emilio,fredw
Revision D317723 was moved to bug 2064612. Setting attachment 9625119 [details] to obsolete.
Comment 31•1 month ago
|
||
Removing the nightly-only note since the release note has been carried over for 4 cycles.
A final release note can be added and tracked under the bug that eventually enables this.
Comment 32•28 days ago
|
||
The MDN release docs are done for this one; see:
Description
•