| <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’s background is a linear |
| gradient from black at the top to white at the bottom, and no assertion |
| failure occurs. |
| </p> |
| </body> |