5 <script src=
"../../resources/js-test.js"></script>
10 description("Tests that shorthand border-image with a null image doesn't crash.");
12 var testContainer
= document
.createElement("div");
13 document
.body
.appendChild(testContainer
);
15 testContainer
.innerHTML
= '<div id="test">hello</div>';
17 e
= document
.getElementById('test');
18 computedStyle
= window
.getComputedStyle(e
, null);
19 e
.style
.borderImage
= "10% fill";
21 shouldBe("computedStyle.getPropertyValue('border-image')", "'none'");
23 document
.body
.removeChild(testContainer
);