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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 Tests focus when a modal dialog is opened.
2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4
5
6 PASS successfullyParsed is true
7
8 TEST COMPLETE
9 PASS document.activeElement is outerButton
10 Test that focus goes to body if the dialog has no focusable elements, including itself
11 PASS document.activeElement is document.body
12 Test that an autofocus element in the dialog gets focus.
13 PASS document.activeElement is autofocusButton
14 ... or else first focusable element in the dialog gets focus.
15 PASS document.activeElement is firstButton
16 ... or else the dialog itself gets focus.
17 PASS document.activeElement is dialog
18 PASS successfullyParsed is true
19
20 TEST COMPLETE
21
OLDNEW
« 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