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

Side by Side Diff: LayoutTests/fast/dom/HTMLDialogElement/inert-node-is-unfocusable.html

Issue 58533003: Move fast/js/resources files to resources. (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="../../../resources/js-test.js"></script>
5 </head> 5 </head>
6 <body id="body" tabindex="1"> 6 <body id="body" tabindex="1">
7 <dialog id="top-dialog" tabindex="1" style="width: 100px; top: 30px"><button id= "top-dialog-button">I get focus</button></dialog> 7 <dialog id="top-dialog" tabindex="1" style="width: 100px; top: 30px"><button id= "top-dialog-button">I get focus</button></dialog>
8 <dialog id="bottom-dialog" tabindex="-1" style="width: 100px; bottom: 30px"><but ton id="bottom-dialog-button">I don't get focus.</button></dialog> 8 <dialog id="bottom-dialog" tabindex="-1" style="width: 100px; bottom: 30px"><but ton id="bottom-dialog-button">I don't get focus.</button></dialog>
9 <div id="container"> 9 <div id="container">
10 <input id="text" type="text"> 10 <input id="text" type="text">
11 <input id="datetime" type="datetime"> 11 <input id="datetime" type="datetime">
12 <input id="color" type="color"> 12 <input id="color" type="color">
13 <select id="select"> 13 <select id="select">
14 <optgroup id="optgroup"> 14 <optgroup id="optgroup">
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
47 var topDialog = document.getElementById('top-dialog'); 47 var topDialog = document.getElementById('top-dialog');
48 topDialog.showModal(); 48 topDialog.showModal();
49 49
50 testFocus(document.body, true); 50 testFocus(document.body, true);
51 testTree(topDialog, true); 51 testTree(topDialog, true);
52 testTree(bottomDialog, false); 52 testTree(bottomDialog, false);
53 testTree(document.getElementById('container'), false); 53 testTree(document.getElementById('container'), false);
54 </script> 54 </script>
55 </body> 55 </body>
56 </html> 56 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698