OLD | NEW |
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <html> | 2 <html> |
3 <body> | 3 <body> |
4 <script src="../js/resources/js-test-pre.js"></script> | 4 <script src="../js/resources/js-test-pre.js"></script> |
5 <script> | 5 <script> |
6 | 6 |
7 description("This test ensures WebKit uses shorthand notations for cssText"); | 7 description("This test ensures WebKit uses shorthand notations for cssText"); |
8 | 8 |
9 var tests = [ | 9 var tests = [ |
10 // FIXME: This exhibits a bug. We shouldn't be outputing border-image here. | 10 // FIXME: This exhibits a bug. We shouldn't be outputing border-image here. |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
45 var styleAttribute = test[0]; | 45 var styleAttribute = test[0]; |
46 var expectedCssText = test[1]; | 46 var expectedCssText = test[1]; |
47 | 47 |
48 element = document.createElement('div'); | 48 element = document.createElement('div'); |
49 element.setAttribute('style', styleAttribute); | 49 element.setAttribute('style', styleAttribute); |
50 | 50 |
51 shouldBe('normalizeCssText(element.style.cssText)', '"' + normalizeCssText(e
xpectedCssText) + '"'); | 51 shouldBe('normalizeCssText(element.style.cssText)', '"' + normalizeCssText(e
xpectedCssText) + '"'); |
52 }); | 52 }); |
53 | 53 |
54 </script> | 54 </script> |
55 <script src="../js/resources/js-test-post.js"></script> | |
56 </body> | 55 </body> |
57 </html> | 56 </html> |
OLD | NEW |