From f90cea2a777a7b33ded5e6e86398715195baa8ad Mon Sep 17 00:00:00 2001 From: Brian Kardell Date: Wed, 27 Sep 2023 12:23:00 -0400 Subject: [PATCH 1/2] Update index.html In working on a pull for https://github.com/whatwg/html/issues/9795 I ran into the situation where the id on the section which should be to the attribute, the id was "the-math-variant-attribute" which is "fine" but misleading, and a quick scan showed we didn't have ids on all of the sections... This PR just corrects the mislabel and adds addtional ids so that sections can be pointned to... Note that we are not entirely consistent here - in some cases the id is on the heading, and in others it is on the section containing the heading. I think it's fine but if someone wanted to go make that consistent I wouldn't complain :) --- index.html | 48 ++++++++++++++++++++++++------------------------ 1 file changed, 24 insertions(+), 24 deletions(-) diff --git a/index.html b/index.html index 82dc8c2..a2f5b48 100644 --- a/index.html +++ b/index.html @@ -1339,7 +1339,7 @@

Layout of <mtext>

-
+

Identifier <mi>

The @@ -1363,7 +1363,7 @@

Identifier <mi>


 
-            

+

The mathvariant attribute, @@ -1396,7 +1396,7 @@

Identifier <mi>

mi example
-
+

Number <mn>

The @@ -1472,7 +1472,7 @@

Operator, Fence, Separator or Accent <mo>

Operators_fence and Operators_separator tables, or equivalently the human-readable version of the operator dictionary. - +

In the following example, the [^mo^] element @@ -2168,7 +2168,7 @@

String Literal <ms>

-
+

General Layout Schemata

Besides tokens there are several families of MathML presentation elements. One family of elements deals with various "scripting" @@ -2858,7 +2858,7 @@

Radical symbol
target size for the radical glyph.

-
+
Square root

The <msqrt> element is laid out as shown on @@ -2936,7 +2936,7 @@

Square root
-
+
Root with index

The <mroot> element is laid out as shown on @@ -3185,7 +3185,7 @@

Inner box and requested parameters
-
+
Layout of <mpadded>

If the <mpadded> element does not have its @@ -3307,7 +3307,7 @@

Subscripts and Superscripts <msub>, <msup> -
+
Children of <msub>, <msup>, <msubsup>

@@ -3340,7 +3340,7 @@

Children of <msub>, in .

-
+
Base with subscript

The <msub> element is laid out as shown on @@ -3416,7 +3416,7 @@

Base with subscript
towards the line-under.

-
+
Base with superscript

The <msup> element is laid out as shown on @@ -3501,7 +3501,7 @@

Base with superscript
towards the line-over.

-
+
Base with subscript and superscript

The <msubsup> element is laid out as shown on @@ -3666,7 +3666,7 @@

Underscripts and Overscripts <munder>, <mover> the corresponding value is described. Otherwise, the layout below is performed.

-
+
Children of <munder>, <mover>, <munderover>

@@ -3765,7 +3765,7 @@

Algorithm for stretching operators along the inline axis

-
+

Base with underscript

The <munder> element is laid out as shown on @@ -3898,7 +3898,7 @@

Base with underscript

position.

-
+

Base with overscript

The <mover> element is laid out as shown on @@ -4060,7 +4060,7 @@

Base with overscript

position.

-
+

Base with underscript and overscript

The general layout of <munderover> is shown on @@ -4551,7 +4551,7 @@

Table or Matrix <mtable>

in .

-
+

Row in Table or Matrix <mtr>

The mtr is laid out as @@ -4565,7 +4565,7 @@

Row in Table or Matrix <mtr>

in .

-
+

Entry in Table or Matrix <mtd>

The mtd is laid out as @@ -5182,7 +5182,7 @@

OpenType MATH table

font-size or zoom level.

-
+

Layout constants (MathConstants)

These are global layout constants for the first available font:

@@ -5310,7 +5310,7 @@

Layout constants (MathConstants)

MATH.MathConstants.radicalDegreeBottomRaisePercent / 100.0 or 0.6 if the constant is not available.
-
+

Glyph information (MathGlyphInfo)

MathTopAccentAttachment is at risk.

@@ -5338,13 +5338,13 @@

Glyph information (MathGlyphInfo)

-
+

Size variants for operators (MathVariants)

This section describes how to handle stretchy glyphs of arbitrary size using the MATH.MathVariants table.

-
+

The GlyphAssembly table

This section is based on [[?OPEN-TYPE-MATH-IN-HARFBUZZ]]. @@ -5555,7 +5555,7 @@

The GlyphAssembly table

-
+

Algorithms for glyph stretching

The preferred inline size of a glyph stretched along the block @@ -5671,7 +5671,7 @@

User Agent Stylesheet

-
+

Operator Tables

Operator Dictionary

From 89106d30c8cacdb4525c74e45bbd39349f6acad2 Mon Sep 17 00:00:00 2001 From: Brian Kardell Date: Thu, 28 Sep 2023 14:31:01 +0000 Subject: [PATCH 2/2] focus on only the 1 relevant update to math-variant --- index.html | 42 +++++++++++++++++++++--------------------- 1 file changed, 21 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index a2f5b48..7ab0a5f 100644 --- a/index.html +++ b/index.html @@ -1396,7 +1396,7 @@

Identifier <mi>

mi example
-
+

Number <mn>

The @@ -2168,7 +2168,7 @@

String Literal <ms>

-
+

General Layout Schemata

Besides tokens there are several families of MathML presentation elements. One family of elements deals with various "scripting" @@ -2858,7 +2858,7 @@

Radical symbol
target size for the radical glyph.

-
+
Square root

The <msqrt> element is laid out as shown on @@ -2936,7 +2936,7 @@

Square root
-
+
Root with index

The <mroot> element is laid out as shown on @@ -3185,7 +3185,7 @@

Inner box and requested parameters
-
+
Layout of <mpadded>

If the <mpadded> element does not have its @@ -3307,7 +3307,7 @@

Subscripts and Superscripts <msub>, <msup> -
+
Children of <msub>, <msup>, <msubsup>

@@ -3340,7 +3340,7 @@

Children of <msub>, in .

-
+
Base with subscript

The <msub> element is laid out as shown on @@ -3416,7 +3416,7 @@

Base with subscript
towards the line-under.

-
+
Base with superscript

The <msup> element is laid out as shown on @@ -3501,7 +3501,7 @@

Base with superscript
towards the line-over.

-
+
Base with subscript and superscript

The <msubsup> element is laid out as shown on @@ -3666,7 +3666,7 @@

Underscripts and Overscripts <munder>, <mover> the corresponding value is described. Otherwise, the layout below is performed.

-
+
Children of <munder>, <mover>, <munderover>

@@ -3765,7 +3765,7 @@

Algorithm for stretching operators along the inline axis

-
+

Base with underscript

The <munder> element is laid out as shown on @@ -3898,7 +3898,7 @@

Base with underscript

position.

-
+

Base with overscript

The <mover> element is laid out as shown on @@ -4060,7 +4060,7 @@

Base with overscript

position.

-
+

Base with underscript and overscript

The general layout of <munderover> is shown on @@ -4551,7 +4551,7 @@

Table or Matrix <mtable>

in .

-
+

Row in Table or Matrix <mtr>

The mtr is laid out as @@ -4565,7 +4565,7 @@

Row in Table or Matrix <mtr>

in .

-
+

Entry in Table or Matrix <mtd>

The mtd is laid out as @@ -5182,7 +5182,7 @@

OpenType MATH table

font-size or zoom level.

-
+

Layout constants (MathConstants)

These are global layout constants for the first available font:

@@ -5310,7 +5310,7 @@

Layout constants (MathConstants)

MATH.MathConstants.radicalDegreeBottomRaisePercent / 100.0 or 0.6 if the constant is not available.
-
+

Glyph information (MathGlyphInfo)

MathTopAccentAttachment is at risk.

@@ -5338,13 +5338,13 @@

Glyph information (MathGlyphInfo)

-
+

Size variants for operators (MathVariants)

This section describes how to handle stretchy glyphs of arbitrary size using the MATH.MathVariants table.

-
+

The GlyphAssembly table

This section is based on [[?OPEN-TYPE-MATH-IN-HARFBUZZ]]. @@ -5555,7 +5555,7 @@

The GlyphAssembly table

-
+

Algorithms for glyph stretching

The preferred inline size of a glyph stretched along the block @@ -5671,7 +5671,7 @@

User Agent Stylesheet

-
+

Operator Tables

Operator Dictionary