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

Side by Side Diff: LayoutTests/fast/css/focus-display-block-inline.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 lang="en"> 2 <html lang="en">
3 <head> 3 <head>
4 <title>Switch between display block and none on :focus</title> 4 <title>Switch between display block and none on :focus</title>
5 <style> 5 <style>
6 .box { 6 .box {
7 width: 100px; 7 width: 100px;
8 height: 100px; 8 height: 100px;
9 background-color: blue; 9 background-color: blue;
10 color: white; 10 color: white;
11 padding: 10px; 11 padding: 10px;
12 } 12 }
13 #button { 13 #button {
14 display: block; 14 display: block;
15 width: 200px; 15 width: 200px;
16 height: 50px; 16 height: 50px;
17 } 17 }
18 #button:focus { 18 #button:focus {
19 display: none; 19 display: none;
20 } 20 }
21 </style> 21 </style>
22 22
23 » <script src="../js/resources/js-test-pre.js"></script> 23 » <script src="../../resources/js-test.js"></script>
24 </head> 24 </head>
25 25
26 <script type="text/javascript"> 26 <script type="text/javascript">
27 if (window.testRunner) 27 if (window.testRunner)
28 testRunner.waitUntilDone(); 28 testRunner.waitUntilDone();
29 29
30 function beginTest() { 30 function beginTest() {
31 if (window.eventSender) { 31 if (window.eventSender) {
32 var button = document.getElementById("button"); 32 var button = document.getElementById("button");
33 button.focus(); 33 button.focus();
(...skipping 21 matching lines...) Expand all
55 } 55 }
56 } 56 }
57 57
58 </script> 58 </script>
59 59
60 <body onload="beginTest()"> 60 <body onload="beginTest()">
61 <button type="button" id="button">When you hit TAB, this button should d isappear.</button> 61 <button type="button" id="button">When you hit TAB, this button should d isappear.</button>
62 <div class="box">This is here to show the layout being recomputed</div> 62 <div class="box">This is here to show the layout being recomputed</div>
63 </body> 63 </body>
64 </html> 64 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/first-letter-nested.html ('k') | LayoutTests/fast/css/font-face-descending-unicode-range.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698