diff --git a/source b/source index b8b9888bc90..ab9ff1ae98d 100644 --- a/source +++ b/source @@ -46048,6 +46048,8 @@ interface HTMLLabelElement : HTMLElement {
formnovalidate
formtarget
height
invoketarget
invokeaction
list
max
maxlength
invoketarget
+ invokeaction
+ list
formnovalidate
,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
maxlength
,
@@ -48015,6 +48068,8 @@ interface HTMLInputElement : HTMLElement {
formnovalidate
,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
min
,
multiple
,
@@ -48118,6 +48173,8 @@ interface HTMLInputElement : HTMLElement {
formnovalidate
,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
min
,
multiple
,
@@ -48223,6 +48280,8 @@ interface HTMLInputElement : HTMLElement {
formnovalidate
,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
min
,
multiple
,
@@ -48494,6 +48553,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
min
,
popovertarget
,
@@ -48590,6 +48651,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
min
,
@@ -48764,6 +48827,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -48917,6 +48982,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49074,6 +49141,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49227,6 +49296,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49373,6 +49444,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49538,6 +49611,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49809,6 +49884,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49915,6 +49992,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
maxlength
,
min
,
@@ -50030,6 +50109,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
maxlength
,
@@ -50207,6 +50288,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
maxlength
,
@@ -50461,6 +50544,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
maxlength
,
@@ -50555,6 +50640,8 @@ ldh-str = < as defined in formmethod,
formnovalidate
,
formtarget
,
+ invoketarget
,
+ invokeaction
,
popovertarget
, and
popovertargetaction
content
attributes; value
IDL attribute.
@@ -50825,6 +50912,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
popovertarget
,
popovertargetaction
,
src
, and
@@ -50948,6 +51037,8 @@ ldh-str = < as defined in apply to the element:
+ invoketarget
,
+ invokeaction
,
popovertarget
and
popovertargetaction
.
@@ -51033,6 +51124,8 @@ ldh-str = < as defined in apply to the element:
+ invoketarget
,
+ invokeaction
,
popovertarget
and
popovertargetaction
.
@@ -52614,6 +52707,8 @@ You cannot submit this form when the field is incorrect.
formmethod
formnovalidate
formtarget
invoketarget
invokeaction
name
popovertarget
popovertargetaction
Run the popover target attribute activation behavior given +
+ invoketarget
-associated element then run the invoke
+ target attribute activation behavior given elementOtherwise, run the popover target attribute activation behavior given element.
oldState
attribute.
+ InvokeEvent
interface[Exposed=Window]
+interface InvokeEvent : Event {
+ constructor(DOMString type, optional InvokeEventInit eventInitDict = {});
+ readonly attribute Element? invoker;
+ readonly attribute DOMString action;
+};
+
+dictionary InvokeEventInit : EventInit {
+ Element? invoker = null;
+ DOMString action = "auto";
+};
+
+ event.action
This is a freeform hint dictating what action the element must take.
+ Defaults to "auto
".
event.invoker
Used to identifiy the EventTarget
that was interacted with in order to
+ cause this event.
The action
+ and attribute must return the value it is initialized to.
The invoker
+ getter steps are to return the result of retargeting
invoker
against this's currentTarget
.
Buttons are used to control elements on the page, such as
+ controlling forms. They can be used to control other elements on the page using the invoketarget
attribute.
HTML elements may have an associated invocation action algorithm
+ which defines how the element reacts to being invoked. Invocations can vary based on the invokeaction
attribute.
The invokeaction
attribute is a freeform string
+ that acts as a hint to invocation action algorithms to perform some specific action
+ such as showing or hiding. It is not enumerated, to allow for userland implementations of an
+ invocation.
Buttons may have the following content attributes:
+ +invoketarget
invokeaction
If specified, the invoketarget
attribute value must be
+ the ID of an element in the same tree as the button with the invoketarget
attribute.
interface mixin InvokeElement {
+ [CEReactions] attribute Element? invokeTargetElement;
+ [CEReactions] attribute DOMString invokeAction;
+};
+
+ The invokeTargetElement
IDL attribute must
+ reflect the invoketarget
attribute.
The invokeAction
+ IDL attribute must reflect the invokeaction
+ attribute.
To run the invoke target attribute activation behavior given a Node
+ node:
Let invokee be
+ invoketarget
-associated element.
If invokee is null, then return.
Let action be node's invokeaction
+ attribute
If action is null or empty, then let action be the string "auto
".
Let notCancelled be the result of firing an
+ event named invoke
at invokee with its action
set to action, its invoker
set to node, and its cancelable
and composed
+
attributes initialized to true.
If notCancelled is true and invokee has an associated + invocation action algorithm then run the invokee's invocation + action algorithm given action. + +
HTML elements may have an associated invocation action algorithm + which defines how the element reacts to being invoked.
invoke
+ InvokeEvent
+ languagechange
Event