diff --git a/source b/source index fca12713fab..a9cb05ae9bf 100644 --- a/source +++ b/source @@ -46053,6 +46053,8 @@ interface HTMLLabelElement : HTMLElement {
formnovalidate
formtarget
height
invoketarget
invokeaction
list
max
maxlength
invoketarget
+ invokeaction
+ list
formnovalidate
,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
maxlength
,
@@ -48020,6 +48073,8 @@ interface HTMLInputElement : HTMLElement {
formnovalidate
,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
min
,
multiple
,
@@ -48123,6 +48178,8 @@ interface HTMLInputElement : HTMLElement {
formnovalidate
,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
min
,
multiple
,
@@ -48228,6 +48285,8 @@ interface HTMLInputElement : HTMLElement {
formnovalidate
,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
min
,
multiple
,
@@ -48499,6 +48558,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
min
,
popovertarget
,
@@ -48595,6 +48656,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
min
,
@@ -48769,6 +48832,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -48922,6 +48987,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49079,6 +49146,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49232,6 +49301,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49378,6 +49449,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49543,6 +49616,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49814,6 +49889,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
maxlength
,
minlength
,
multiple
,
@@ -49920,6 +49997,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
max
,
maxlength
,
min
,
@@ -50035,6 +50114,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
maxlength
,
@@ -50212,6 +50293,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
maxlength
,
@@ -50466,6 +50549,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
list
,
max
,
maxlength
,
@@ -50560,6 +50645,8 @@ ldh-str = < as defined in formmethod,
formnovalidate
,
formtarget
,
+ invoketarget
,
+ invokeaction
,
popovertarget
, and
popovertargetaction
content
attributes; value
IDL attribute.
@@ -50830,6 +50917,8 @@ ldh-str = < as defined in formnovalidate,
formtarget
,
height
,
+ invoketarget
,
+ invokeaction
,
popovertarget
,
popovertargetaction
,
src
, and
@@ -50953,6 +51042,8 @@ ldh-str = < as defined in apply to the element:
+ invoketarget
,
+ invokeaction
,
popovertarget
and
popovertargetaction
.
@@ -51038,6 +51129,8 @@ ldh-str = < as defined in apply to the element:
+ invoketarget
,
+ invokeaction
,
popovertarget
and
popovertargetaction
.
@@ -52619,6 +52712,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 +
Otherwise, 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 EventTarget? relatedTarget;
+ readonly attribute DOMString action;
+};
+
+dictionary InvokeEventInit : EventInit {
+ EventTarget? relatedTarget = null;
+ DOMString action = "auto";
+};
+
+ event.action
This is a freeform hint dictating what action the element must take.
+ Defaults to "auto
".
event.relatedTarget
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 relatedTarget
attribute should be initialized
+ to the target that was interacted with to cause the InvokeEvent.
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.
The invokeaction
attribute's missing value default is
+ the string "auto
".
interface mixin InvokerElement {
+ [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 node's invoke target 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 relatedTarget
set to node, and its cancelable
attribute 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.
+ +To get the invoke target element given a Node
node, perform
+ the following steps. They return an HTML element or null.
If node is not a button, then return + null.
If node is disabled, then return + null.
If node has a form owner and node is a submit button, then return null.
Let invokeElement be node's invoketarget
-associated element.
If invokeElement is null, then return null.
Return invokeElement.
invoke
+ InvokeEvent
+ languagechange
Event