Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!doctype html>
<title>SVG media fragment: percent-based spatial clipping on SVG with explicit width=0 height=0</title>
<link rel="help" href="https://github.com/w3c/svgwg/issues/1113">
<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>