summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-overflow/overflow-clip-y-visible-x-svg.html
blob: 8416af30470f0a949625acb632ccb6ec2caa9650 (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>Overflow: can have different clip and visible value in x/y directions with svg</title>
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#valdef-overflow-clip">
<link rel="author" title="Khushal Sagar" href="mailto:khushalsagar@chromium.org">
<link rel="match" href="overflow-clip-y-visible-x-svg-ref.html">
<style>
  svg {
    width: 100px;
    height: 100px;
    overflow-x: visible;
    overflow-y: clip;
  }
</style>
<svg>
  <rect width="150" height="150" fill="green"></rect>
</svg>