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

Side by Side Diff: LayoutTests/fast/css/hover-update.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 PUBLIC "-//W3C//DTD HTML 4.01//EN" 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
2 "http://www.w3.org/TR/html4/strict.dtd"> 2 "http://www.w3.org/TR/html4/strict.dtd">
3 <html lang="en"> 3 <html lang="en">
4 <head> 4 <head>
5 <style> 5 <style>
6 div { width: 60px; text-align: center; 6 div { width: 60px; text-align: center;
7 position: relative; } 7 position: relative; }
8 div#a { background: green; } 8 div#a { background: green; }
9 div#b { background: yellow; } 9 div#b { background: yellow; }
10 div#a:hover { background: red; } 10 div#a:hover { background: red; }
11 div#b:hover { background: green; } 11 div#b:hover { background: green; }
12 span#c:hover { color: red; } 12 span#c:hover { color: red; }
13 </style> 13 </style>
14 <script src="../js/resources/js-test-pre.js"></script> 14 <script src="../../resources/js-test.js"></script>
15 </head> 15 </head>
16 <body onload="runtest()"> 16 <body onload="runtest()">
17 <p><b>BUG ID:</b> <a href="http://bugs.webkit.org/show_bug.cgi?id=6821">Bugzilla bug 6821</a> Fix for 5983 will not always update hover correctly.</p> 17 <p><b>BUG ID:</b> <a href="http://bugs.webkit.org/show_bug.cgi?id=6821">Bugzilla bug 6821</a> Fix for 5983 will not always update hover correctly.</p>
18 18
19 <p>To run manually, move your mouse over the black box. You should see a green box. If you see any other color, the test fails.</p> 19 <p>To run manually, move your mouse over the black box. You should see a green box. If you see any other color, the test fails.</p>
20 20
21 <script type="text/javascript"> 21 <script type="text/javascript">
22 function finish() 22 function finish()
23 { 23 {
24 var expectedBackgroundColor = "rgb(0, 128, 0)"; 24 var expectedBackgroundColor = "rgb(0, 128, 0)";
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 <div id="a"> 67 <div id="a">
68 <div style="height: 20px;"></div> 68 <div style="height: 20px;"></div>
69 <span id="c" onmouseover="hoveredC()">Hover here<br><span id="target" style="bac kground: black;">&nbsp;Wait&nbsp;</span></span> 69 <span id="c" onmouseover="hoveredC()">Hover here<br><span id="target" style="bac kground: black;">&nbsp;Wait&nbsp;</span></span>
70 </div> 70 </div>
71 <div id="b"> 71 <div id="b">
72 Only green now 72 Only green now
73 </div> 73 </div>
74 <div id="console"></div> 74 <div id="console"></div>
75 </body> 75 </body>
76 </html> 76 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/hover-display-block-none.html ('k') | LayoutTests/fast/css/id-or-class-before-stylesheet.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698