summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-radius/clipping-2.html
blob: b0630a7fb2ee4f18a760e30e78db7fcac19c10b0 (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
<!doctype html>
<html><head>
<title>Border clipping</title>
<style>
.div1 { width: 50px; height: 50px;
      border: 4px dotted black; 
      border-radius: 10px;
      position: fixed;
      background: red;
      left: 50px;
      top: 50px;
      background-clip: padding-box;
}

.div2 { width: 50px; height: 50px;
      border: 4px dotted black; 
      border-radius: 10px;
      position: fixed;
      background: red;
      left: 50px;
      top: 140px;
      background-clip: border-box;
}

</style>
</head>
<body>
  <div class="div1"/>
  <div class="div2"/>
</body></html>