diff --git a/source b/source
index 0ff221da5db..40f8062ec4d 100644
--- a/source
+++ b/source
@@ -53560,6 +53560,11 @@ interface HTMLButtonElement : HTMLElement {
data-x="attr-button-command-close">close
dialog
element.
+ request-close
+ dialog
element.
show-modal
@@ -62226,25 +62231,10 @@ interface HTMLDialogElement : HTMLElement {
are:
If this does not have an open
- attribute, then return.
Assert: this's close - watcher is not null.
Set dialog's enable close watcher for requestClose()
to true.
If returnValue is not given, then set it to null.
Set this's request close return value to - returnValue.
Request to close dialog's - close watcher with false.
Set dialog's enable close watcher for requestClose()
to false.
Request to close the dialog this + with returnValue.
Each dialog
element has a request close return value, which is a
string, initially null.
Each dialog
element has an enable close watcher for requestClose()
boolean, initially false.
Each dialog
element has an enable close watcher for request close
+ boolean, initially false.
dialog
's enable close watcher for request close is used
+ to force enable the dialog's close watcher while requesting to close it. A dialog whose computed
+ closed-by state is the None state
+ would otherwise have a disabled close watcher.
Each dialog
element has an is modal boolean, initially false.
getEnabledState being to return
- true if dialog's enable close watcher for requestClose()
is true or dialog's
- computed closed-by state is not dialog's enable close watcher for request close is true or
+ dialog's computed closed-by state is not None; otherwise false.
The is valid invoker command steps for dialog
elements, given
- a command
attribute command, are:
The is valid invoker command steps for dialog
elements, given a command
attribute command, are:
If command is in the Close state or in the Show Modal state, then - return true.
Return false.
open
attribute:
Let value be invoker's Let value be null.
If invoker has a value
attribute,
+ then set value to invoker's value.
Close the dialog element with value.
If command is in the Request Close state and
+ element has an open
attribute:
Let value be null.
If invoker has a value
attribute,
+ then set value to invoker's value.
Request to close the dialog + element with value.
If command is the Show Modal state and element does
not have an open
attribute, then
@@ -62610,6 +62625,29 @@ interface HTMLDialogElement : HTMLElement {
To request to close dialog
element
+ subject, given null or a string returnValue:
If this does not have an open
+ attribute, then return.
Assert: this's close + watcher is not null.
Set dialog's enable close watcher for request close to + true.
Set this's request close return value to + returnValue.
Request to close dialog's + close watcher with false.
Set dialog's enable close watcher for request close to + false.
To queue a dialog toggle event task given a dialog
element
@@ -143435,6 +143473,7 @@ interface External {
"show-popover
";
"hide-popover
";
"close
";
+ "request-close
";
"show-modal
";
a custom command keyword