Skip to content

Instantly share code, notes, and snippets.

@LeaVerou
Forked from anonymous/dabblet.css
Created June 9, 2016 15:43
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save LeaVerou/6a802e964a8c081a3256892a64131a6c to your computer and use it in GitHub Desktop.
Save LeaVerou/6a802e964a8c081a3256892a64131a6c 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
*/
circle {
r: 70%;
cx: 50%;
cy: 50%;
fill: green;
}
<svg>
<rect width="100%" height="100%" fill="red" />
<circle />
</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