OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
3 <html lang="en"> | 3 <html lang="en"> |
4 <head> | 4 <head> |
5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 5 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
6 <title>Transform with Abs. Pos child</title> | 6 <title>Transform with Abs. Pos child</title> |
7 <style type="text/css" media="screen"> | 7 <style type="text/css" media="screen"> |
8 #box { | 8 #box { |
9 position: relative; | 9 position: relative; |
10 margin: 50px; | 10 margin: 50px; |
(...skipping 15 matching lines...) Expand all Loading... |
26 } | 26 } |
27 </style> | 27 </style> |
28 <script src="resources/text-based-repaint.js" type="text/javascript" charset="
utf-8"></script> | 28 <script src="resources/text-based-repaint.js" type="text/javascript" charset="
utf-8"></script> |
29 <script type="text/javascript" charset="utf-8"> | 29 <script type="text/javascript" charset="utf-8"> |
30 function repaintTest() | 30 function repaintTest() |
31 { | 31 { |
32 document.getElementById('box').className = 'rotated'; | 32 document.getElementById('box').className = 'rotated'; |
33 } | 33 } |
34 </script> | 34 </script> |
35 </head> | 35 </head> |
36 <body onload="runRepaintTest()"> | 36 <body onload="runRepaintAndPixelTest()"> |
37 <div id="box"> | 37 <div id="box"> |
38 <div id="child"> | 38 <div id="child"> |
39 </div> | 39 </div> |
40 </div> | 40 </div> |
41 </body> | 41 </body> |
42 </html> | 42 </html> |
OLD | NEW |