summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-backgrounds/border-image-repeat-005.html
blob: f5078fc322c936d65415a4bfec5d022357cb714c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
<!DOCTYPE html>
<title>'border-image-repeat' with 'space' and 'round'</title>
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#border-image-repeat">
<link rel="match" href="reference/border-image-repeat-005-ref.html">
<style>
#target {
  width: 255px;
  height: 80px;
  border: 10px solid red;
  border-image: url("data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' width='100' height='100'><rect width='100' height='100' fill='green'/></svg>") 0 fill / 0px space round;
}
</style>
<p>There should be two green rectangles below:</p>
<div id="target"></div>