4 <script src="../../../resources/js-test.js"></script>
7 <script src="parsing-test-utils.js"></script>
9 description('Test that CSS Shapes properties with the -webkit prefix alias the unprefixed properties.');
11 // This test is only necessary until the prefixed CSS properties have been removed
13 function getAliasCSSValue(alias, property, value)
15 var element = document.createElement("div");
16 element.style.setProperty(alias, value);
17 return element.style.getPropertyValue(property);
20 function testPropertyAlias(alias, property, value)
22 shouldBeEqualToString("getAliasCSSValue('" + alias + "','" + property + "','" + value +"')", value);
27 [// [alias, property, value]
28 ["shape-outside", "shape-outside", "circle(0px at 0% 0%)"],
29 ["shape-margin", "shape-margin", "10px"],
30 ["shape-image-threshold", "shape-image-threshold", "0.5"]