tiled-background-svg-image-with-content-dpr.html (749B)
1 <html> 2 <head> 3 <title>Content-DPR: css tiled background</title> 4 <link rel="author" title="Noam Rosenthal" href="noam@webkit.org"> 5 <link rel="match" href="tiled-background-image-with-content-dpr-ref.html" /> 6 <meta name="assert" content="Assert that content-dpr is taken into account for tiled background images"> 7 <style> 8 #bg, #bg2 { 9 width: 32px; 10 height: 32px; 11 background-image: url(resources/dpr.py?name=background.svg&mimeType=image/svg%2Bxml&dpr=2.0); 12 } 13 14 #bg2 { 15 background-size: 8px 8px; 16 } 17 </style> 18 </head> 19 <body> 20 The next div should have 16 boxes 21 <div id="bg"> 22 </div> 23 The next div should have 64 boxes 24 <div id="bg2"> 25 </div> 26 </body> 27 </html>