summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-ui/resize-009.html
blob: 8662b1a72c9641af3f422ef0804c1705517c7757 (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 sgv</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 <svg> regardless of the value of the overflow property.">
<style>
svg { 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>

<svg width="100" height="100" viewBox="0 0 100 100"
  xmlns="http://www.w3.org/2000/svg">
<rect x="0" y="0" width="100" height="100" fill="orange"/>
</svg>