Sign in
webkit
/
WebKit
/
1a79bee400eb09e4e61992ad877612506d12b02d
/
.
/
LayoutTests
/
svg
/
in-html
/
svg-view-box-css-clip-path.html
blob: cb9217aaad5ab7c0fc4a7c3b6c0863358fc762be [
file
] [
log
] [
blame
]
<style>
.
green-box
{
height
:
400px
;
width
:
400px
;
clip-path
:
inset
(
0
200px
200px
0
);
}
</style>
<body>
<div>
<svg
class
=
"green-box"
viewBox
=
"0 0 200 200"
>
<rect
width
=
"100%"
height
=
"100%"
fill
=
"green"
/>
</svg>
</div>
</body>