OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../../fast/repaint/resources/repaint.js"></script> | 4 <script src="../../fast/repaint/resources/repaint.js"></script> |
5 </head> | 5 </head> |
6 | 6 |
7 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()"
> | 7 <body style="margin: 0; padding: 0; overflow: hidden;" onload="runRepaintTest()"
> |
8 | 8 |
9 <div style="width: 100%; height: 100%; position: absolute; align: left;"> | 9 <div style="width: 100%; height: 100%; position: absolute; align: left;"> |
10 <!-- After vertical window resizing, this SVG element should not be visible --> | 10 <!-- After vertical window resizing, this SVG element should not be visible --> |
11 <svg width="50%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8
00 600"> | 11 <svg width="50%" height="100%" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 8
00 600"> |
12 <rect fill="red" width="200" height="200"></rect> | 12 <rect fill="red" width="200" height="200"></rect> |
13 </svg> | 13 </svg> |
14 | 14 |
15 <!-- force an anonymous block creation to exercise the percent-height descendant
s map --> | 15 <!-- force an anonymous block creation to exercise the percent-height descendant
s map --> |
16 <div></div> | 16 <div></div> |
17 </div> | 17 </div> |
18 | 18 |
19 <div style="width: 100px; height: 100px; position: absolute; background-color: g
reen;"></div> | 19 <div style="width: 100px; height: 100px; position: absolute; background-color: g
reen;"></div> |
20 | 20 |
21 <script> | 21 <script> |
22 function repaintTest() { | 22 function repaintTest() { |
23 window.resizeBy(0, -window.innerHeight / 2); | 23 window.resizeBy(0, -window.innerHeight / 2); |
24 } | 24 } |
25 </script> | 25 </script> |
26 </body> | 26 </body> |
27 </html> | 27 </html> |
OLD | NEW |