OLD | NEW |
| (Empty) |
1 Test | |
2 Test | |
3 Test | |
4 This test checks getBoundingClientRect() on zoomed HTML and SVG elements | |
5 | |
6 On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE
". | |
7 | |
8 Gray rectangles: 100x50 | |
9 Green rectangles: 100x50, zoom=200% | |
10 Blue rectangles: 200x100, zoom=50% | |
11 | |
12 Checking HTML elements: | |
13 | |
14 PASS div1.left is 0 | |
15 PASS div1.top is 0 | |
16 PASS div1.width is 100 | |
17 PASS div1.height is 50 | |
18 PASS div1.right is 100 | |
19 PASS div1.bottom is 50 | |
20 | |
21 PASS div2.left is 0 | |
22 PASS div2.top is 25 | |
23 PASS div2.width is 100 | |
24 PASS div2.height is 50 | |
25 PASS div2.right is 100 | |
26 PASS div2.bottom is 75 | |
27 | |
28 PASS div3.left is 0 | |
29 PASS div3.top is 300 | |
30 PASS div3.width is 200 | |
31 PASS div3.height is 100 | |
32 PASS div3.right is 200 | |
33 PASS div3.bottom is 400 | |
34 | |
35 Checking SVG elements: | |
36 | |
37 PASS svg1.left is 0 | |
38 PASS svg1.top is 250 | |
39 PASS svg1.width is 150 | |
40 PASS svg1.height is 50 | |
41 PASS svg1.right is 150 | |
42 PASS svg1.bottom is 300 | |
43 PASS rect1.left is 0 | |
44 PASS rect1.top is 250 | |
45 PASS rect1.width is 100 | |
46 PASS rect1.height is 50 | |
47 PASS rect1.right is 100 | |
48 PASS rect1.bottom is 300 | |
49 PASS image1.left is 100 | |
50 PASS image1.top is 250 | |
51 PASS image1.width is 50 | |
52 PASS image1.height is 25 | |
53 PASS image1.right is 150 | |
54 PASS image1.bottom is 275 | |
55 PASS text1.left is 100 | |
56 PASS text1.top is 282.5 | |
57 PASS text1.width is 46 | |
58 PASS text1.height is 6.5 | |
59 PASS text1.right is 146 | |
60 PASS text1.bottom is 289 | |
61 | |
62 PASS svg2.left is 75 | |
63 PASS svg2.top is 100 | |
64 PASS svg2.width is 150 | |
65 PASS svg2.height is 50 | |
66 PASS svg2.right is 225 | |
67 PASS svg2.bottom is 150 | |
68 PASS rect2.left is 75 | |
69 PASS rect2.top is 100 | |
70 PASS rect2.width is 100 | |
71 PASS rect2.height is 50 | |
72 PASS rect2.right is 175 | |
73 PASS rect2.bottom is 150 | |
74 PASS image2.left is 175 | |
75 PASS image2.top is 100 | |
76 PASS image2.width is 50 | |
77 PASS image2.height is 25 | |
78 PASS image2.right is 225 | |
79 PASS image2.bottom is 125 | |
80 PASS text2.left is 175 | |
81 PASS text2.top is 132.5 | |
82 PASS text2.width is 49 | |
83 PASS text2.height is 6.5 | |
84 PASS text2.right is 224 | |
85 PASS text2.bottom is 139 | |
86 | |
87 PASS svg3.left is 900 | |
88 PASS svg3.top is 500 | |
89 PASS svg3.width is 300 | |
90 PASS svg3.height is 100 | |
91 PASS svg3.right is 1200 | |
92 PASS svg3.bottom is 600 | |
93 PASS rect3.left is 900 | |
94 PASS rect3.top is 500 | |
95 PASS rect3.width is 200 | |
96 PASS rect3.height is 100 | |
97 PASS rect3.right is 1100 | |
98 PASS rect3.bottom is 600 | |
99 PASS image3.left is 1100 | |
100 PASS image3.top is 500 | |
101 PASS image3.width is 100 | |
102 PASS image3.height is 50 | |
103 PASS image3.right is 1200 | |
104 PASS image3.bottom is 550 | |
105 PASS text3.left is 1100 | |
106 PASS text3.top is 565 | |
107 PASS text3.width is 92 | |
108 PASS text3.height is 13 | |
109 PASS text3.right is 1192 | |
110 PASS text3.bottom is 578 | |
111 | |
112 PASS successfullyParsed is true | |
113 | |
114 TEST COMPLETE | |
115 | |
OLD | NEW |