OLD | NEW |
(Empty) | |
| 1 <!-- Based on fast/repaint/inline-relative-positioned.html --> |
| 2 <script src="resources/paint-invalidation-test.js"></script> |
| 3 <script src="../../../fast/repaint/../../resources/ahem.js"></script> |
| 4 <body onload="runPaintInvalidationTest()"> |
| 5 <span style="position: relative; top: 80px;"> |
| 6 <div id="target" style="display: inline-block; width: 100px; height: 100px;
overflow: hidden; font-family: Ahem; font-size: 100px; background: red; color: g
reen;">p</div> |
| 7 </span> |
| 8 <script> |
| 9 window.expectedPaintInvalidationObjects = [ |
| 10 "InlineTextBox ''", |
| 11 "RootInlineBox", |
| 12 "LayoutBlockFlow DIV id='target'", |
| 13 "LayoutText #text", |
| 14 "InlineTextBox 'a'", |
| 15 ]; |
| 16 function paintInvalidationTest() |
| 17 { |
| 18 document.getElementById("target").firstChild.data = "a"; |
| 19 } |
| 20 </script> |
OLD | NEW |