The unit "rem" is not supported in MathML element <mspace> for width, height, or depth
Categories
(Core :: MathML, defect)
Tracking
()
People
(Reporter: tmke, Unassigned)
Details
Attachments
(1 file)
3.53 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:137.0) Gecko/20100101 Firefox/137.0
Steps to reproduce:
Take the example MathML from the MathML Core spec's section on <mspace>, https://www.w3.org/TR/mathml-core/#space-mspace , and replace "em" with "rem":
<math>
<mn>1</mn>
<mspace width="1rem"
style="border-top: 1px solid blue"/>
<mfrac>
<mrow>
<mn>2</mn>
<mspace depth="1rem"
style="border-left: 1px solid blue"/>
</mrow>
<mrow>
<mn>3</mn>
<mspace height="2rem"
style="border-left: 1px solid blue"/>
</mrow>
</mfrac>
</math>
Actual results:
The width, height, and depth values are not set, as if an invalid value had been supplied.
Expected results:
The spec states
The width, height, depth, if present, must have a value that is a valid <length-percentage>.
If the width attribute is present, valid and not a percentage then that attribute is used as a presentational hint setting the element's width property to the corresponding value.
"1rem" is a valid length, so I would expect the above to work.
Reporter | ||
Updated•5 months ago
|
Comment 1•5 months ago
|
||
The Bugbug bot thinks this bug should belong to the 'Core::MathML' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Comment 2•7 days ago
|
||
This has been fixed in bug 1924672.
Description
•