From 9750f9ab6a295ffb334843dba229d01df3bbd384 Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Mon, 27 Jun 2022 20:25:31 +0100 Subject: [PATCH 1/5] reserving intent and arg as global attributes --- index.html | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/index.html b/index.html index 45f8073..5ab151d 100644 --- a/index.html +++ b/index.html @@ -366,6 +366,8 @@

Global Attributes

  • scriptlevel
  • style
  • tabindex
  • +
  • intent
  • +
  • arg
  • on* event handler attributes
  • @@ -553,7 +555,7 @@

    The mathvariant attribute

    ssXY properties from [[OPEN-FONT-FORMAT]] to provide both styles. Page authors may use the font-variant-alternates property with corresponding OpenType font features - to access these glyphs. + to access these glyphs.

    @@ -632,7 +634,18 @@

    The displaystyle and scriptlevel attributes

    and false and 2, respectively.
    - +
    +

    The intent and arg attributes

    +

    MathML Core Level 1 defines no behavior for + intent and + arg however these attributes should + be accepted as valid. [[MATHML4]] specifies how these + attributes may be used to improve the accessibilty of + Presentation MathML. Future levels of MathML Core may + specify processing of these attributes in Web Platform + implementations. +

    +

    Integration in the Web Platform

    From 5c1990aba91259d3d9b18cbe1a49a72bfaf5616f Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Mon, 27 Jun 2022 22:48:28 +0100 Subject: [PATCH 2/5] reserving alttext as a global attribute --- index.html | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/index.html b/index.html index 5ab151d..934f596 100644 --- a/index.html +++ b/index.html @@ -368,6 +368,7 @@

    Global Attributes

  • tabindex
  • intent
  • arg
  • +
  • alttext
  • on* event handler attributes
  • @@ -635,13 +636,17 @@

    The displaystyle and scriptlevel attributes

    -

    The intent and arg attributes

    +

    The intent, arg and alttext attributes

    MathML Core Level 1 defines no behavior for - intent and - arg however these attributes should - be accepted as valid. [[MATHML4]] specifies how these - attributes may be used to improve the accessibilty of - Presentation MathML. Future levels of MathML Core may + intent, + arg and + alttext however these attributes should + be accepted as valid. [[MATHML4]] specifies how + intent and arg + may be used to improve the accessibilty of + Presentation MathML. The alttext attribute may be used as alternative text by systems that do not implement MathML.

    +

    +

    Future levels of MathML Core may specify processing of these attributes in Web Platform implementations.

    From 36eb7c8b781e7d4222c1b1e6482b29b22b8255bf Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Mon, 27 Jun 2022 22:59:11 +0100 Subject: [PATCH 3/5] alttext is an attribute on math (not a global attribute) --- index.html | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 934f596..c80e424 100644 --- a/index.html +++ b/index.html @@ -316,6 +316,15 @@

    The Top-Level <math> Element

    has rules to reset them by default.

    
    +
    +	  

    The <math> + element should also accept following attribute as described in + .

    + + +

    Types for MathML Attribute Values

    @@ -368,7 +377,6 @@

    Global Attributes

  • tabindex
  • intent
  • arg
  • -
  • alttext
  • on* event handler attributes
  • From 78d599afd39be38ecd61417e782eeea2be1af320 Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Thu, 29 Sep 2022 14:33:41 +0100 Subject: [PATCH 4/5] specify alttext fallback for non-mathml, rename and rewrite intent+arg section as suggested by @bkardell --- index.html | 57 +++++++++++++++++++++++++----------------------------- 1 file changed, 26 insertions(+), 31 deletions(-) diff --git a/index.html b/index.html index c80e424..936fc4b 100644 --- a/index.html +++ b/index.html @@ -233,10 +233,11 @@

    The Top-Level <math> Element

    The <math> element accepts the attributes described in as well as the - following attribute: + following attributes:

    The @@ -257,6 +258,13 @@

    The Top-Level <math> Element

    attribute is absent or has an invalid value, the User Agent stylesheet treats it the same as inline.

    + + +

    Systems implementing MathML Core may ignore + alttext, however it is used by as + alternative text by some legacy systems that do not + implement math layout.

    +

    If the element does not have its computed display property equal to @@ -317,13 +325,6 @@

    The Top-Level <math> Element

    
     
    -	  

    The <math> - element should also accept following attribute as described in - .

    - -
    @@ -375,9 +376,8 @@

    Global Attributes

  • scriptlevel
  • style
  • tabindex
  • -
  • intent
  • -
  • arg
  • on* event handler attributes
  • +
  • additional attributes, as described in
  • @@ -643,20 +643,17 @@

    The displaystyle and scriptlevel attributes

    and false and 2, respectively.
    -
    -

    The intent, arg and alttext attributes

    -

    MathML Core Level 1 defines no behavior for - intent, - arg and - alttext however these attributes should - be accepted as valid. [[MATHML4]] specifies how - intent and arg - may be used to improve the accessibilty of - Presentation MathML. The alttext attribute may be used as alternative text by systems that do not implement MathML.

    -

    -

    Future levels of MathML Core may - specify processing of these attributes in Web Platform - implementations. +

    +

    Attributes Reserved as Valid

    +

    The attributes + intent and arg + are reserved as valid attributes.

    +

    While MathML Core Level 1 defines no behavior for these + attributes, and no functionality is currently implied by + this specification, validators must treat them as + valid. Future versions of this specification may or may not + define them. Authors should be aware that they are currently + in development and subject to change.

    @@ -5653,9 +5650,8 @@

    Operator Dictionary

    - - - + +
    @@ -5679,7 +5675,8 @@

    Operator Dictionary

    rather than on each large subtable of . -

    + +

    The intrinsic stretch axis a Unicode character @@ -5953,7 +5950,7 @@

    Security Considerations

    This feature is not available in MathML Core, where the <maction> element essentially behaves - like an <mrow> container with extra style. + like an <mrow> container with extra style.

    An attacker can try to hang the UA by inserting very large stretchy operators, effectively making the algorithm @@ -6032,7 +6029,6 @@

    Privacy Considerations

    the UI serif font provide Asian glyphs:

    
    -        

    The following @@ -6046,7 +6042,6 @@

    Privacy Considerations

    
    -        

    This specification relies on information from to render MathML content. One From cf3b59b8ea98c5bc459de2abd9b49bc310792711 Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Thu, 29 Sep 2022 16:09:22 +0100 Subject: [PATCH 5/5] This specification does not define any observable behavior wording as suggested by @fred-wang --- index.html | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/index.html b/index.html index 936fc4b..d818891 100644 --- a/index.html +++ b/index.html @@ -257,13 +257,15 @@

    The Top-Level <math> Element

    If the display attribute is absent or has an invalid value, the User Agent stylesheet treats it the same as inline. +

    +

    + This specification does not define any observable behavior that is + specific to the alttext attribute.

    - - -

    Systems implementing MathML Core may ignore - alttext, however it is used by as +

    + The alttext attribute may be used as alternative text by some legacy systems that do not - implement math layout.

    + implement math layout.

    If the element does not have its computed @@ -324,8 +326,6 @@

    The Top-Level <math> Element

    has rules to reset them by default.

    
    -
    -
             

    Types for MathML Attribute Values

    @@ -646,15 +646,18 @@

    The displaystyle and scriptlevel attributes

    Attributes Reserved as Valid

    The attributes - intent and arg + intent and arg are reserved as valid attributes.

    -

    While MathML Core Level 1 defines no behavior for these - attributes, and no functionality is currently implied by - this specification, validators must treat them as - valid. Future versions of this specification may or may not - define them. Authors should be aware that they are currently - in development and subject to change. -

    +

    + This specification does not define any observable behavior that is + specific to the intent and arg attributes. +

    +
    + These attributes are described in [[MATHML4]] and + future versions of this specification may or may not + define them. Authors should be aware that they are currently + in development and subject to change. +

    Integration in the Web Platform