summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/resize-010.html
blob: b7cf2712983d86dcb477176a52ee67a8018a473b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Test: resizing pictures</title>
<link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net">
<link rel="help" href="https://drafts.csswg.org/css-ui-3/#resize">
<meta name="flags" content="interact may">
<meta name="assert" content="UAs may apply the resize property to <picture> regardless of the value of the overflow property.">
<style>
picture { resize: both; }
</style>

<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>

<picture>
  <source srcset="support/orange.svg" type="image/svg+xml">
  <img src="support/orange.png" alt="">
</picture>