OLD | NEW |
1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/x
link"> | 1 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:xlink="http://www.w3.org/1999/x
link"> |
2 <head> | 2 <head> |
3 <style type="text/css"> | 3 <style type="text/css"> |
4 body { | 4 body { |
5 margin:0px; | 5 margin:0px; |
6 border:0px; | 6 border:0px; |
7 padding:0px; | 7 padding:0px; |
8 } | 8 } |
9 text { | 9 text { |
10 font: 12px Ahem; | 10 font: 12px Ahem; |
(...skipping 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 var image1 = document.getElementById("image1").getBoundingClientRect(); | 113 var image1 = document.getElementById("image1").getBoundingClientRect(); |
114 shouldBe('image1.left', '100'); | 114 shouldBe('image1.left', '100'); |
115 shouldBe('image1.top', '250'); | 115 shouldBe('image1.top', '250'); |
116 shouldBe('image1.width', '50'); | 116 shouldBe('image1.width', '50'); |
117 shouldBe('image1.height', '25'); | 117 shouldBe('image1.height', '25'); |
118 shouldBe('image1.right', '150'); | 118 shouldBe('image1.right', '150'); |
119 shouldBe('image1.bottom', '275'); | 119 shouldBe('image1.bottom', '275'); |
120 var text1 = document.getElementById("text1").getBoundingClientRect(); | 120 var text1 = document.getElementById("text1").getBoundingClientRect(); |
121 shouldBe('text1.left', '100'); | 121 shouldBe('text1.left', '100'); |
122 msgDumpRenderTreeRequired(); | 122 msgDumpRenderTreeRequired(); |
123 shouldBeCloseTo('text1.top', 282, 1); | 123 shouldBeCloseTo('text1.top', 283, 1); |
124 shouldBeCloseTo('text1.width', 46, 1); | 124 shouldBeCloseTo('text1.width', 46, 1); |
125 shouldBeCloseTo('text1.height', 6, 1); | 125 shouldBeCloseTo('text1.height', 6, 1); |
126 shouldBeCloseTo('text1.right', 146, 1); | 126 shouldBeCloseTo('text1.right', 146, 1); |
127 shouldBeCloseTo('text1.bottom', 289, 1); | 127 shouldBeCloseTo('text1.bottom', 289, 1); |
128 debug(""); | 128 debug(""); |
129 | 129 |
130 var svg2 = document.getElementById("svg2").getBoundingClientRect(); | 130 var svg2 = document.getElementById("svg2").getBoundingClientRect(); |
131 shouldBe('svg2.left', '75'); | 131 shouldBe('svg2.left', '75'); |
132 shouldBe('svg2.top', '100'); | 132 shouldBe('svg2.top', '100'); |
133 shouldBe('svg2.width', '150'); | 133 shouldBe('svg2.width', '150'); |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 var image3 = document.getElementById("image3").getBoundingClientRect(); | 175 var image3 = document.getElementById("image3").getBoundingClientRect(); |
176 shouldBe('image3.left', '1100'); | 176 shouldBe('image3.left', '1100'); |
177 shouldBe('image3.top', '500'); | 177 shouldBe('image3.top', '500'); |
178 shouldBe('image3.width', '100'); | 178 shouldBe('image3.width', '100'); |
179 shouldBe('image3.height', '50'); | 179 shouldBe('image3.height', '50'); |
180 shouldBe('image3.right', '1200'); | 180 shouldBe('image3.right', '1200'); |
181 shouldBe('image3.bottom', '550'); | 181 shouldBe('image3.bottom', '550'); |
182 var text3 = document.getElementById("text3").getBoundingClientRect(); | 182 var text3 = document.getElementById("text3").getBoundingClientRect(); |
183 shouldBe('text3.left', '1100'); | 183 shouldBe('text3.left', '1100'); |
184 msgDumpRenderTreeRequired(); | 184 msgDumpRenderTreeRequired(); |
185 shouldBeCloseTo('text3.top', 565, 1); | 185 shouldBeCloseTo('text3.top', 566, 1); |
186 shouldBeCloseTo('text3.width', 92, 1); | 186 shouldBeCloseTo('text3.width', 92, 1); |
187 shouldBeCloseTo('text3.height', 12, 1); | 187 shouldBeCloseTo('text3.height', 12, 1); |
188 shouldBeCloseTo('text3.right', 1192, 1); | 188 shouldBeCloseTo('text3.right', 1192, 1); |
189 shouldBeCloseTo('text3.bottom', 577, 1); | 189 shouldBeCloseTo('text3.bottom', 577, 1); |
190 debug(""); | 190 debug(""); |
191 | 191 |
192 | 192 |
193 </script> | 193 </script> |
194 <script src="../fast/js/resources/js-test-post.js"></script> | 194 <script src="../fast/js/resources/js-test-post.js"></script> |
195 | 195 |
196 </body> | 196 </body> |
197 </html> | 197 </html> |
OLD | NEW |