OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <style> |
| 3 .container1 { |
| 4 width: 14px; |
| 5 height: 20px; |
| 6 border-radius: 10px; |
| 7 background-color: green; |
| 8 overflow-y: scroll; |
| 9 overflow-x: hidden; |
| 10 } |
| 11 .circleWithScrollbarLeft { |
| 12 shape-outside: circle(10px at 10px 10px); |
| 13 shape-margin: 1%; |
| 14 width: 14px; |
| 15 float: left; |
| 16 } |
| 17 .container2 { |
| 18 width: 20px; |
| 19 height: 20px; |
| 20 border-radius: 10px; |
| 21 background-color: green; |
| 22 overflow-y: scroll; |
| 23 float: right; |
| 24 } |
| 25 .circleWithScrollbarRight { |
| 26 shape-outside: circle(10px at 10px 10px); |
| 27 shape-margin: 1%; |
| 28 width: 20px; |
| 29 float: right; |
| 30 } |
| 31 </style> |
| 32 <body> |
| 33 <div>Test passes if it does not crash.</div> |
| 34 <div class="container1"><img class="circleWithScrollbarLeft" src=""></div> |
| 35 <div class="container2"><img class="circleWithScrollbarRight" src=""></div> |
| 36 <script> |
| 37 if (window.testRunner) |
| 38 testRunner.dumpAsText(); |
| 39 </script> |
| 40 </body> |
OLD | NEW |