summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/reference/background-gradient-subpixel-fills-area-ref.html
blob: 49fcbb6204f56db84f0ed79c7f5e6d251c56ef7c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
<!DOCTYPE html>
<html lang="en-GB" xml:lang="en-GB" xmlns="http://www.w3.org/1999/xhtml">
<head>
  <title>CSS Background Test Reference</title>
  <link rel="author" title="schenney" href="mailto:schenney@chromium.org">
  <style>
    ul {
      width: 396.875px;
      overflow: auto;
      padding: 0;
      list-style: none;
      background-color: red;
    }

    li {
      float: left;
    }

    div {
      display: block;
      width: 376.875px;
      height: 17px;
      padding: 20px 10px;
      background: linear-gradient(to bottom, green 0%, darkgreen 100%) darkgreen;
    }
  </style>
</head>
<body>
    <ul>
      <li><div></div></li>
    </ul>
</body>
</html>