diff --git a/index.html b/index.html index 045d384..7cb56ab 100644 --- a/index.html +++ b/index.html @@ -422,6 +422,10 @@

DOM and Javascript

corresponding MathML content attribute.

+

+ All of the nodes representing MathML Hyperlink Elements in the DOM must implement, and expose to scripts the following MathMLLinkableElement interface. +

+

         
         

Text layout

@@ -452,9 +456,7 @@

Focus

apply, as defined in that specification.

- Any MathML elements containing an href attribute are valid links - and are focusable. Their tabindex focus flag - must be set unless the user agent normally provides an alternative + All MathMLLinkableElement elements are potentially linkable with an href attribute. Their default tabindex is 0. If their href contains a valid URL, their focus flag must be set unless the user agent normally provides an alternative method of keyboard traversal of links, and they appear in the sequential focus order.

@@ -527,10 +529,12 @@

Global Attributes

elements:

+
+

MathML Hyperlink Elements

+

All token elements and the mrow grouping element are potentially linkable and may contain an href attribute. They are the MathML equivalents of HTML's a and must follow all of the same criteria laid out for links there.

+

Presentation Markup

diff --git a/webidl/MathMLLinkableElement.idl b/webidl/MathMLLinkableElement.idl new file mode 100644 index 0000000..26335d8 --- /dev/null +++ b/webidl/MathMLLinkableElement.idl @@ -0,0 +1,16 @@ +[Exposed=Window] +interface MathMLLinkableElement : MathMLElement { + [CEReactions] attribute DOMString target; + [CEReactions] attribute DOMString download; + [CEReactions] attribute USVString ping; + [CEReactions] attribute DOMString rel; + [SameObject, PutForwards=value] readonly attribute DOMTokenList relList; + [CEReactions] attribute DOMString hreflang; + [CEReactions] attribute DOMString type; + + [CEReactions] attribute DOMString text; + + [CEReactions] attribute DOMString referrerPolicy; + }; + + MathMLElement includes HTMLHyperlinkElementUtils; \ No newline at end of file