d-interpolation-within-document-referenced-via-background-image-ref.html (431B)
1 <!DOCTYPE html> 2 <meta charset=utf-8> 3 <style> 4 5 div { 6 display: inline-block; 7 width: 96px; 8 height: 96px; 9 background-repeat: no-repeat; 10 background-size: 100% 100%; 11 background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cstyle%3E path { fill: none; stroke-width: 2; stroke: black; } %3C/style%3E%3Cpath d='M2 2l20 0' /%3E%3C/svg%3E"); 12 } 13 14 </style> 15 <div></div>