Sign in
webkit
/
WebKit
/
983b299acc32acd2faaf762fdcd3ded1f17c80ab
/
.
/
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>