As of today (2025-10-14), I intend to turn support for |math-shift: compact| on by default. It has been developed behind the |mathml.math_shift.enabled| preference.

*Summary*: Superscripts with |math-shift: compact| will be placed slightly lower (using the |superscriptShiftUpCramped| parameter from the OpenType MATH table instead of |superscriptShiftUp|). This property is applied to scripts in small spaces, such as radicals or fraction denominators. In TeX this is called cramped mode.

Inequality between square root of x squared and x squared. The superscripts for the squared variables are not at the same height, the one under the square root is slightly lower to fit below

*Bug*: https://bugzilla.mozilla.org/show_bug.cgi?id=1923569

*Bug to turn on by default*: https://bugzilla.mozilla.org/show_bug.cgi?id=1994171

*Standard*: https://w3c.github.io/mathml-core/#the-math-shift

*Standards Body*: W3C.

*Platform coverage*: All platforms.

*Preference*: |mathml.math_shift.enabled|

*Other browsers*:

 * Blink: shipped, no flags.
 * WebKit: shipped in version 227, no flags.

*web-platform-tests*:

 * New tests to check the parsing of the property:
     o |/mathml/relations/css-styling/parsing/math-shift-valid.html|
       
<https://github.com/web-platform-tests/wpt/blob/master/mathml/relations/css-styling/parsing/math-shift-valid.html>
     o |/mathml/relations/css-styling/parsing/math-shift-invalid.html|
       
<https://github.com/web-platform-tests/wpt/blob/master/mathml/relations/css-styling/parsing/math-shift-invalid.html>
     o |/mathml/relations/css-styling/parsing/math-shift-computed.html|
       
<https://github.com/web-platform-tests/wpt/blob/master/mathml/relations/css-styling/parsing/math-shift-computed.html>
 * Existing tests that are now passing:
     o |/mathml/presentation-markup/scripts/cramped-001.html|
       
<https://github.com/web-platform-tests/wpt/blob/master/mathml/presentation-markup/scripts/cramped-001.html>

--
You received this message because you are subscribed to the Google Groups 
"[email protected]" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/mozilla.org/d/msgid/dev-platform/a1657c65-cff0-450f-9027-ae2654b980e3%40igalia.com.

Reply via email to