OLD | NEW |
1 <script src="resources/text-based-repaint.js"></script> | 1 <!-- Based on fast/repaint/overflow-flipped-writing-mode-table.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="display: table; width: 100px;"> | 15 <div style="display: table; width: 100px;"> |
12 <div style="height: 25px;"> | 16 <div style="height: 25px;"> |
13 <div style="height: 100px; background-color: green;"></div> | 17 <div style="height: 100px; background-color: green;"></div> |
14 </div> | 18 </div> |
15 </div> | 19 </div> |
16 </div> | 20 </div> |
17 <div id="target" style="height: 50px; width: 100px; background-color: red; margi
n-top: -100px;"></div> | 21 <div id="target" style="height: 50px; width: 100px; background-color: red; margi
n-top: -100px;"></div> |
OLD | NEW |