summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-sizing/svg-intrinsic-size-005-ref.html
blob: 1d64836f885e1e29e8e5abd43f51fda756f6a726 (plain)
1
2
3
4
5
6
7
8
9
<!doctype html>

<title>CSS Reference: CSS-specified vs. attribute-specified percentages in SVG intrinsic sizing</title>

<div style="width: max-content; height: 50px">
  <svg width="100%" height="100%" style="display: block">
    <rect width="200" height="200" fill="green"/>
  </svg>
</div>