25 lines
477 B
HTML
25 lines
477 B
HTML
<html>
|
|
<head>
|
|
<title>This tests that background image is filling up the space properly when on subpixel position.</title>
|
|
<style>
|
|
.container {
|
|
position: relative;
|
|
height: 100.5px;
|
|
}
|
|
|
|
.gradient{
|
|
width: 300px;
|
|
height: 100.1px;
|
|
position: absolute;
|
|
bottom: 0px;
|
|
background-image: linear-gradient(white, black);
|
|
}
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<div class="gradient">Pass if there's no black line at the top of the gradient.</div>
|
|
</div>
|
|
</body>
|
|
</html>
|