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

Side by Side Diff: LayoutTests/svg/as-image/animated-svg-as-image-same-image.html

Issue 205263004: Convert svg repaint tests to pixel test only repaint (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove fixedpos Created 6 years, 9 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 <html> 1 <html>
2 <head> 2 <head>
3 <script src="../../fast/repaint/resources/repaint.js" type="text/javascript">< /script> 3 <script src="../../fast/repaint/resources/text-based-repaint.js" type="text/ja vascript"></script>
4 <script type="text/javascript"> 4 <script type="text/javascript">
5 function repaintTest() { 5 function repaintTest() {
6 if (!window.testRunner) 6 if (!window.testRunner)
7 return; 7 return;
8 8
9 // The animation lasts 100ms. Wait 200ms for the repaint. 9 // The animation lasts 100ms. Wait 200ms for the repaint.
10 testRunner.waitUntilDone(); 10 testRunner.waitUntilDone();
11 setTimeout(function() { 11 setTimeout(function() {
12 testRunner.notifyDone(); 12 testRunner.notifyDone();
13 }, 200); 13 }, 200);
14 } 14 }
15 </script> 15 </script>
16 <style type="text/css" media="screen"> 16 <style type="text/css" media="screen">
17 img { 17 img {
18 margin: 10px; 18 margin: 10px;
19 } 19 }
20 </style> 20 </style>
21 </head> 21 </head>
22 <body onload="runRepaintTest()"> 22 <body onload="runRepaintAndPixelTest()">
23 <p>Images should redraw correctly when SVG animation runs</p> 23 <p>Images should redraw correctly when SVG animation runs</p>
24 <img height="250px" width="350px" border="2" src="resources/animated-rect-same -image.svg"><br> 24 <img height="250px" width="350px" border="2" src="resources/animated-rect-same -image.svg"><br>
25 <img height="250px" width="350px" border="2" src="resources/animated-rect-same -image.svg"> 25 <img height="250px" width="350px" border="2" src="resources/animated-rect-same -image.svg">
26 </body> 26 </body>
27 </html> 27 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698