small-nested-viewbox.html (568B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1922222"> 4 <link rel="author" title="Mozilla" href="https://mozilla.org"> 5 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io"> 6 <link rel="match" href="small-nested-viewbox-ref.html"> 7 <style> 8 svg#root { 9 width: 16px; 10 padding: 4px; 11 background: #ccc; 12 color: #000; 13 } 14 </style> 15 <svg id="root" viewBox="0 0 4 4"> 16 <svg viewBox='0 0 256 256'> 17 <rect width="256" height="256" x="0" y="0" fill="green" /> 18 </svg> 19 </svg>