| OLD | NEW | 
|   1 <!-- Based on fast/repaint/scroll-fixed-layer-with-transformed-parent-layer.html
     --> |   1 <!-- Based on fast/repaint/scroll-fixed-layer-with-transformed-parent-layer.html
     --> | 
|   2 <html> |   2 <html> | 
|   3 <head> |   3 <head> | 
|   4     <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></
    style> |   4     <link rel="stylesheet" href="../../../fast/repaint/resources/default.css"></
    style> | 
|   5     <script src="resources/paint-invalidation-test.js" type="text/javascript"></
    script> |   5     <script src="resources/paint-invalidation-test.js" type="text/javascript"></
    script> | 
|   6     <script type="text/javascript"> |   6     <script type="text/javascript"> | 
|   7         window.expectedPaintInvalidationObjects = [ |  | 
|   8             "LayoutBlockFlow (positioned) DIV id='moveMe' class='fixed clipped'"
    , |  | 
|   9             "LayoutBlockFlow (positioned) DIV class='absolute green'", |  | 
|  10             "LayoutBlockFlow (positioned) DIV class='absolute red'", |  | 
|  11         ]; |  | 
|  12         function paintInvalidationTest() |   7         function paintInvalidationTest() | 
|  13         { |   8         { | 
|  14             var moveMeElement = document.getElementById('moveMe'); |   9             var moveMeElement = document.getElementById('moveMe'); | 
|  15             moveMeElement.scrollTop = 250; |  10             moveMeElement.scrollTop = 250; | 
|  16             moveMeElement.scrollLeft = 150; |  11             moveMeElement.scrollLeft = 150; | 
|  17         } |  12         } | 
|  18     </script> |  13     </script> | 
|  19 </head> |  14 </head> | 
|  20 <body style="height:2000px;" onload="runPaintInvalidationTest()"> |  15 <body style="height:2000px;" onload="runPaintInvalidationTest()"> | 
|  21     <!-- You should see 1 green rectangle rotated in the output and no red. --> |  16     <!-- You should see 1 green rectangle rotated in the output and no red. --> | 
|  22     <div class="rotated"> |  17     <div class="rotated"> | 
|  23         <div id="moveMe" style="top: 100px; left: 250px;" class="fixed clipped"> |  18         <div id="moveMe" style="top: 100px; left: 250px;" class="fixed clipped"> | 
|  24             <div class="absolute green" style="top: 250px; left: 150px;"></div> |  19             <div class="absolute green" style="top: 250px; left: 150px;"></div> | 
|  25             <div class="absolute red" style="top: 0px; left: 0px; height: 250px;
     width: 150px;"></div> |  20             <div class="absolute red" style="top: 0px; left: 0px; height: 250px;
     width: 150px;"></div> | 
|  26         </div> |  21         </div> | 
|  27     </div> |  22     </div> | 
|  28     <!-- Make sure we are scrolled --> |  23     <!-- Make sure we are scrolled --> | 
|  29     <div style="top: 0px; left: 0px;" class="absolute red"></div> |  24     <div style="top: 0px; left: 0px;" class="absolute red"></div> | 
|  30     <script> |  25     <script> | 
|  31         window.scrollTo(100, 180); |  26         window.scrollTo(100, 180); | 
|  32     </script> |  27     </script> | 
|  33 </body> |  28 </body> | 
|  34 </html> |  29 </html> | 
| OLD | NEW |