OLD | NEW |
1 <script src="resources/text-based-repaint.js"></script> | 1 <script src="resources/text-based-repaint.js"></script> |
2 <script src="../../resources/ahem.js"></script> | 2 <script src="../../resources/ahem.js"></script> |
3 <body onload="runRepaintAndPixelTest()"> | 3 <body onload="runRepaintAndPixelTest()"> |
4 <span style="position: relative; top: 80px;"> | 4 <span style="position: relative; top: 80px;"> |
5 <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> | 5 <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> |
6 </span> | 6 </span> |
7 <script> | 7 <script> |
8 function repaintTest() | 8 function repaintTest() |
9 { | 9 { |
10 document.getElementById("target").firstChild.data = "a"; | 10 document.getElementById("target").firstChild.data = "a"; |
11 } | 11 } |
12 </script> | 12 </script> |
OLD | NEW |