diff options
Diffstat (limited to '')
-rw-r--r-- | share/extensions/tests/data/svg/css.svg | 94 |
1 files changed, 94 insertions, 0 deletions
diff --git a/share/extensions/tests/data/svg/css.svg b/share/extensions/tests/data/svg/css.svg new file mode 100644 index 0000000..9ba3bfe --- /dev/null +++ b/share/extensions/tests/data/svg/css.svg @@ -0,0 +1,94 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://creativecommons.org/ns#" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + id="svg0" + version="1.1" + viewBox="0 0 140 140" + height="140mm" + width="140mm"> + <defs + id="defs2"> + <style id="style1"> +// Not in a CDATA for testing. +#layer1 { + stroke: yellow; +} +circle { + fill: red; +} +.two { + fill: green; +} +#rect3.three { + fill: cyan; +} +#layer1 .four { + fill: grey; +} +#rect1 { + fill: blue; +} +#circle1, #circle2, .two { + font: Homie; +} + </style> + <style id="style2"></style> + <style id="style3"><![CDATA[ +#layer1 { + stroke-width: 2px; +} +.rule { +} + ]]></style> + </defs> + <g + id="layer1" + inkscape:groupmode="layer" + inkscape:label="Layer 1"> + <rect + y="0" + x="0" + class="one" + height="70" + width="70" + id="rect1"/> + <rect + id="rect2" + class="two" + width="70" + height="70" + x="70" + y="0" /> + <rect + y="70" + x="0" + class="three" + height="70" + width="70" + id="rect3"/> + <rect + id="rect4" + class="four" + width="70" + height="70" + style="stroke: red;" + x="70" + y="70" /> + <circle + r="35" + cy="70" + cx="70" + id="circle1"/> + <circle + r="10" + cy="20" + cx="20" + id="circle2"/> + </g> +</svg> |