Closed Bug 1958853 Opened 7 months ago Closed 4 months ago

MathML unknown elements should be rendered as mrow elements

Categories

(Core :: MathML, defect)

defect

Tracking

()

RESOLVED FIXED
142 Branch
Tracking Status
firefox142 --- fixed

People

(Reporter: zcorpan, Assigned: eri)

References

Details

Attachments

(3 files)

Attached file mathml-a.html

Demo: https://software.hixie.ch/utilities/js/live-dom-viewer/?saved=13622

a is an unknown MathML element (currently), and is not rendered correctly in Gecko. The spec says unknown elements should be treated as mrow.

Unknown MathML elements behave the same as the mrow element.

https://w3c.github.io/mathml-core/#ref-for-dfn-unknown-mathml-element-2

In https://github.com/w3c/mathml-core/issues/142 there's a proposal to make a the MathML "link" element.

FWIW it seems there are some failures, mostly about tables: https://treeherder.mozilla.org/jobs?repo=try&revision=870c0a2dec9f8d240d5eafab1887219fc11915df

Also some passes. I don't have time to finish this up at this very moment.

Extends https://phabricator.services.mozilla.com/D244634.

Added mtable, mtr, mlabeledtr and mtd as exceptions.

Co-authored-by: Emilio Cobos Álvarez <[email protected]>

Assignee: nobody → eri
Status: NEW → ASSIGNED
Depends on: 1975967, 1976171
Status: ASSIGNED → RESOLVED
Closed: 4 months ago
Resolution: --- → FIXED
Target Milestone: --- → 142 Branch
Upstream PR merged by moz-wptsync-bot
Blocks: 1994654
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: