border-image-space-001

Border Image: box with spaced repeating border image

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
border-image-repeat: space property spaces out background image that doesn't fit an even number of times.

Source

 1 <!DOCTYPE html>
 2 <html><!-- Submitted from TestTWF Paris --><head>
 3   <title>CSS Test: Border Image: box with spaced repeating border image</title>
 4   <link href="mailto:leviw@chromium.org" rel="author" title="Levi Weintraub">
 5   <link href="http://www.w3.org/TR/css3-background/#the-border-image-repeat" rel="help">
 6   <meta content="" name="flags">
 7   <meta content="border-image-repeat: space property spaces out background image that doesn't fit an even number of times." name="assert">
 8   <link href="reference/border-image-space-001-ref.htm" rel="match">
 9   <style>
10    .borderContainer {
11     width: 108px;
12     height: 108px;
13     border-image: url('support/border.png') 27;
14     background-color: green;
15     border-image-repeat: space;
16     border-image-width: 20px;
17    }
18   </style>
19  </head>
20  <body>
21   <p>There should be a green box below with red diamonds in the corners, and three yellow diamonds evenly spaced
22     apart along the edges.</p>
23   <div class="borderContainer">
24   </div>
25  
26 
27 </body></html>