Open Bug 1908913 Opened 1 year ago

Height of inline <math> is not properly calculated

Categories

(Core :: MathML, defect)

defect

Tracking

()

People

(Reporter: fredw, Unassigned)

Details

See attached testcase. The inline <math> element (pink background) has much smaller height than the fraction, even if the correct height seems to be use for the placement of the surrounding text. This can be verified using the DOM inspector.

Note that this corresponds to an nsMathMLmathInlineFrame. If you use <math display="block"> (nsMathMLmathBlockFrame) instead then its height matches the one of the fraction.

WebKit and Chromium uses the height of the fraction in both cases.

You need to log in before you can comment on or make changes to this bug.