haikuwebkit/LayoutTests/fast/gradients/crash-on-zero-radius.html

11 lines
462 B
HTML

<head>
<style>
.radial { width:150px; height:150px; border:2px solid black;
background: -webkit-gradient(radial, 45 45, 0, 52 50, 0, from(#A7D30C), to(rgba(1,159,98,0)), color-stop(90%, #019F62)),
-webkit-gradient(radial, 45 45, 10, 52 50, 30, from(#A7D30C), to(rgba(1,159,98,0)), color-stop(90%, #019F62)) }
</style>
</head>
<body>
<h1>Two gradients, one with zero radius that should not crash.</h1>
<div class="radial"></div>