blob: 9699b81b101cc68660747543879423d9df07e5bb [file] [log] [blame]
<!DOCTYPE html>
<html>
<head>
<style>
.box {
display: inline-block;
height: 200px;
width: 250px;
margin: 10px;
border: 1px solid black;
background-repeat: no-repeat;
}
.gradient1 {
background-image: radial-gradient(50% 50% at center, black, white);
}
/* Should have the 3rd white ring touching both edges. */
.gradient2 {
background-image: repeating-radial-gradient(20% 20% at center, black, white, black);
}
</style>
<script>
if (window.testRunner) {
var dumpPixels = true;
testRunner.dumpAsText(dumpPixels);
}
</script>
</head>
<body>
<div class="gradient1 box"></div>
<div class="gradient2 box"></div>
</body>
</html>