blob: bd903cdfd68f604064d46a6d50d64d4784b7a0de (
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-x-visible-y-svg-ref.html">
<style>
svg {
width: 100px;
height: 100px;
overflow-y: visible;
overflow-x: clip;
}
</style>
<svg>
<rect width="150" height="150" fill="green"></rect>
</svg>
|