summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/gradients/unprefixed-radial-gradients3.html
blob: 20c9b67f1f6a8ec5ef0f7e06d82565429f605cf9 (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
34
35
36
37
<!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) {
      testRunner.dumpAsTextWithPixelResults();
    }
  </script>
</head>
<body>

  <div class="gradient1 box"></div>
  <div class="gradient2 box"></div>

</body>
</html>