| Index: LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-width.html
|
| diff --git a/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-width.html b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-width.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..90fe45a5977037a4d06d8e29fceb5c9e34e873d0
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/shapes/shape-outside-floats/shape-outside-negative-height-crash-width.html
|
| @@ -0,0 +1,40 @@
|
| +<!DOCTYPE html>
|
| +<style>
|
| +.container1 {
|
| + width: 14px;
|
| + height: 20px;
|
| + border-radius: 10px;
|
| + background-color: green;
|
| + overflow-y: scroll;
|
| + overflow-x: hidden;
|
| +}
|
| +.circleWithScrollbarLeft {
|
| + shape-outside: circle(10px at 10px 10px);
|
| + shape-margin: 1%;
|
| + width: 14px;
|
| + float: left;
|
| +}
|
| +.container2 {
|
| + width: 20px;
|
| + height: 20px;
|
| + border-radius: 10px;
|
| + background-color: green;
|
| + overflow-y: scroll;
|
| + float: right;
|
| +}
|
| +.circleWithScrollbarRight {
|
| + shape-outside: circle(10px at 10px 10px);
|
| + shape-margin: 1%;
|
| + width: 20px;
|
| + float: right;
|
| +}
|
| +</style>
|
| +<body>
|
| +<div>Test passes if it does not crash.</div>
|
| +<div class="container1"><img class="circleWithScrollbarLeft" src=""></div>
|
| +<div class="container2"><img class="circleWithScrollbarRight" src=""></div>
|
| +<script>
|
| + if (window.testRunner)
|
| + testRunner.dumpAsText();
|
| +</script>
|
| +</body>
|
|
|