2 Test for
<i><a href=
"https://bugs.webkit.org/show_bug.cgi?id=18879">https://bugs.webkit.org/show_bug.cgi?id=
18879</a>
3 Reproducible crash when removing a gradient
</i>.
6 The test should not crash and there should be a green square below.
8 <div id=
"target" style=
"width: 100px; height: 100px; background-color: green; background-image: -webkit-gradient(linear, left top, left bottom, from(red), to(transparent))">
11 if (window
.testRunner
)
12 testRunner
.dumpAsText();
14 document
.body
.offsetTop
;
15 document
.getElementById("target").style
.removeProperty("background-image");