background-repeat-space-4

CSS Background: background-repeat: background image space

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Assertion
Test checks whether background-repeat: 'repeat space' works correctly or not.

Source

 1 <!DOCTYPE html>
 2 <html><head>
 3     <meta charset="utf-8">
 4     <title>CSS Background: background-repeat: background image space</title>
 5     <link href="mailto:ethlin@mozilla.com" rel="author" title="Ethan Lin">
 6     <link href="https://www.mozilla.org" rel="author" title="Mozilla">
 7     <link href="https://www.w3.org/TR/css3-background/#background-repeat" rel="help">
 8     <link href="reference/background-repeat-space-4-ref.htm" rel="match">
 9     <meta content="Test checks whether background-repeat: 'repeat space' works correctly or not." name="assert">
10     <style type="text/css">
11       .outer {
12         width: 96px;
13         height: 106px;
14         border: 1px solid black;
15         background-image: url(aqua-yellow-32x32.png);
16         background-repeat: repeat space;
17       }
18       .outer_graident {
19         width: 96px;
20         height: 106px;
21         border: 1px solid black;
22         background-size: 32px 32px;
23         background-image: linear-gradient(to top left, red, green);
24         background-repeat: repeat space;
25       }
26     </style>
27   </head>
28   <body>
29     <div class="outer"></div>
30     <div class="outer_graident"></div>
31   
32 
33 
34 </body></html>