summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/gradients/unprefixed-repeating-end-fill.html
blob: fa248a9ce42305d6e67073406c2f3128d1ed3cfe (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
<!DOCTYPE html>
<html>
<head>
  <style>
    div {
      display: inline-block;
      width: 200px;
      height: 100px;
      background-image: repeating-linear-gradient(red 10%, green 10%, green 30%);
    }

    .ref {
      background-image: repeating-linear-gradient(green 10%, green 30%);
    }
  </style>
  <script>
    if (window.testRunner) {
      testRunner.dumpAsTextWithPixelResults();
    }
  </script>
</head>
<body>

  <!-- You should see two green rectangles, with no red. -->
  <div></div>
  <div class="ref"></div>

</body>
</html>