| OLD | NEW |
| 1 <!-- Based on fast/repaint/outline-child-repaint.html --> | 1 <!-- Based on fast/repaint/outline-child-repaint.html --> |
| 2 <html> | 2 <html> |
| 3 <head> | 3 <head> |
| 4 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> | 4 <script src="resources/paint-invalidation-test.js" type="text/javascript"></
script> |
| 5 <script type="text/javascript"> | 5 <script type="text/javascript"> |
| 6 window.expectedPaintInvalidationObjects = [ | |
| 7 "LayoutBlockFlow (positioned) DIV id='container'", | |
| 8 "LayoutBlockFlow DIV class='outlined'", | |
| 9 ]; | |
| 10 function paintInvalidationTest() | 6 function paintInvalidationTest() |
| 11 { | 7 { |
| 12 var container = document.getElementById('container'); | 8 var container = document.getElementById('container'); |
| 13 container.style.top = "250px"; | 9 container.style.top = "250px"; |
| 14 } | 10 } |
| 15 </script> | 11 </script> |
| 16 <style type="text/css" media="screen"> | 12 <style type="text/css" media="screen"> |
| 17 #container { | 13 #container { |
| 18 position: absolute; | 14 position: absolute; |
| 19 left: 10px; | 15 left: 10px; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 46 <hr> | 42 <hr> |
| 47 | 43 |
| 48 <div id="underlay"> | 44 <div id="underlay"> |
| 49 </div> | 45 </div> |
| 50 <div id="container"> | 46 <div id="container"> |
| 51 <div class="outlined"> | 47 <div class="outlined"> |
| 52 </div> | 48 </div> |
| 53 </div> | 49 </div> |
| 54 </body> | 50 </body> |
| 55 </html> | 51 </html> |
| OLD | NEW |