blob: 29b711a38fdd7dd990c7cef0583b2a9631b0da6f [file] [log] [blame]
<style>
body { background-image: -webkit-gradient(linear, left top, left bottom, from(black), to(white)); }
p { background-color: white; }
</style>
<body>
<p style="background-color: white;">
Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=18445">https://bugs.webkit.org/show_bug.cgi?id=18445</a>
Assertion failure in CSSGradientValue::image() when the body element has a background gradient</i>.
</p>
<p>
The test passes if the root element&rsquo;s background is a linear
gradient from black at the top to white at the bottom, and no assertion
failure occurs.
</p>
</body>