OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <script src="../resources/js-test.js"></script> | 4 <script src="../resources/js-test.js"></script> |
5 </head> | 5 </head> |
6 <body> | 6 <body> |
7 <script> | 7 <script> |
8 description("Test the parsing and the computed style values of the transitions p
roperties.") | 8 description("Test the parsing and the computed style values of the transitions p
roperties.") |
9 | 9 |
10 var testContainer = document.createElement("div"); | 10 var testContainer = document.createElement("div"); |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 shouldBe("computedStyle.transitionProperty", "'all'"); | 42 shouldBe("computedStyle.transitionProperty", "'all'"); |
43 shouldBe("style.webkitTransitionProperty", "'all'"); | 43 shouldBe("style.webkitTransitionProperty", "'all'"); |
44 shouldBe("computedStyle.webkitTransitionProperty", "'all'"); | 44 shouldBe("computedStyle.webkitTransitionProperty", "'all'"); |
45 | 45 |
46 style.transitionProperty = "all, all"; | 46 style.transitionProperty = "all, all"; |
47 shouldBe("style.transitionProperty", "'all, all'"); | 47 shouldBe("style.transitionProperty", "'all, all'"); |
48 shouldBe("computedStyle.transitionProperty", "'all, all'"); | 48 shouldBe("computedStyle.transitionProperty", "'all, all'"); |
49 shouldBe("style.webkitTransitionProperty", "'all, all'"); | 49 shouldBe("style.webkitTransitionProperty", "'all, all'"); |
50 shouldBe("computedStyle.webkitTransitionProperty", "'all, all'"); | 50 shouldBe("computedStyle.webkitTransitionProperty", "'all, all'"); |
51 | 51 |
| 52 style.transitionProperty = "-webkit-transform-origin"; |
| 53 shouldBe("style.transitionProperty", "'-webkit-transform-origin'"); |
| 54 shouldBe("computedStyle.transitionProperty", "'-webkit-transform-origin'"); |
| 55 |
52 style.transitionProperty = "background-position"; | 56 style.transitionProperty = "background-position"; |
53 shouldBe("style.transitionProperty", "'background-position'"); | 57 shouldBe("style.transitionProperty", "'background-position'"); |
54 shouldBe("computedStyle.transitionProperty", "'background-position'"); | 58 shouldBe("computedStyle.transitionProperty", "'background-position'"); |
55 shouldBe("style.webkitTransitionProperty", "'background-position'"); | 59 shouldBe("style.webkitTransitionProperty", "'background-position'"); |
56 shouldBe("computedStyle.webkitTransitionProperty", "'background-position'"); | 60 shouldBe("computedStyle.webkitTransitionProperty", "'background-position'"); |
57 | 61 |
58 style.transitionProperty = "background-position, font-size"; | 62 style.transitionProperty = "background-position, font-size"; |
59 shouldBe("style.transitionProperty", "'background-position, font-size'"); | 63 shouldBe("style.transitionProperty", "'background-position, font-size'"); |
60 shouldBe("computedStyle.transitionProperty", "'background-position, font-size'")
; | 64 shouldBe("computedStyle.transitionProperty", "'background-position, font-size'")
; |
61 shouldBe("style.webkitTransitionProperty", "'background-position, font-size'"); | 65 shouldBe("style.webkitTransitionProperty", "'background-position, font-size'"); |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
741 shouldBe("style.transitionDuration", "'20s'"); | 745 shouldBe("style.transitionDuration", "'20s'"); |
742 | 746 |
743 style.transition = "-10s 10s"; | 747 style.transition = "-10s 10s"; |
744 shouldBe("style.transitionDelay", "'-10s'"); | 748 shouldBe("style.transitionDelay", "'-10s'"); |
745 shouldBe("style.transitionDuration", "'10s'"); | 749 shouldBe("style.transitionDuration", "'10s'"); |
746 | 750 |
747 document.body.removeChild(testContainer); | 751 document.body.removeChild(testContainer); |
748 </script> | 752 </script> |
749 </body> | 753 </body> |
750 </html> | 754 </html> |
OLD | NEW |