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: third_party/WebKit/LayoutTests/fast/repaint/hover-pseudo-borders-whitespace.html

Issue 1994373002: Convert some repaint tests into ref tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months 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 3
4 div { 4 div {
5 width: 100px; 5 width: 100px;
6 height: 100px; 6 height: 100px;
7 } 7 }
8 8
9 #div_border { 9 #div_border {
10 border: 10px solid; 10 border: 10px solid;
11 } 11 }
12 12
13 #div_outline { 13 #div_outline {
14 outline: 10px solid; 14 outline: 10px solid;
15 margin: 20px 0 0 10px; 15 margin: 20px 0 0 10px;
16 } 16 }
17 17
18 #div_border:hover, #div_border:hover + #div_outline { 18 #div_border:hover, #div_border:hover + #div_outline {
19 color: green; 19 color: green;
20 } 20 }
21 21
22 </style> 22 </style>
23 <script src="resources/text-based-repaint.js"></script> 23 <script src="resources/text-based-repaint.js"></script>
24 <script> 24 <script>
25 function repaintTest() { 25 function repaintTest() {
26 if (!window.testRunner) 26 if (!window.testRunner)
27 return; 27 return;
28 eventSender.mouseMoveTo(50, 50); 28 eventSender.mouseMoveTo(50, 50);
29 } 29 }
30 window.addEventListener("load", runRepaintTest); 30 window.addEventListener("load", runRepaintAndPixelTest);
31 </script> 31 </script>
32 <div id="div_border"></div> 32 <div id="div_border"></div>
33 <div id="div_outline"></div> 33 <div id="div_outline"></div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698