diff --git a/source b/source index f04d536fe5d..fb2da13f43d 100644 --- a/source +++ b/source @@ -57597,6 +57597,9 @@ interface HTMLDialogElement : HTMLElement {
Add an open
attribute to the dialog
element, whose value is the empty string.
Set the dialog
element's previously focused element to the
+ focused element.
Run the dialog focusing steps for the dialog
element.
Set the subject's previously focused element to the + focused element.
Run the dialog focusing steps for subject.
If subject is in its Document
's top layer, then remove it.
If subject's previously focused element is not null, then:
+ +
Let element be subject's previously focused + element.
Set subject's previously focused element to null.
Run the focusing steps for element; the viewport should not be + scrolled by doing this step.
Queue an element task on the user interaction task source given the
subject element to fire an event named
close
at subject.
Each dialog
element has an is modal flag. When a dialog
element is created, this flag must be set to false.
Each dialog
element has a previously focused element which is null or
+ an element, and it is initially null. When showModal()
+ and show()
are called, this element is set to the currently
+ focused element before running the dialog focusing steps.
The open
IDL