Skip to content

Instantly share code, notes, and snippets.

Created June 9, 2016 14:05
Show Gist options
  • Save anonymous/2b424e3fd5926ebf8b32b123a5c2d260 to your computer and use it in GitHub Desktop.
Save anonymous/2b424e3fd5926ebf8b32b123a5c2d260 to your computer and use it in GitHub Desktop.
Testcase for SVG geometry properties in CSS.
/**
* Testcase for SVG geometry properties in CSS.
* Green rectangle: Pass
* Red rectangle: Fail
*/
svg {
background: red;
}
rect {
width: 100%;
height: 100%;
fill: green;
rx: 5%;
ry: 20%;
}
<svg>
<rect />
</svg>
// alert('Hello world!');
{"view":"separate","fontsize":"100","seethrough":"","prefixfree":"1","page":"all"}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment