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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/legend-access-key.html

Issue 1528823002: Move tests related to <fieldset> and <legend> to fast/forms/fieldset. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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
OLDNEW
(Empty)
1 <html>
2 <head>
3 <script>
4 function log(message)
5 {
6 var item = document.createElement("li");
7 item.appendChild(document.createTextNode(message));
8 document.getElementById("console").appendChild(item);
9 }
10 function test()
11 {
12 if (window.testRunner) {
13 testRunner.dumpAsText();
14 eventSender.keyDown("f", "accessKey");
15 }
16 }
17 </script>
18 </head>
19 <body onload="test()">
20 <p>This test checks to see if accesskey attributes work on legend elements.</p>
21 <p>If the test passes, you should see one line saying "focused" and the text fie ld should have focus.</p>
22 <hr>
23 <p><fieldset><legend accesskey="f">Information:</legend><input onfocus="log('foc used')" type="text"></fieldset><p>
24 <hr>
25 <ol id="console"></ol>
26 </body>
27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698