summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-dotted/border-dotted-radius-zero.html
blob: 8b8980ac4c7446e1c2eafe68f51d0cb7c14c6912 (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
38
39
40
41
42
<!DOCTYPE HTML>
<html>
  <head>
    <meta charset="utf-8">
    <title>dashed border with radius</title>
    <style>
.box {
  position: relative;
  width: 220px;
  height: 220px;
}
.mask {
  position: absolute;
  top: 0px;
  left: 0px;
  width: 220px;
  height: 220px;
}

div.border {
  border-style: dotted;
  border-width: 4px 0 4px 0px;
  width: 200px;
  height: 200px;
  border-top-right-radius: 40px 200px;
}
    </style>
  </head>
  <body>
    <div class="box">
      <div class="border">
      </div>
      <img class="mask" src="border-dotted-radius-zero-filled-mask.png">
    </div>
    <div class="box">
      <div class="border">
      </div>
      <img class="mask" src="border-dotted-radius-zero-unfilled-mask.png">
    </div>
  </body>
</html>