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