Automatic spacing not applied for <math> tag with a single operator
Categories
(Core :: MathML, defect)
Tracking
()
People
(Reporter: fredw, Assigned: fredw)
References
(Blocks 1 open bug)
Details
Attachments
(2 files)
See attached test case. Specifying no space or large space with lspace/rspace attributes work as expected. However, the automatic spacing of "*" does not apply when the <math> contains only a single child which is an (embellished) operator.
Note that the MathML Core spec is clear the spacing should always apply for the <math>:
"Set add-space to true if the box corresponds to a <math> element or is not an embellished operator; and to false otherwise."
Chromium and WebKit properly adds the automatic spacing in this testcase.
I tried adding a simple GetParent()->>GetContent()->NodeInfo()->NameAtom() == nsGkAtoms::math here:
But that does not work. Probably there is something more involved, since it is only failing when lspace/rspace are not explicitly specified.
Assignee | ||
Comment 1•2 years ago
|
||
Here is a screenshot in Firefox. Note that automatic spacing is zero in the first case, but properly computed from the dictionary in the later case.
Description
•