4 <script src=
"../../resources/js-test.js"></script>
7 -webkit-mask-box-image-source: url(resources/dot.png);
8 -webkit-mask-box-image-slice:
3 fill;
11 background-color: blue;
18 <div class=
"test"></div>
21 description("This test checks that webkitMaskBoxImageWidth" +
22 " is correctly parsed and returned from getComputedStyle().");
31 var testElm
= document
.querySelector('.test');
32 shouldBeEqualToString("getComputedStyle(testElm).webkitMaskBoxImageWidth", "auto");
33 for (var i
in tests
) {
34 testElm
.style
["webkitMaskBoxImageWidth"] = tests
[i
][0];
35 shouldBeEqualToString("getComputedStyle(testElm).webkitMaskBoxImageWidth", tests
[i
][1]);