From 70d0ba62efe1da8f826ec36c21be4fe093642a8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Wang?= Date: Tue, 16 Jun 2020 07:48:06 +0200 Subject: [PATCH] Remame math-superscript-shift-style to math-shift and display/inline values to normal/compact. https://github.com/mathml-refresh/mathml/issues/222 https://github.com/mathml-refresh/mathml/issues/170 --- index.html | 61 +++++++++++++++--------------- user-agent-stylesheet/math.css | 2 +- user-agent-stylesheet/mfrac.css | 2 +- user-agent-stylesheet/radicals.css | 2 +- user-agent-stylesheet/scripts.css | 4 +- 5 files changed, 36 insertions(+), 35 deletions(-) diff --git a/index.html b/index.html index bcb20d7..c99d6f6 100644 --- a/index.html +++ b/index.html @@ -2455,8 +2455,8 @@

Fractions <mfrac>

displaystyle to false, or if it was already false increments scriptlevel by 1, within its children. - It sets math-superscript-shift-style to - inline within its second child. + It sets math-shift to + compact within its second child. To avoid visual confusion between the fraction bar and another adjacent items (e.g. minus sign or another fraction's bar), a default 1-pixel space is added around the element. @@ -2476,7 +2476,7 @@

Fractions <mfrac>

In practice, an <mfrac> element has two children that are in-flow. Hence the CSS rules basically performs scriptlevel, displaystyle - and math-superscript-shift-style + and math-shift changes for the numerator and denominator. @@ -2742,8 +2742,8 @@

Radicals <msqrt>, <mroot>

The <msqrt> and <mroot> - elements sets math-superscript-shift-style to - inline. + elements sets math-shift to + compact. The <mroot> element sets increments scriptlevel by 2, and sets displaystyle to "false" in all but its first child. @@ -3404,8 +3404,8 @@

Base with superscript