Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(570)

Unified Diff: LayoutTests/fast/dom/HTMLDialogElement/show-modal-focusing-steps-expected.txt

Issue 112553002: Implement new focusing steps for modal <dialog>. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: drop inert ancestors change Created 7 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/dom/HTMLDialogElement/show-modal-focusing-steps-expected.txt
diff --git a/LayoutTests/fast/dom/HTMLDialogElement/show-modal-focusing-steps-expected.txt b/LayoutTests/fast/dom/HTMLDialogElement/show-modal-focusing-steps-expected.txt
new file mode 100644
index 0000000000000000000000000000000000000000..6504e8299e58a41f3c2448262dcbc36a9e2b8ea0
--- /dev/null
+++ b/LayoutTests/fast/dom/HTMLDialogElement/show-modal-focusing-steps-expected.txt
@@ -0,0 +1,21 @@
+Tests focus when a modal dialog is opened.
+
+On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
+
+
+PASS successfullyParsed is true
+
+TEST COMPLETE
+PASS document.activeElement is outerButton
+Test that focus goes to body if the dialog has no focusable elements, including itself
+PASS document.activeElement is document.body
+Test that an autofocus element in the dialog gets focus.
+PASS document.activeElement is autofocusButton
+... or else first focusable element in the dialog gets focus.
+PASS document.activeElement is firstButton
+... or else the dialog itself gets focus.
+PASS document.activeElement is dialog
+PASS successfullyParsed is true
+
+TEST COMPLETE
+
« no previous file with comments | « LayoutTests/fast/dom/HTMLDialogElement/show-modal-focusing-steps.html ('k') | Source/core/html/HTMLDialogElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698