| OLD | NEW |
| 1 <script src="resources/text-based-repaint.js"></script> | 1 <!-- Based on fast/repaint/overflow-flipped-writing-mode-block.html --> |
| 2 <script src="resources/paint-invalidation-test.js"></script> |
| 2 <script> | 3 <script> |
| 3 onload = runRepaintTest; | 4 onload = runPaintInvalidationTest; |
| 4 | 5 |
| 5 function repaintTest() | 6 window.expectedPaintInvalidationObjects = [ |
| 7 "LayoutBlockFlow DIV id='target'", |
| 8 ]; |
| 9 function paintInvalidationTest() |
| 6 { | 10 { |
| 7 document.getElementById("target").style.visibility = "hidden"; | 11 document.getElementById("target").style.visibility = "hidden"; |
| 8 } | 12 } |
| 9 </script> | 13 </script> |
| 10 <div style="height: 100px; width: 100px; background-color: red; -webkit-writing-
mode: horizontal-bt;"> | 14 <div style="height: 100px; width: 100px; background-color: red; -webkit-writing-
mode: horizontal-bt;"> |
| 11 <div style="height: 25px;"> | 15 <div style="height: 25px;"> |
| 12 <div style="height: 100px; background-color: green;"></div> | 16 <div style="height: 100px; background-color: green;"></div> |
| 13 </div> | 17 </div> |
| 14 </div> | 18 </div> |
| 15 <div id="target" style="height: 50px; width: 100px; background-color: red; margi
n-top: -100px;"></div> | 19 <div id="target" style="height: 50px; width: 100px; background-color: red; margi
n-top: -100px;"></div> |
| OLD | NEW |