Created
June 9, 2016 14:05
-
-
Save anonymous/2b424e3fd5926ebf8b32b123a5c2d260 to your computer and use it in GitHub Desktop.
Testcase for SVG geometry properties in CSS.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* 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%; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<svg> | |
<rect /> | |
</svg> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// alert('Hello world!'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{"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