Chromium Code Reviews| Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html |
| diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..9daa51dba9fc1b89b7388edbbf6d3ce75a9295a0 |
| --- /dev/null |
| +++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-floats-shape-margin-crash.html |
| @@ -0,0 +1,19 @@ |
| +<!DOCTYPE html> |
| +<style> |
| +div { |
| + width: 5px; |
| + height: 5px; |
| + margin-top: 2px; |
| + shape-margin: 2px; |
| + shape-outside: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='5' height='5'><rect x='0' y='0' width='100%' height='100%'/></svg>"); |
| + float:left; |
| +} |
| +</style> |
| +<script> |
| + if (window.testRunner) |
| + testRunner.dumpAsText(); |
| +</script> |
| +<body> |
| + <div></div> |
| + This test should not crash in a debug build. |
| +</body> |