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

Side by Side Diff: LayoutTests/fast/dom/HTMLDialogElement/dialog-autofocus.html

Issue 48903019: Delete js-test-post.js. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 1 month 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../js/resources/js-test-pre.js"></script> 4 <script src="../../js/resources/js-test-pre.js"></script>
5 <script> 5 <script>
6 description('Tests autofocus when a modal dialog is opened.'); 6 description('Tests autofocus when a modal dialog is opened.');
7 7
8 function test() { 8 function test() {
9 shouldBe('document.activeElement', 'document.getElementById("outer-button")' ); 9 shouldBe('document.activeElement', 'document.getElementById("outer-button")' );
10 10
(...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after
49 <button autofocus></button> 49 <button autofocus></button>
50 </dialog> 50 </dialog>
51 <div> 51 <div>
52 <span> 52 <span>
53 <button id="autofocus-button" autofocus></button> 53 <button id="autofocus-button" autofocus></button>
54 </span> 54 </span>
55 </div> 55 </div>
56 <button id="another-button" autofocus></button> 56 <button id="another-button" autofocus></button>
57 </dialog> 57 </dialog>
58 </body> 58 </body>
59 <script src="../../js/resources/js-test-post.js"></script>
60 </html> 59 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698