resize-010.html (753B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Basic User Interface Test: resizing pictures</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 <picture> regardless of the value of the overflow property."> 8 <style> 9 picture { 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 <picture> 15 <source srcset="support/orange.svg" type="image/svg+xml"> 16 <img src="support/orange.png" alt=""> 17 </picture>