mroot and msqrt should share their implementation
Categories
(Core :: MathML, task)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox132 | --- | fixed |
People
(Reporter: fwang, Assigned: fwang)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
That used to be the case, until I implemented menclose (which accepted the notation="radical" notation). notation="radical" was removed in bug 1548522, so it makes more sense for msqrt to share the implementation with mroot.
MathML Core actually does that by wrapping the children of msqrt in an anonymous mrow:
https://w3c.github.io/mathml-core/#radicals-msqrt-mroot
The <msqrt> element generates an anonymous <mrow> box called the msqrt base.
| Assignee | ||
Comment 1•1 year ago
|
||
Updated•1 year ago
|
| Assignee | ||
Comment 2•1 year ago
|
||
This class is currently only used:
-
To override InheritAutomaticData(), we move that directly in
nsMathMLrootFrame. Probably we should do that too when
ShouldUseRowFallback() returns true, but this patch does not try and
change current behavior. -
To override IsMrowLike(), but it's actually doing exactly the same as
nsMathMLContainerFrame and nsMathMLmrootFrame does not override it.
Again, these implementations are likely wrong, but we keep current
behavior.
| Assignee | ||
Comment 3•1 year ago
|
||
Comment 5•1 year ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/5df0457b5b41
https://hg.mozilla.org/mozilla-central/rev/b5768f9d9c6b
Description
•