OLD | NEW |
1 <html> | 1 <html> |
2 <head> | 2 <head> |
3 <style type="text/css" media="screen"> | 3 <style type="text/css" media="screen"> |
4 #test1 { | 4 #test1 { |
5 width: 20px; | 5 width: 20px; |
6 height: 20px; | 6 height: 20px; |
7 background-color: blue; | 7 background-color: blue; |
8 position: relative; | 8 position: relative; |
9 -webkit-transform: translate(0); | 9 -webkit-transform: translate(0); |
10 // default transform and perspective origin | 10 // default transform and perspective origin |
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 #test6 { | 51 #test6 { |
52 width: 100px; | 52 width: 100px; |
53 height: 100px; | 53 height: 100px; |
54 background-color: blue; | 54 background-color: blue; |
55 position: relative; | 55 position: relative; |
56 -webkit-transform: translate(0); | 56 -webkit-transform: translate(0); |
57 -webkit-perspective-origin: 10% 20% 30%; | 57 -webkit-perspective-origin: 10% 20% 30%; |
58 } | 58 } |
59 | 59 |
60 </style> | 60 </style> |
61 <script src="../../fast/js/resources/js-test-pre.js"></script> | 61 <script src="../../resources/js-test.js"></script> |
62 </head> | 62 </head> |
63 <body> | 63 <body> |
64 <p id="test1"></p> | 64 <p id="test1"></p> |
65 <p id="test2"></p> | 65 <p id="test2"></p> |
66 <p id="test3"></p> | 66 <p id="test3"></p> |
67 <p id="test4"></p> | 67 <p id="test4"></p> |
68 <p id="test5"></p> | 68 <p id="test5"></p> |
69 <p id="test6"></p> | 69 <p id="test6"></p> |
70 <p id="description"></p> | 70 <p id="description"></p> |
71 <div id="console"></div> | 71 <div id="console"></div> |
(...skipping 26 matching lines...) Expand all Loading... |
98 shouldBe("test3Style.webkitPerspectiveOrigin", "'0px 20px'"); | 98 shouldBe("test3Style.webkitPerspectiveOrigin", "'0px 20px'"); |
99 shouldBe("test4Style.webkitPerspectiveOrigin", "'5px 7px'"); | 99 shouldBe("test4Style.webkitPerspectiveOrigin", "'5px 7px'"); |
100 shouldBe("test5Style.webkitPerspectiveOrigin", "'15px 15px'"); | 100 shouldBe("test5Style.webkitPerspectiveOrigin", "'15px 15px'"); |
101 shouldBe("test6Style.webkitPerspectiveOrigin", "'50px 50px'"); | 101 shouldBe("test6Style.webkitPerspectiveOrigin", "'50px 50px'"); |
102 | 102 |
103 debug(""); | 103 debug(""); |
104 | 104 |
105 </script> | 105 </script> |
106 </body> | 106 </body> |
107 </html> | 107 </html> |
OLD | NEW |