OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <style> | 4 <style> |
5 #test_wrap { | 5 #test_wrap { |
6 width: 250px; | 6 width: 250px; |
7 height: 166px; | 7 height: 166px; |
8 overflow: hidden; | 8 overflow: hidden; |
9 } | 9 } |
10 | 10 |
(...skipping 29 matching lines...) Expand all Loading... |
40 for (var i = 1; i <= 300; i++) { | 40 for (var i = 1; i <= 300; i++) { |
41 shouldBe('getSize(' + (i / 100) + ').imageWidth', '250'); | 41 shouldBe('getSize(' + (i / 100) + ').imageWidth', '250'); |
42 shouldBe('getSize(' + (i / 100) + ').imageHeight', '166'); | 42 shouldBe('getSize(' + (i / 100) + ').imageHeight', '166'); |
43 shouldBe('getSize(' + (i / 100) + ').wrapWidth', '250'); | 43 shouldBe('getSize(' + (i / 100) + ').wrapWidth', '250'); |
44 shouldBe('getSize(' + (i / 100) + ').wrapHeight', '166'); | 44 shouldBe('getSize(' + (i / 100) + ').wrapHeight', '166'); |
45 } | 45 } |
46 document.body.zoom = 1.0; | 46 document.body.zoom = 1.0; |
47 </script> | 47 </script> |
48 </body> | 48 </body> |
49 </html> | 49 </html> |
OLD | NEW |