background-repeat-round-2

CSS Background: background-repeat: background image round no-repeat

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

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

Source

 1 <!DOCTYPE html>
 2 <html><head>
 3     <meta charset="utf-8">
 4     <title>CSS Background: background-repeat: background image round no-repeat</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-round-2-ref.htm" rel="match">
 9     <meta content="Test checks whether background-repeat: 'round no-repeat' works correctly or not." name="assert">
10     <style type="text/css">
11     .outer {
12       width: 72px;
13       height: 72px;
14       border: 1px solid black;
15       background-image: url(aqua-yellow-32x32.png);
16       background-repeat: round no-repeat;
17     }
18     .outer_gradient {
19       width: 72px;
20       height: 72px;
21       border: 1px solid black;
22       background-size: 32px 36px;
23       background-image: linear-gradient(to top left, red, green);
24       background-repeat: round no-repeat;
25     }
26     </style>
27   </head>
28   <body>
29     <div class="outer"></div>
30     <div class="outer_gradient"></div>
31   
32 
33 </body></html>