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

Side by Side Diff: third_party/WebKit/LayoutTests/images/image-hover-display-alt.html

Issue 2496663002: Merge css3/image/ and fast/images/ to images/ (Closed)
Patch Set: Address failing tests (3 of them) Created 4 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
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <style> 2 <style>
3 #star { 3 #star {
4 cursor: pointer; 4 cursor: pointer;
5 font-size: 100px; 5 font-size: 100px;
6 color: black; 6 color: black;
7 margin : 40px; 7 margin : 40px;
8 } 8 }
9 #star:hover { 9 #star:hover {
10 color:red; 10 color:red;
11 } 11 }
12 </style> 12 </style>
13 <img id='star' src='' alt='&#9733;'/> 13 <img id='star' src='' alt='&#9733;'/>
14 <script> 14 <script>
15 if (window.testRunner) { 15 if (window.testRunner) {
16 testRunner.waitUntilDone(); 16 testRunner.waitUntilDone();
17 var star = document.getElementById('star'); 17 var star = document.getElementById('star');
18 eventSender.mouseMoveTo(star.offsetLeft + 2, star.offsetTop + 2); 18 eventSender.mouseMoveTo(star.offsetLeft + 2, star.offsetTop + 2);
19 window.requestAnimationFrame(function() { 19 window.requestAnimationFrame(function() {
20 testRunner.notifyDone(); 20 testRunner.notifyDone();
21 }); 21 });
22 } 22 }
23 </script> 23 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698