Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-backgrounds/background-gradient-subpixel-fills-area.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<head>
<title>CSS Background Test: Gradient backgrounds should fill the positioning area</title>
<link rel="author" title="schenney" href="mailto:schenney@chromium.org">
<link rel="match" href="reference/background-gradient-subpixel-fills-area-ref.html">
<meta name="fuzzy" content="maxDifference=0-1;totalPixels=0-6800">
<style>
ul {
width: 396.875px;
overflow: auto;
padding: 0;
list-style: none;
background-color: red;
}
li {
float: left;
}
div {
display: block;
width: 19.6875px;
height: 17px;
padding: 20px 10px;
background: linear-gradient(to bottom, green 0%, darkgreen 100%) darkgreen;
}
</style>
</head>
<body>
<ul>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
<li><div></div></li>
</ul>
</body>
</html>