Add unit tests for this. Add some descriptions to the failure modes of some unit tests, which would fail without any message (if they failed, but right now they succeed! ;).
16 lines
501 B
XML
16 lines
501 B
XML
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
|
|
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="200" height="200">
|
|
<defs>
|
|
<style type="text/css">
|
|
<![CDATA[
|
|
rect { fill: url(#somethingreallylong); }
|
|
]]>
|
|
</style>
|
|
<linearGradient id="somethingreallylong" x1="0" x2="0" y1="0" y2="1">
|
|
<stop stop-color="red" offset="0" />
|
|
<stop stop-color="green" offset="1" />
|
|
</linearGradient>
|
|
</defs>
|
|
|
|
<rect width="100" height="100" />
|
|
</svg>
|