OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="resources/text-based-repaint.js" type="text/javascript" charset="
utf-8"></script> | 4 <script src="resources/text-based-repaint.js" type="text/javascript" charset="
utf-8"></script> |
5 <script type="text/javascript" charset="utf-8"> | 5 <script type="text/javascript" charset="utf-8"> |
6 function repaintTest() | 6 function repaintTest() |
7 { | 7 { |
8 document.getElementById('target').style.height='10px'; | 8 document.getElementById('target').style.height='10px'; |
9 } | 9 } |
10 </script> | 10 </script> |
11 </head> | 11 </head> |
12 <body onload="runRepaintAndPixelTest()"> | 12 <body onload="runRepaintAndPixelTest()"> |
13 <div id="container" style="width: 500px; transform: translate(50px, 80px)"> | 13 <div id="container" style="width: 500px; transform: translate(50px, 80px)"> |
14 <div style="padding-bottom: 100px; background: silver;"> | 14 <div style="padding-bottom: 100px; background: silver;"> |
15 <div style="float: right; height: 50px; width: 50px; background: green
;"></div> | 15 <div style="float: right; height: 50px; width: 50px; background: green
;"></div> |
16 <div style="clear: right; border: 4px solid blue;"> | 16 <div style="clear: right; border: 4px solid blue;"> |
17 <div style="height: 55px;" id="target"> | 17 <div style="height: 55px;" id="target"> |
18 </div> | 18 </div> |
19 </div> | 19 </div> |
20 </div> | 20 </div> |
21 </div> | 21 </div> |
22 </body> | 22 </body> |
23 </html> | 23 </html> |
OLD | NEW |