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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/forms/autofocus-keygen.html

Issue 2536993002: Remove support for the keygen tag (Closed)
Patch Set: Rebased Created 4 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 <!DOCTYPE html>
2 <html>
3 <head>
4 <script src="../../resources/js-test.js"></script>
5 <script src="resources/common.js"></script>
6 <script>
7 window.jsTestIsAsync = true;
8
9 waitUntilLoadedAndAutofocused(function() {
10 shouldBe('document.activeElement', 'document.querySelector("keygen")');
11 shouldBe('document.activeElement.autofocus', 'true');
12 finishJSTest();
13 });
14 </script>
15 </head>
16 <body>
17 <keygen autofocus>
18 <pre id="console">
19 This tests whether the keygen element supports the autofocus attribute.
20
21 </pre>
22 </body>
23 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698