From 4ec0e6ca235052c0789b68f6fb9876ba8edec840 Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Wed, 7 Jan 2026 21:55:10 +0000 Subject: [PATCH 1/2] add a element to mathml-code #142 --- spec.html | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/spec.html b/spec.html index 7222d5d..97660a1 100644 --- a/spec.html +++ b/spec.html @@ -161,6 +161,7 @@

Elements and attributes

Unknown MathML element.

    +
  1. [^a^]
  2. [^annotation^]
  3. [^annotation-xml^]
  4. [^maction^]
  5. @@ -4658,6 +4659,37 @@

    Entry in Table or Matrix <mtd>

    +
    +

    Linking <a>

    +

    + The + a + element is used to group together any number of sub-expressions equivalently + to [^mrow^]. It's main purpose is to enable the specification fo hyperlinks + via the use of the href attribute. +

    +

    + The <a> element accepts the attributes described + in as well as the all the attributes of the + corresponding element in HTML. + The primary additional attribute is [^a/href^]. +

    +
      +
    • [^a/href^]
    • +
    +

    + If the + href + attribute is used then the <a> element creates a hyperlink + to the URL sprecifoed by the href attribute. The linking behavior + is as described for the a element in HTML. +

    + +

    The layout algorithm of the <a> element + is the same as the <mrow> element. + Note that this means that in the absence of an href attribute, + <a> may be seen as equivalent to <mrow>.

    +

    Enlivening Expressions

    From f24a71a0c9d3b204f0488c63da6a980d9ccf8abb Mon Sep 17 00:00:00 2001 From: David Carlisle Date: Thu, 8 Jan 2026 10:35:59 +0000 Subject: [PATCH 2/2] editorial fixes, from PR review --- spec.html | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/spec.html b/spec.html index 97660a1..c42bd71 100644 --- a/spec.html +++ b/spec.html @@ -4681,14 +4681,16 @@

    Linking <a>

    If the href attribute is used then the <a> element creates a hyperlink - to the URL sprecifoed by the href attribute. The linking behavior + to the URL specified by the href attribute. The linking behavior is as described for the a element in HTML.

    The layout algorithm of the <a> element - is the same as the <mrow> element. + is the same as the <mrow> element.

    + +
    Note that this means that in the absence of an href attribute, - <a> may be seen as equivalent to <mrow>.

    + <a> may be seen as equivalent to <mrow>.

    Enlivening Expressions