Open Bug 1197771 Opened 9 years ago Updated 2 years ago

User specified stretchy attributes can violate stretch algorithm assumptions

Categories

(Core :: MathML, defect)

defect

Tracking

()

People

(Reporter: jkitch, Unassigned)

References

Details

Although the MathML defines stretchy and largeop operators separately, they share a common implementation in gecko.  A consequence of this is that as the minimum size of largeops is defined as a height, the operator dictionary must specify a vertical direction for them.

This breaks down when the user is permitted to override the dictionary properties as the largeop property can then be applied to other directions.
https://hg.mozilla.org/mozilla-central/file/3e51753a099f/layout/mathml/nsMathMLmoFrame.cpp#l455

Should that code be modified to prevent the user from specifying stretchy properties that do not make sense?
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.