From 9e71dbc2888d266d401bc7bc2d8f3924b1679a5f Mon Sep 17 00:00:00 2001
From: Sean Feng Add an Set the previously focused element of the element to the focused element. Run the dialog focusing steps for the open
attribute to the dialog
element, whose value is the empty string.dialog
element.
Set the previously focused element of subject to the focused element.
Run the dialog focusing steps for subject.
If subject is in its Document
's top layer, then remove it.
If the previously focused element element is not null, create a + temporary pointer points to the element, set the previously focused + element to null, run the focusing steps for the element pointed by the temporary pointer; + The viewport shouldn't 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 must be set to the currently
+ focused element before running the dialog focusing steps.
The Add an Set the previously focused element of the element to the focused element. Set the dialog element's previously focused element to the focused element. Run the dialog focusing steps for the open
IDL
From dcd4192e2d1a9c8039546ccb2a1a791b71ea46b2 Mon Sep 17 00:00:00 2001
From: Sean Feng open
attribute to the dialog
element, whose value is the empty string.dialog
element.
Set the previously focused element of subject to the focused 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 the previously focused element element is not null, create a - temporary pointer points to the element, set the previously focused - element to null, run the focusing steps for the element pointed by the temporary pointer; - The viewport shouldn't be scrolled by doing this step.
If the subject's previously focused element element is not null, create a + temporary pointer points to the element, set the previously focused element + to null, run the focusing steps for the element pointed by the temporary pointer; + 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 @@ -57653,9 +57653,9 @@ interface HTMLDialogElement : HTMLElement {
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
+
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 must be set to the currently
+ show()
are called, this element is set to the currently
focused element before running the dialog focusing steps.
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.
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.
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 the subject's previously focused element element is not null, create a - temporary pointer points to the element, set the previously focused element - to null, run the focusing steps for the element pointed by the temporary pointer; - the viewport should not be scrolled by doing this step.
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 @@ -57654,8 +57661,8 @@ interface HTMLDialogElement : HTMLElement { 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
+ 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.
If subject is in its Document
's top layer, then remove it.
If subject's previously focused element is not null, then:
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.
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
From 244306ee6cf14a9103c28a60c45a5dc3597694ae Mon Sep 17 00:00:00 2001
From: Anne van Kesteren Add an Set the dialog element's previously focused element to the
+ Set the Run the dialog focusing steps for the If subject's previously focused element is not null, then:
Let element be subject's previously focused element.
- 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.open
attribute to the dialog
element, whose value is the empty string.dialog
element's previously focused element to the
focused element.dialog
element.
-