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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/repaint-moving-svg-and-div.xhtml

Issue 1972273002: Let repaint tests test pixels by default (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 <html xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head> 2 <head>
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 3 <script src="../../fast/repaint/resources/repaint.js"></script>
4 <style> 4 <style>
5 5
6 svg { 6 svg {
7 position: absolute; 7 position: absolute;
8 left: 100px; 8 left: 100px;
9 top: 100px; 9 top: 100px;
10 width: 100px; 10 width: 100px;
11 height: 100px; 11 height: 100px;
12 } 12 }
13 13
(...skipping 28 matching lines...) Expand all
42 padding-top: 20px; 42 padding-top: 20px;
43 43
44 border-bottom-width: 10px; 44 border-bottom-width: 10px;
45 border-bottom-style: solid; 45 border-bottom-style: solid;
46 border-bottom-color: green; 46 border-bottom-color: green;
47 padding-bottom: 15px; 47 padding-bottom: 15px;
48 } 48 }
49 </style> 49 </style>
50 </head> 50 </head>
51 51
52 <body onload="runRepaintAndPixelTest()"> 52 <body onload="runRepaintTest()">
53 <svg id="svg" xmlns="http://www.w3.org/2000/svg"> 53 <svg id="svg" xmlns="http://www.w3.org/2000/svg">
54 <rect width="100" height="100" fill="lime"/> 54 <rect width="100" height="100" fill="lime"/>
55 </svg> 55 </svg>
56 56
57 <div id="html" class="outerBox"><div class="innerBox"/></div> 57 <div id="html" class="outerBox"><div class="innerBox"/></div>
58 58
59 <script type="text/javascript"> 59 <script type="text/javascript">
60 <![CDATA[ 60 <![CDATA[
61 var svgLeft = 100; 61 var svgLeft = 100;
62 var htmlLeft = 400; 62 var htmlLeft = 400;
(...skipping 25 matching lines...) Expand all
88 ++iterations; 88 ++iterations;
89 requestAnimationFrame(repaintTest); 89 requestAnimationFrame(repaintTest);
90 } else { 90 } else {
91 finishRepaintTest(); 91 finishRepaintTest();
92 } 92 }
93 } 93 }
94 ]]> 94 ]]>
95 </script> 95 </script>
96 </body> 96 </body>
97 </html> 97 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698