ISSUE-1 These attributes should be on HTMLHyperlinkElementUtils instead.
But HTMLHyperlinkElementUtils is only used for sharing URL-related attributes between <a> and <area>, in support of the href attribute. Other methods and attributes have either been added separately to HTMLAnchorElement and HTMLAreaElement, or added to only one.
The spec says:
But
HTMLHyperlinkElementUtils
is only used for sharing URL-related attributes between<a>
and<area>
, in support of thehref
attribute. Other methods and attributes have either been added separately toHTMLAnchorElement
andHTMLAreaElement
, or added to only one.