Mirroring/stretching of MathML operators in RTL text #28561
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
FF146 adds support for mirroring MathML operators in RTL languages in https://bugzilla.mozilla.org/show_bug.cgi?id=1994172. It also adds support for stretching operators and grouping symbols (like braces) around expressions - does not have to be in RTL mode.
More correctly, it has supported operator mirroring for some time in normal text for some time but this hasn't worked properly with operators and stretching. Also previously the behaviour was non standard, and now it is part of the spec. From the developer:
This adds a subfeature to the mathML
dirglobal attribute, which I think is the best place to highlight this. Arguably you could add this subfeature to the<mo>,<msqrt>,<mfenced>since those are the specific affected elements. The relevant spec part is https://w3c.github.io/mathml-core/#layout-of-operators - if you need me to put it there instead I can.Related docs work can be tracked in mdn/content#41878