OLD | NEW |
(Empty) | |
| 1 <!-- Based on fast/repaint/text-in-relative-positioned-inline.html --> |
| 2 <head> |
| 3 <script src="resources/paint-invalidation-test.js"></script> |
| 4 <script> |
| 5 window.expectedPaintInvalidationObjects = [ |
| 6 "InlineTextBox 'ab'", |
| 7 "LayoutText #text", |
| 8 "InlineFlowBox", |
| 9 "LayoutInline (relative positioned) SPAN id='target'", |
| 10 "LayoutText #text", |
| 11 "RootInlineBox", |
| 12 ]; |
| 13 function paintInvalidationTest() |
| 14 { |
| 15 document.getElementById("target").style.display = "none"; |
| 16 } |
| 17 </script> |
| 18 </head> |
| 19 <body onload="runPaintInvalidationTest()"> |
| 20 <div style="margin-left: 100px; font: 100px; -webkit-font-smoothing: none; h
eight: 100px;"> |
| 21 <span id="target" style="position: relative; left: -100px; color: red;">
ab</span> |
| 22 </div> |
| 23 <div style="width: 100px; height: 100px; background-color: green; margin-top
: -100px;"></div> |
| 24 </body> |
OLD | NEW |