Sign in
webkit
/
WebKit
/
0f9dda3eb5e8bee1224032800f3b156cd5ce812d
/
.
/
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>