Partially implement dialog.show() (#32681)

Signed-off-by: Luke Warlow <lwarlow@igalia.com>
This commit is contained in:
Luke Warlow 2024-07-26 17:03:25 +01:00 committed by GitHub
parent 902bf57331
commit 8f377a0cb1
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
24 changed files with 32 additions and 65 deletions

View file

@ -1,3 +0,0 @@
[dialog-close-event.html]
[Test that dialog receives a close event upon closing.]
expected: FAIL

View file

@ -1,7 +1,4 @@
[dialog-focus-previous-outside.html]
[Focus should not be restored if the currently focused element is not inside the dialog.]
expected: FAIL
[Focus restore should not occur when the focused element is in a shadowroot outside of the dialog.]
expected: FAIL

View file

@ -1,6 +1,3 @@
[dialog-focusing-steps-disconnected.html]
[dialog.show(): focusing steps should not change focus on disconnected <dialog>]
expected: FAIL
[dialog.showModal() should throw on disconnected <dialog>]
expected: FAIL

View file

@ -1,6 +1,3 @@
[dialog-focusing-steps-inert.html]
[dialog.show(): focusing steps should not change focus when dialog is inert]
expected: FAIL
[dialog.showModal(): focusing steps should apply focus fixup rule when dialog is inert]
expected: FAIL

View file

@ -1,3 +0,0 @@
[dialog-focusing-steps-prevent-autofocus.html]
[After showing a dialog, non-dialog autofocus processing won't work.]
expected: FAIL

View file

@ -1,3 +0,0 @@
[dialog-open-2.html]
[Tests that dialog is visible after show() is called and not visible after close() is called.]
expected: FAIL

View file

@ -1,3 +0,0 @@
[dialog-return-value.html]
[Tests dialog.returnValue is settable and returns the last value set.]
expected: FAIL

View file

@ -1,7 +1,4 @@
[modal-dialog-in-visibility-hidden.html]
[Non-modal dialog should let parent visibility inherit]
expected: FAIL
[Modal dialog should have visibility: visible by default in UA sheet]
expected: FAIL

View file

@ -1,3 +0,0 @@
[non-modal-dialog-layout.html]
[Tests layout of non-modal dialogs.]
expected: FAIL

View file

@ -1,3 +1,4 @@
[submit-dialog-close-event.html]
expected: TIMEOUT
[Tests submitting a dialog on a close event triggered by a previous submission.]
expected: FAIL
expected: TIMEOUT