background-repeat-round-002

background-repeat: round basic support

WeasyPrint

This browser

Flags
image
Assertion
The image is repeated as often as will fit within the background positioning area. If it doesn't fit a whole number of times, it is rescaled so that it does.

Source

 1 <!DOCTYPE html>
 2 <html><!-- Submitted from TestTWF Paris --><head>
 3 
 4 <title>CSS Backgrounds and Borders Test: background-repeat: round basic support</title>
 5 <link href="http://lea.verou.me" rel="author" title="Lea Verou">
 6 <link href="http://www.w3.org/TR/css3-background/#the-background-repeat" rel="help">
 7 <meta content="image" name="flags">
 8 <meta content="The image is repeated as often as will fit within the background positioning area. If it doesn't fit a whole number of times, it is rescaled so that it does." name="assert">
 9 <style>
10 
11 html {
12 	background: red url('support/swatch-green.png') no-repeat;
13 	background-repeat: round;
14 }
15 
16 </style>
17 
18 </head>
19 <body>
20 
21 <p>Test passes if there is green and <strong>no red</strong>.</p>
22 
23 
24 
25 </body></html>