scriptlevelLimited availabilityThis feature is not Baseline because it does not work in some of the most widely-used browsers.Learn moreSee full compatibilityReport feedbackscriptlevel 全局属性设置 MathML 元素的数学深度。它允许覆盖用户代理样式表中定义的在 MathML 公式中自动计算字体大小的规则。示例html BASE SUBSCRIPT SUPERSCRIPT 语法html 值如果 是一个无符号整数(即移除了前缀符号的整数),则接受的值为: 将 math-depth 设置为值 。这将使元素的 font-size 与指定深度的元素的字体大小相同。 + 将 math-depth 设置为值 add()。这将使元素的 font-size 缩小 次。 - 将 math-depth 设置为值 add(-)。这将使元素的 font-size 放大 次。 规范SpecificationMathML Core # dfn-scriptlevel浏览器兼容性参见 所有全局属性 displaystyle 全局属性 font-size math-depth math-style