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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/dom/inert/inert-label-focus-expected.txt

Issue 2088453002: Implement the inert attribute (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix up some tests Created 4 years, 6 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 focusing of an inert label for a non-inert target. label.focus() should se nd focus to the target, but clicking the label should be the same as clicking on the document body. 1 Tests focusing of an inert label for a non-inert target. label.focus() should se nd focus to the target, but clicking the label should be the same as clicking on the document body.
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 Testing that calling focus() on label sends focus to its target. 6 Testing that calling focus() on label sends focus to its target.
7 PASS document.activeElement is document.querySelector('#submit') 7 PASS document.activeElement is document.querySelector('#submit')
8 Testing that clicking on the label sends focus to document.body. 8 Testing that clicking on the label sends focus to document.body.
9 PASS document.activeElement is document.body 9 PASS document.activeElement is document.body
10 PASS successfullyParsed is true 10 PASS successfullyParsed is true
11 11
12 TEST COMPLETE 12 TEST COMPLETE
13 Label for Submit 13 Label for Submit
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698