summaryrefslogtreecommitdiffstats
path: root/layout/reftests/border-image/svg-as-border-image-2-ref.html
blob: 72cd23b153edfd05f55b88bc301e032a931416cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
<!DOCTYPE html>
<html lang="en-US">
<head>
<title>reference for svg-as-border-image</title>
<style>
div.border {
  width: 10px;
  height: 10px;
  background-color: blue;
  border: 10px solid;
  border-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="240px" height="240px" viewBox="0 0 240 240"><circle cx="50%" cy="50%" r="50%" fill="red"/></svg>') 5% stretch;
}
</style>
</head>
<body>
<div class="border" style="width:100px;height:100px"></div>
</body>
</html>