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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/HTMLDialogElement/dialog-focus-expected.txt

Issue 2428333002: <dialog>: don't focus non-form elements with tabindex < 0 when showModal() is called (Closed)
Patch Set: asdf Created 4 years, 2 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
(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 document.activeElement is document.querySelector("[tabindex='0']")
7 PASS successfullyParsed is true
8
9 TEST COMPLETE
10 Negative tabindex shouldn't be focused
11 A div or custom element with tabindex >= 0 should be focused
12 Form controls without [autofocus] shouldn't have higher precendence
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698