diff --git a/source b/source index 1d4de3a60e2..0b76e283e62 100644 --- a/source +++ b/source @@ -56934,7 +56934,8 @@ interface HTMLButtonElement : HTMLElement { validity be false.
If validity is true, then run the show popover - algorithm given target, false, and element.
Otherwise:
@@ -56961,7 +56962,8 @@ interface HTMLButtonElement : HTMLElement { validity be false.If validity is true, then run the show popover - algorithm given target, false, and element.
Run the show popover algorithm given select's select - popover, false, and select.
Let focusSetterDocument be the incumbent global object's associated Document.
If this has an open attribute and
is modal of this is false, then return.
Run hide popovers until given document, hideUntil, false, and true.
Run the dialog focusing steps given this.
Run the dialog focusing steps given this and + focusSetterDocument.
The showModal() method steps are to show a modal
- dialog given this and null.
Let focusSetterDocument be the incumbent global object's associated Document.
Show a modal dialog given this, null, and + focusSetterDocument.
To show a modal dialog given a dialog element subject and an
- Element or null source:
To show a modal dialog given a dialog element subject, an
+ Element or null source, and a Document
+ focusSetterDocument:
If subject has an open attribute and
@@ -66700,7 +66717,8 @@ interface HTMLDialogElement : HTMLElement {
Run hide popovers until given document, hideUntil, false, and true.
Run the dialog focusing steps given subject.
Run the dialog focusing steps given subject and + focusSetterDocument.
If command is the Show Modal state and element does
not have an open attribute, then
- show a modal dialog given element and source.
The dialog focusing steps, given a dialog element subject,
- are as follows:
The dialog focusing steps, given a dialog element subject
+ and a Document focusSetterDocument, are as follows:
If subject's node document is not fully active, then + return.
If the allow focus steps given subject's node - document return false, then return.
Let control be null.
If current is null, then return.
Let focusSetterDocument be the incumbent global object's associated Document.
If the allow focus steps given current's active document return false, then return.
Run the focusing steps with current.
If the allow focus steps given this's node document - return false, then return.
Let focusSetterDocument be the incumbent global object's associated Document.
If the allow focus steps given this's node + document and focusSetterDocument return false, then return.
Run the focusing steps for this.
The allow focus steps, given a Document object
- target, are:
The allow focus steps, given a Document object target
+ and a Document object focusSetterDocument, are:
If target is allowed to use the " If target's relevant global object has transient
activation, then return true. If target is not fully active, then return false. If running the has focus steps given target returns true, then
+ return true. If focusSetterDocument is not fully active, then return
+ false. If focusSetterDocument's inclusive descendant navigables does not
+ contain target's node navigable, then
+ return false. If focusSetterDocument is allowed to use the " If focusSetterDocument's relevant global object has
+ transient activation, then return true. If running the has focus steps given focusSetterDocument returns
+ true, then return true. Return false.CommandEventInit : EventInit {
focus-without-user-activation" feature,
+ then return true.
If target's active sandboxing flag set has the sandboxed automatic features browsing context flag, then return.
If the allow focus steps given target return false, then - return.
If the allow focus steps given target and target return + false, then return.
Let topDocument be target's node navigable's top-level traversable's active @@ -92218,19 +92271,24 @@ dictionary DragEventInit : MouseEventInit { data-x="dom-showPopover">showPopover(options) method steps are:
Let focusSetterDocument be the incumbent global object's associated Document.
Let source be options["source"] if it exists; otherwise, null.
Run show popover given this, true, and - source.
Run show popover given this, true, source, and + focusSetterDocument.
To show popover, given an HTML element - element, a boolean throwExceptions, and an HTML - element or null source:
+ element, a boolean throwExceptions, an HTML + element or null source, and aDocument
+ focusSetterDocument:
Let document be element's node document.
Set element's implicit anchor element to source.
Run the popover focusing steps given element.
Run the popover focusing steps given element and + focusSetterDocument.
If shouldRestoreFocus is true and element's popover attribute is not in the DragEventInit : MouseEventInit {
data-x="dom-togglePopover">togglePopover(options) method steps are:
Let focusSetterDocument be the incumbent global object's associated Document.
Let force be null.
If options is a boolean, set force to options.
Otherwise, if force is null or true, then run show popover given - this, true, and source.
Otherwise:
@@ -93002,14 +93065,15 @@ dictionary DragEventInit : MouseEventInit {To perform the popover focusing steps for an HTML - element subject:
+ element subject and aDocument
+ focusSetterDocument:
If the allow focus steps given subject's node - document return false, then return.
If subject is a dialog element, then run the dialog focusing
- steps given subject and return.
If subject has the autofocus
attribute, then let control be subject.
@@ -93292,7 +93356,8 @@ dictionary DragEventInit : MouseEventInit {
validity be false.
If validity is true, then run show popover given - popover, false, and node.