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

Side by Side Diff: third_party/WebKit/LayoutTests/fast/repaint/repaint-tile-clipped.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 <html> 2 <html>
3 <head> 3 <head>
4 <script src="resources/text-based-repaint.js"></script> 4 <script src="resources/text-based-repaint.js"></script>
5 <script> 5 <script>
6 if (window.testRunner) 6 if (window.testRunner)
7 testRunner.waitUntilDone(); 7 testRunner.waitUntilDone();
8 8
9 function repaintTest() 9 function repaintTest()
10 { 10 {
11 document.getElementById('ref').style.display = 'block'; 11 document.getElementById('ref').style.display = 'block';
12 if (window.testRunner) 12 if (window.testRunner)
13 testRunner.notifyDone(); 13 testRunner.notifyDone();
14 } 14 }
15 onload = runRepaintTest; 15 onload = runRepaintAndPixelTest;
16 </script> 16 </script>
17 </head> 17 </head>
18 <style> 18 <style>
19 #ref { 19 #ref {
20 display: none; 20 display: none;
21 min-width: 20em; 21 min-width: 20em;
22 height: 10em; 22 height: 10em;
23 position: absolute; 23 position: absolute;
24 bottom: 5px; 24 bottom: 5px;
25 border: 1px solid; 25 border: 1px solid;
(...skipping 13 matching lines...) Expand all
39 <a href="http://crbug.com/370945">crbug.com/370945</a> 39 <a href="http://crbug.com/370945">crbug.com/370945</a>
40 </p> 40 </p>
41 <p>You should see a green rectangle without any missing pieces if this test pass ed. </p> 41 <p>You should see a green rectangle without any missing pieces if this test pass ed. </p>
42 42
43 <p class='spaced'> 43 <p class='spaced'>
44 <span class='wrapper'> 44 <span class='wrapper'>
45 <span id="ref"></span> 45 <span id="ref"></span>
46 </span> 46 </span>
47 </p> 47 </p>
48 48
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698