diff --git a/index.bs b/index.bs index 3221e11130..5294fe1841 100644 --- a/index.bs +++ b/index.bs @@ -49,29 +49,70 @@ conversion domain. # HTML monkeypatches # {#html-monkeypatches} -Add the following content attributes to the <{a}> element: +
partial interface HTMLAnchorElement { - [CEReactions, Reflect] attribute DOMString attributiondestination; - [CEReactions, Reflect] attribute DOMString attributionsourceeventid; - [CEReactions, Reflect] attribute DOMString attributionreportto; - [CEReactions, Reflect] attribute unsigned long long attributionexpiry; + [CEReactions] attribute DOMString attributionDestination; + [CEReactions] attribute DOMString attributionSourceEventId; + [CEReactions] attribute DOMString attributionReportTo; + [CEReactions] attribute long long attributionExpiry; };-The attributiondestination is an [=url/origin=] -that is intended to be [=same site=] with the origin of the final navigation url resulting -from running follow the hyperlink with the <{a}> element. +The IDL attributes {{HTMLAnchorElement/attributionDestination}}, {{HTMLAnchorElement/attributionSourceEventId}}, +{{HTMLAnchorElement/attributionReportTo}} must reflect the respective content +attributes of the same name. + +The IDL attribute {{HTMLAnchorElement/attributionExpiry}} must reflect the <{a/attributionexpiry}> +content attribute, [=limited to only non-negative numbers=]. + +The attributiondestination attribute is a string +representing an [=url/origin=] that is intended to be [=same site=] with the origin +of the final navigation url resulting from running follow the hyperlink +with the <{a}> element. -The attributionsourceeventid is a string +The attributionsourceeventid attribute is a string containing information about the `attribution source` and will be supplied in the [=attribution report=]. -The attributionreportto optionally declares the +The attributionreportto attribute optionally declares the [=origin=] to send the [=attribution report=] for this source. -The attributionexpiry optionally defines the amount +The attributionexpiry attribute optionally defines the amount of time in milliseconds the attribution source should be considered for reporting. Issue: Need monkey patches passing attribution source in navigation, and a mechanism