| Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html
|
| diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..41f0817b6e8b79746db8a6e4df2c4c741abafebd
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-uncached-gradient.html
|
| @@ -0,0 +1,25 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<!--
|
| +This is a regression test for https://code.google.com/p/chromium/issues/detail?id=378469
|
| +-->
|
| +<head>
|
| +<style>
|
| +#image-shape {
|
| + float: left;
|
| + shape-outside: linear-gradient(magenta, currentColor); // currentColor prevents gradient from being cached
|
| + width: 100px;
|
| + height: 100px;
|
| +}
|
| +</style>
|
| +<div>This test should not crash.</div>
|
| +<div>
|
| + <div id="image-shape"></div>
|
| + Hello World
|
| +</div>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +</script>
|
| +</body>
|
| +</html>
|
|
|