resize-009.html (775B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: resizing sgv</title> 4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net"> 5 <link rel="help" href="https://drafts.csswg.org/css-ui-3/#resize"> 6 <meta name="flags" content="interact may"> 7 <meta name="assert" content="UAs may apply the resize property to <svg> regardless of the value of the overflow property."> 8 <style> 9 svg { resize: both; } 10 </style> 11 12 <p>Test passes if both <strong>width</strong> and <strong>height</strong> of the orange box below can be adjusted (for instance by dragging the bottom-right corner).</p> 13 14 <svg width="100" height="100" viewBox="0 0 100 100" 15 xmlns="http://www.w3.org/2000/svg"> 16 <rect x="0" y="0" width="100" height="100" fill="orange"/> 17 </svg>