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

Side by Side Diff: LayoutTests/svg/repaint/image-animation-with-zoom.html

Issue 1287773002: Deflake svg/repaint/image-animation-with-zoom.html (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 years, 4 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 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <!-- Test for crbug.com/375765: test passes if a green square is drawn. --> 2 <!-- Test for crbug.com/375765: test passes if a green square is drawn. -->
3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script> 3 <script src="../../fast/repaint/resources/text-based-repaint.js"></script>
4 <style> 4 <style>
5 html { 5 html {
6 zoom: 2.2; 6 zoom: 2.2;
7 } 7 }
8 * { 8 * {
9 margin: 0; 9 margin: 0;
10 padding: 0; 10 padding: 0;
11 } 11 }
12 </style> 12 </style>
13 <script> 13 <script>
14 window.testIsAsync = true; 14 window.testIsAsync = true;
15 window.onload = runRepaintTest; 15 window.onload = runRepaintTest;
16 16
17 function repaintTest() { 17 function repaintTest() {
18 setTimeout(function() { 18 setTimeout(function() {
19 if (window.testRunner) 19 if (window.testRunner)
20 finishRepaintTest(); 20 finishRepaintTest();
21 }, 220); 21 }, 220);
22 }; 22 };
23 </script> 23 </script>
24 <img src="resources/animate-center.svg" width="200px" height="200px"> 24 <img src="resources/animate-center.svg" width="10px" height="10px">
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698