OLD | NEW |
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 Loading... |
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 Loading... |
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> |
OLD | NEW |