diff --git a/source b/source index 25a6b07eaae..e841dd6d762 100644 --- a/source +++ b/source @@ -62234,15 +62234,6 @@ interface HTMLDialogElement : HTMLElement {
Add an open
attribute to this, whose
value is the empty string.
Assert: this's node document's open - dialogs list does not contain - this.
Add this to this's node document's open - dialogs list.
Set the dialog close watcher with this.
Set this's previously focused element to the focused element.
The dialog
HTML element insertion steps, given
+ insertedNode, are:
If insertedNode has an open
attribute:
Run the dialog setup steps given insertedNode.
The dialog
HTML element removing steps, given removedNode
and oldParent, are:
If removedNode's close watcher is not - null, then:
+If removedNode has an open
attribute:
Destroy removedNode's close watcher.
Set removedNode's close watcher to - null.
Run the dialog cleanup steps given removedNode.
Set is modal of removedNode to false.
The following attribute change
+ steps, given element, localName, oldValue,
+ value, and namespace are used for dialog
elements:
Remove removedNode from - removedNode's node document's open dialogs list.
If namespace is not null, then return.
If localName is not open
, then
+ return.
If value is null, oldValue is not null, and element is + connected, then run the dialog cleanup steps given + element.
If value is not null, oldValue is null, and element is + connected, then run the dialog setup steps given + element.
To show a modal dialog given a dialog
element subject:
Set is modal of subject to true.
Assert: subject's node document's open - dialogs list does not contain - subject.
Add subject to subject's node document's open - dialogs list.
Let subject's node document be blocked by the modal dialog subject.
@@ -62481,8 +62489,6 @@ interface HTMLDialogElement : HTMLElement { already contain subject, then add an element to the top layer given subject.Set the dialog close watcher with subject.
Set subject's previously focused element to the focused element.
If dialog's close watcher is not + null, then return.
Set dialog's close watcher to the result of establishing a close watcher given @@ -62626,9 +62635,6 @@ interface HTMLDialogElement : HTMLElement {
Set is modal of subject to false.
Remove subject from subject's - node document's open dialogs list.
If result is not null, then set the returnValue
attribute to result.
Queue an element task on the user interaction task source given the
subject element to fire an event named
close
at subject.
If subject's close watcher is not null, - then:
- -Destroy subject's close watcher.
Set subject's close watcher to - null.
Set topDocument's autofocus processed flag to true.
The dialog setup steps, given a dialog
element subject, are
+ as follows:
Assert: subject's node document's open dialogs + list does not contain subject.
Add subject to subject's node document's open + dialogs list.
Set the dialog close watcher with subject.
The dialog cleanup steps, given a dialog
element subject,
+ are as follows:
Assert: subject's node document's open dialogs + list contains element.
Remove subject from subject's + node document's open dialogs list.
If subject's close watcher is not null, + then:
+ +Destroy subject's close watcher.
Set subject's close watcher to + null.
"Light dismiss" means that clicking outside of a dialog
element whose