Bug 290625
| Summary: | MathML unknown elements are not rendered | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Simon Pieters (:zcorpan) <zcorpan> |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | ahmad.saleem792, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari Technology Preview | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Simon Pieters (:zcorpan)
Demo: https://software.hixie.ch/utilities/js/live-dom-viewer/saved/13597
<math><a href=#><mi>x</mi></a></math>
`a` is an unknown MathML element (currently), and is not rendered in WebKit. 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.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/148593275>
Ahmad Saleem
Source Code - https://searchfox.org/wubkat/rev/379f807d0ee26713ff73973eea9a42e90f274bd7/Source/WebCore/mathml/MathMLUnknownElement.h#44
Eri
Pull request: https://github.com/WebKit/WebKit/pull/51113
Eri
Pull request: https://github.com/WebKit/WebKit/pull/51189
EWS
Committed 300580@main (752e87ed0dc7): <https://commits.webkit.org/300580@main>
Reviewed commits have been landed. Closing PR #51189 and removing active labels.