Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / gradients / crash-on-remove.html
blobab108a603a0d1670a9510cf3a277255355485815
1 <p>
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>.
4 </p>
5 <p>
6 The test should not crash and there should be a green square below.
7 </p>
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))">
9 </div>
10 <script>
11 if (window.testRunner)
12 testRunner.dumpAsText();
14 document.body.offsetTop;
15 document.getElementById("target").style.removeProperty("background-image");
16 </script>