Bug 1667118 - Rename -moz-math-script-level to math-depth. r=emilio
This renames the internal -moz-math-script-level property in order to prepare for full math-depth support. Currently, the property is guarded under a disabled-by-default flag, so there should be no observable behavior change. Differential Revision: https://phabricator.services.mozilla.com/D91285
This commit is contained in:
@@ -342,7 +342,7 @@ void nsMathMLmoFrame::ProcessOperatorData() {
|
||||
// tuning if we don't want too much extra space when we are a script.
|
||||
// (with its fonts, TeX sets lspace=0 & rspace=0 as soon as scriptlevel>0.
|
||||
// Our fonts can be anything, so...)
|
||||
if (StyleFont()->mScriptLevel > 0 &&
|
||||
if (StyleFont()->mMathDepth > 0 &&
|
||||
!NS_MATHML_OPERATOR_HAS_EMBELLISH_ANCESTOR(mFlags)) {
|
||||
mEmbellishData.leadingSpace /= 2;
|
||||
mEmbellishData.trailingSpace /= 2;
|
||||
|
||||
Reference in New Issue
Block a user