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

Side by Side Diff: third_party/WebKit/LayoutTests/html/dialog/show-modal-focusing-steps-expected.txt

Issue 2671603003: Move DIALOG element tests to html/dialog/. (Closed)
Patch Set: Created 3 years, 10 months 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
OLDNEW
1 Tests focus when a modal dialog is opened. 1 Tests focus when a modal dialog is opened.
2 2
3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ". 3 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE ".
4 4
5 5
6 PASS document.activeElement is outerButton 6 PASS document.activeElement is outerButton
7 Test that focus goes to body if the dialog has no focusable elements, including itself 7 Test that focus goes to body if the dialog has no focusable elements, including itself
8 PASS document.activeElement is document.body 8 PASS document.activeElement is document.body
9 Test that an autofocus element in the dialog gets focus. 9 Test that an autofocus element in the dialog gets focus.
10 PASS document.activeElement is autofocusButton 10 PASS document.activeElement is autofocusButton
11 ... or else first focusable element in the dialog gets focus. 11 ... or else first focusable element in the dialog gets focus.
12 PASS document.activeElement is firstButton 12 PASS document.activeElement is firstButton
13 ... or else the dialog itself gets focus. 13 ... or else the dialog itself gets focus.
14 PASS document.activeElement is dialog 14 PASS document.activeElement is dialog
15 PASS successfullyParsed is true 15 PASS successfullyParsed is true
16 16
17 TEST COMPLETE 17 TEST COMPLETE
18 18
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698