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

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

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, 8 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 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/repaint.js"></script> 3 <script src="../../fast/repaint/resources/text-based-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="runRepaintTest()"> 52 <body onload="runRepaintAndPixelTest()">
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 29 matching lines...) Expand all
92 window.setTimeout(repaintTest, 0); 92 window.setTimeout(repaintTest, 0);
93 } else { 93 } else {
94 if (window.testRunner) 94 if (window.testRunner)
95 testRunner.notifyDone(); 95 testRunner.notifyDone();
96 } 96 }
97 } 97 }
98 ]]> 98 ]]>
99 </script> 99 </script>
100 </body> 100 </body>
101 </html> 101 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698