diff --git a/source b/source index 419a2fdbd0e..15948b07989 100644 --- a/source +++ b/source @@ -19422,6 +19422,7 @@ interface HTMLDivElement : HTMLElement {};
ping
rel
hreflang
hreftranslate
type
referrerpolicy
The target
, download
, ping
,
rel
, hreflang
, type
,
- and referrerpolicy
attributes must be omitted
+ data-x="attr-hyperlink-hreflang">hreflang, hreftranslate
, type
, and referrerpolicy
attributes must be omitted
if the href
attribute is not present.
If the itemprop
attribute is specified on an a
element,
@@ -19562,6 +19566,11 @@ interface HTMLAnchorElement : HTMLElement {
data-x="dom-a-type">type, must reflect the respective content attributes
of the same name.
The IDL attribute hreftranslate
must
+ reflect the hrefttranslate
+ content attribute. If the UA does not support a client side translation service this attribute
+ must not be supported.
The IDL attribute relList
must
reflect the rel
content attribute.
The hreftranslate
attribute on
+ a
elements that create hyperlinks, if present,
+ provides the desired translation language of the linked resource. The value must be a valid BCP 47
+ language tag. When nativating the anchor, user agents that support client side
+ translation should invoke the translation engine providing the value of the attribute.
+ User agents that do not have a client side translation must not support this attribute
+ so that feature detection of this feature is possible.
The type
attribute, if present, gives the
MIME type of the linked resource. It is purely advisory. The value must be a
valid MIME type string. User agents must not consider the External {
link
Language of the linked resource
Valid BCP 47 language tag
+
+ hreftranslate
+ a
+ Desired language of the linked resource
+ Valid BCP 47 language tag
http-equiv
meta