Open Bug 1586574 Opened 1 year ago Updated 1 year ago

apply horizontal writing mode to mathml elements

Categories

(Core :: MathML, defect)

defect
Not set
normal

Tracking

()

People

(Reporter: fredw, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

+++ This bug was initially created as a clone of Bug #1095933 +++

Eventually, it'd probably be ideal to make MathML content in vertical writing mode work "correctly", by rendering it as if with text-orientation:sideways-right. But that will require logicalizing a whole bunch of mathml layout classes so that all the x/y positioning behaves in the appropriately rotated way.

Until we're ready to tackle that, let's simply make all mathml have writing-mode:horizontal-tb by putting this in the UA stylesheet.

In bug 1095933, horizontal mode is only forced on the <math> root.

https://w3c-test.org/mathml/relations/css-styling/ignored-properties-001.html shows that the property can still be set to change the MathML layout.

Let's force horizontal-tb on all MathML elements for now, as suggested by
https://mathml-refresh.github.io/mathml-core/#css-styling

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