Skip to content

[MATH] Confusion about displayOperatorMinHeight #1136

@khaledhosny

Description

@khaledhosny

The description of displayOperatorMinHeight has:

Minimum height of n-ary operators (such as integral and summation) for formulas in display mode (that is, appearing as standalone page elements, not embedded inline within text).

But it has long been a source of trouble since Cambria Math sets it to a value that when respected results in too small display operators being selected: w3c/mathml-core#126

My own testing shows that Microsoft Word does not use displayOperatorMinHeight at all (setting it to any value makes no difference in which size of display operators is selected) and instead it seems to use the value of delimitedSubFormulaMinHeight to select the display operators size.

I’m speculating here, but I think it is a bug in Microsoft implementation and the wrong value in Cambria Math went unnoticed because of it.

I’m not sure what the spec should do here, but may be at least Cambria Math should be updated to use a reasonable displayOperatorMinHeight so that implmentations that follow the spec don’t have to implement various workarounds that render displayOperatorMinHeight almost useless.


Document Details

Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions