mask-image-4a.html (812B)
1 <!DOCTYPE html> 2 <html> 3 <head> 4 <meta charset="utf-8"> 5 <title>CSS Masking: mask-image: unresovlable mask url</title> 6 <link rel="author" title="CJ Ku" href="mailto:cku@mozilla.com"> 7 <link rel="author" title="Mozilla" href="https://www.mozilla.org"> 8 <link rel="help" href="https://www.w3.org/TR/css-masking-1/#the-mask-image"> 9 <link rel="match" href="/css/reference/blank.html"> 10 <meta name="assert" content="Test checks non-existent url should be counted as an image layer of transparent black."> 11 <style type="text/css"> 12 div { 13 background-color: purple; 14 width: 100px; 15 height: 100px; 16 } 17 18 div.mask-by-png { 19 mask-image: url(non-existent.png); 20 } 21 </style> 22 </head> 23 <body> 24 <div class="mask-by-png"></div> 25 </body> 26 </html>