Source code
Revision control
Copy as Markdown
Other Tools
<!doctype html>
<title>SVG media fragment: percent-based spatial clipping on SVG with explicit width=0 height=0</title>
<link rel="match" href="about:blank">
<style>
div {
width: 100px;
height: 100px;
background-repeat: no-repeat;
background-image: url("support/red-green-zero-size.svg#xywh=percent:50,50,50,50");
}
</style>
<div></div>