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

Side by Side Diff: LayoutTests/paint/invalidation/spv2/repaint-tile-clipped.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 3 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 | Annotate | Revision Log
OLDNEW
1 <!-- Based on fast/repaint/repaint-tile-clipped.html -->
1 <!DOCTYPE html> 2 <!DOCTYPE html>
2 <html> 3 <html>
3 <head> 4 <head>
4 <script src="resources/text-based-repaint.js"></script> 5 <script src="resources/paint-invalidation-test.js"></script>
5 <script> 6 <script>
6 if (window.testRunner) 7 window.expectedPaintInvalidationObjects = [
7 testRunner.waitUntilDone(); 8 ];
8 9 function paintInvalidationTest()
9 function repaintTest()
10 { 10 {
11 document.getElementById('ref').style.display = 'block'; 11 document.getElementById('ref').style.display = 'block';
12 if (window.testRunner)
13 testRunner.notifyDone();
14 } 12 }
15 onload = runRepaintTest; 13 onload = runPaintInvalidationTest;
16 </script> 14 </script>
17 </head> 15 </head>
18 <style> 16 <style>
19 #ref { 17 #ref {
20 display: none; 18 display: none;
21 min-width: 20em; 19 min-width: 20em;
22 height: 10em; 20 height: 10em;
23 position: absolute; 21 position: absolute;
24 bottom: 5px; 22 bottom: 5px;
25 border: 1px solid; 23 border: 1px solid;
(...skipping 13 matching lines...) Expand all
39 <a href="http://crbug.com/370945">crbug.com/370945</a> 37 <a href="http://crbug.com/370945">crbug.com/370945</a>
40 </p> 38 </p>
41 <p>You should see a green rectangle without any missing pieces if this test pass ed. </p> 39 <p>You should see a green rectangle without any missing pieces if this test pass ed. </p>
42 40
43 <p class='spaced'> 41 <p class='spaced'>
44 <span class='wrapper'> 42 <span class='wrapper'>
45 <span id="ref"></span> 43 <span id="ref"></span>
46 </span> 44 </span>
47 </p> 45 </p>
48 46
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698