diff --git a/source b/source index c674496762c..211176d06de 100644 --- a/source +++ b/source @@ -55622,6 +55622,46 @@ interface HTMLButtonElement : HTMLElement {
To determine if a command is valid for a
+ target given a command attribute
+ command and an element target:
If command is in the Unknown state, then return false.
If command is in the Custom state, then return true.
If target's namespace is not + the HTML namespace, then return false.
If target's popover attribute is not in the
+ No Popover state, and command is in any
+ of the following states:
Toggle Popover
Show Popover
Hide Popover
then return true.
+If this standard does not define is valid command steps for + target's local name, then return + false.
Otherwise, return the result of running target's corresponding is valid + command steps given command.
A button element element's activation behavior given
event is:
Let command be element's command attribute.
If command is in the Unknown state, then return.
Let isPopover be true if target's popover attribute is not in the No Popover state; otherwise false.
If isPopover is false and command is not in the Custom state:
- -Assert: target's namespace is the - HTML namespace.
If this standard does not define is valid command steps for - target's local name, then - return.
Otherwise, if the result of running target's corresponding is valid - command steps given command is false, then - return.
If the result of determining if a command + is valid for a target given command and target is false, then + return.
Let continue be the result of firing an