OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <head> | 3 <head> |
4 <meta charset="utf-8"> | 4 <meta charset="utf-8"> |
5 <script src="../../js/resources/js-test-pre.js"></script> | 5 <script src="../../../resources/js-test.js"></script> |
6 </head> | 6 </head> |
7 <body> | 7 <body> |
8 <script> | 8 <script> |
9 | 9 |
10 description("Test to make sure border-radius shorthand property returns CSSValue
List properly.") | 10 description("Test to make sure border-radius shorthand property returns CSSValue
List properly.") |
11 | 11 |
12 var testContainer = document.createElement("div"); | 12 var testContainer = document.createElement("div"); |
13 testContainer.contentEditable = true; | 13 testContainer.contentEditable = true; |
14 document.body.appendChild(testContainer); | 14 document.body.appendChild(testContainer); |
15 | 15 |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
167 shouldBe("computedStyle.getPropertyCSSValue('border-top-right-radius').cssText",
"'20px'"); | 167 shouldBe("computedStyle.getPropertyCSSValue('border-top-right-radius').cssText",
"'20px'"); |
168 shouldBe("computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssTex
t", "'30px'"); | 168 shouldBe("computedStyle.getPropertyCSSValue('border-bottom-right-radius').cssTex
t", "'30px'"); |
169 shouldBe("computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText
", "'40px 45px'"); | 169 shouldBe("computedStyle.getPropertyCSSValue('border-bottom-left-radius').cssText
", "'40px 45px'"); |
170 shouldBe("checkComputedStyleValue()", "true"); | 170 shouldBe("checkComputedStyleValue()", "true"); |
171 | 171 |
172 document.body.removeChild(testContainer); | 172 document.body.removeChild(testContainer); |
173 | 173 |
174 </script> | 174 </script> |
175 </body> | 175 </body> |
176 </html> | 176 </html> |
OLD | NEW |