Sign in
webkit
/
WebKit
/
8080f6fee45a125d4786642fbf1a845df358d5c0
/
.
/
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>