image-set-resolution-003.html (786B)
1 <!doctype html> 2 <title>Image set resolution affects intrinsic size of the image</title> 3 <link rel="match" href="image-set-resolution-001-ref.html"> 4 <link rel="author" href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez"> 5 <link rel="author" href="https://mozilla.org" title="Mozilla"> 6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1705877"> 7 <link rel="help" href="https://drafts.csswg.org/css-images-4/#image-set-notation"> 8 <style> 9 body { margin: 0 } 10 ul, li { margin: 0; padding: 0 } 11 li { 12 list-style-position: inside; 13 /* green.png is 100x50, should be 200x100 instead */ 14 list-style-image: -webkit-image-set(url('/images/green.png') 0.5x); 15 list-style-image: image-set(url('/images/green.png') 0.5x); 16 } 17 </style> 18 <ul> 19 <li></li> 20 </ul>