OLD | NEW |
1 <html xmlns='http://www.w3.org/1999/xhtml'> | 1 <html xmlns='http://www.w3.org/1999/xhtml'> |
2 <body onload="runRepaintTest()"> | 2 <body onload="forceStyleRecalc();repaintTest();"> |
3 The two blocks should look identical. One uses an SVG, and the other just use
s a normal HTML div. | 3 The two blocks should look identical. One uses an SVG, and the other just use
s a normal HTML div. |
4 | 4 |
5 <p>There should be a red, white and blue pattern below this</p> | 5 <p>There should be a red, white and blue pattern below this</p> |
6 <svg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px' style='
float: left; border:10px solid red; padding:10px; margin:10px'> | 6 <svg xmlns='http://www.w3.org/2000/svg' width='100px' height='100px' style='
float: left; border:10px solid red; padding:10px; margin:10px'> |
7 <rect width='100' height='100' fill='blue' /> | 7 <rect width='100' height='100' fill='blue' /> |
8 </svg> | 8 </svg> |
9 <p style='clear: left'>There should be a red, white and blue pattern above t
his</p> | 9 <p style='clear: left'>There should be a red, white and blue pattern above t
his</p> |
10 | 10 |
11 <hr/> | 11 <hr/> |
12 | 12 |
13 <p>There should be a red, white and blue pattern below this</p> | 13 <p>There should be a red, white and blue pattern below this</p> |
14 <div style='width:120px; height:120px; float: left; border:10px solid red; m
argin:10px'> | 14 <div style='width:120px; height:120px; float: left; border:10px solid red; m
argin:10px'> |
15 <div style="width:100px;height:100px;background-color:blue; margin:10px;
"></div> | 15 <div style="width:100px;height:100px;background-color:blue; margin:10px;
"></div> |
16 </div> | 16 </div> |
17 <p style='clear: left'>There should be a red, white and blue pattern above t
his</p> | 17 <p style='clear: left'>There should be a red, white and blue pattern above t
his</p> |
18 | 18 |
19 <script>var zoomCount = 2;</script> | 19 <script>var zoomCount = 2;</script> |
20 <script src="../../../fast/repaint/resources/repaint.js"/> | 20 <script src="../../../fast/repaint/resources/text-based-repaint.js"/> |
21 <script src="../resources/testPageZoom.js"/> | 21 <script src="../resources/testPageZoom.js"/> |
22 </body> | 22 </body> |
23 </html> | 23 </html> |
OLD | NEW |