OLD | NEW |
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" |
2 "http://www.w3.org/TR/html4/loose.dtd"> | 2 "http://www.w3.org/TR/html4/loose.dtd"> |
3 | 3 |
4 <html lang="en"> | 4 <html lang="en"> |
5 <head> | 5 <head> |
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | 6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> |
7 <script src="../fast/js/resources/js-test-pre.js"></script> | 7 <script src="../resources/js-test.js"></script> |
8 <style type="text/css" media="screen"> | 8 <style type="text/css" media="screen"> |
9 #test { | 9 #test { |
10 position: absolute; | 10 position: absolute; |
11 left: 0; | 11 left: 0; |
12 top: 100px; | 12 top: 100px; |
13 height: 100px; | 13 height: 100px; |
14 width: 100px; | 14 width: 100px; |
15 background-color: blue; | 15 background-color: blue; |
16 animation-duration: 1s; | 16 animation-duration: 1s; |
17 animation-timing-function: linear; | 17 animation-timing-function: linear; |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
51 shouldBeEqualToString("keyframeRule.cssRules[1].cssText", "0% { left: 200px; }")
; | 51 shouldBeEqualToString("keyframeRule.cssRules[1].cssText", "0% { left: 200px; }")
; |
52 shouldBeEqualToString("keyframeRule.cssRules[1].keyText", "0%"); | 52 shouldBeEqualToString("keyframeRule.cssRules[1].keyText", "0%"); |
53 shouldBeEqualToString("keyframeRule.cssRules[1].style.cssText", "left: 200px;"); | 53 shouldBeEqualToString("keyframeRule.cssRules[1].style.cssText", "left: 200px;"); |
54 | 54 |
55 shouldThrow("new CSSKeyframesRule().name", "'TypeError: Illegal constructor'"); | 55 shouldThrow("new CSSKeyframesRule().name", "'TypeError: Illegal constructor'"); |
56 | 56 |
57 document.body.removeChild(testContainer); | 57 document.body.removeChild(testContainer); |
58 </script> | 58 </script> |
59 </body> | 59 </body> |
60 </html> | 60 </html> |
OLD | NEW |