Add XML prolog to all unittests

This commit is contained in:
JSCHILL1 2009-08-03 19:23:57 -05:00
parent c9ecfc05a7
commit a93c626ab6
37 changed files with 37 additions and 1 deletions

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg"
xmlns:x="http://ns.adobe.com/Extensibility/1.0/"
xmlns:i="http://ns.adobe.com/AdobeIllustrator/10.0/"

Before

Width:  |  Height:  |  Size: 1.5 KiB

After

Width:  |  Height:  |  Size: 1.6 KiB

Before After
Before After

View file

@ -1,3 +1,4 @@
<?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">
<defs>
<linearGradient id="g1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse">

Before

Width:  |  Height:  |  Size: 451 B

After

Width:  |  Height:  |  Size: 506 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?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">
<defs>
<linearGradient id="grad1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse" spreadMethod="reflect" gradientTransform="matrix(1,2,3,4,5,6)">

Before

Width:  |  Height:  |  Size: 491 B

After

Width:  |  Height:  |  Size: 546 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
<linearGradient id="g1" x1="0" y1="0" x2="1" y2="0">

Before

Width:  |  Height:  |  Size: 534 B

After

Width:  |  Height:  |  Size: 589 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<path fill="#F00" stroke="#0F0" d="M100,100h100h100v100h-200z"/>
<path fill="#F00" stroke="#0F0" d="M100,300h100,100v100h-200z"/>

Before

Width:  |  Height:  |  Size: 243 B

After

Width:  |  Height:  |  Size: 298 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?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">
<defs>
<linearGradient id="g1" x1="0" y1="0" x2="1" y2="0" gradientUnits="userSpaceOnUse">

Before

Width:  |  Height:  |  Size: 543 B

After

Width:  |  Height:  |  Size: 598 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<defs>
<linearGradient id="sea-gradient" x1="0" x2="0" y1="0" y2="1">

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 496 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<linearGradient id="lingrad" x1="0" y1="0" x2="0" y2="1">

Before

Width:  |  Height:  |  Size: 685 B

After

Width:  |  Height:  |  Size: 740 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<g/>
<g transform="translate(10,10)">

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 202 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<path style="fill: none; fill-rule: evenodd; fill-opacity: 0.5;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
<path style="fill: black; fill-rule: nonzero; fill-opacity: 0.5;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />

Before

Width:  |  Height:  |  Size: 374 B

After

Width:  |  Height:  |  Size: 429 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<rect style="font-size:20px" width="100" height="100" />
</svg>

Before

Width:  |  Height:  |  Size: 106 B

After

Width:  |  Height:  |  Size: 161 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<g>
<title>Group 1</title>

Before

Width:  |  Height:  |  Size: 309 B

After

Width:  |  Height:  |  Size: 364 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" id="boo">
<defs>
<title id="title1">Fooey</title>

Before

Width:  |  Height:  |  Size: 292 B

After

Width:  |  Height:  |  Size: 347 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<g>

Before

Width:  |  Height:  |  Size: 249 B

After

Width:  |  Height:  |  Size: 304 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
xmlns:foo="http://www.inkscape.org/namespaces/inkscape"
inkscape:version="0.46" version="1.0">

Before

Width:  |  Height:  |  Size: 489 B

After

Width:  |  Height:  |  Size: 544 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<metadata>This is a metadata element with only text node children</metadata>
</svg>

Before

Width:  |  Height:  |  Size: 126 B

After

Width:  |  Height:  |  Size: 181 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<g>
<g transform="translate(50,50)">

Before

Width:  |  Height:  |  Size: 197 B

After

Width:  |  Height:  |  Size: 252 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<path d="M 385,201 V181 l100,-50 h20 C 505.43501,223.44223 659.42238,164.82405 714.32160,-0.0015300000 C 649.90356,227.13187 497.48814,312.46353 371.30643,277.40123 C 245.12472,242.33893 157.17674,250.88268 121.69357,12.440270 C 211.69357,149.44027 323.87473,190.08578 385.88362,201.47812 z " fill="blue"/>
</svg>

Before

Width:  |  Height:  |  Size: 360 B

After

Width:  |  Height:  |  Size: 415 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" version="1.1">
<path d="M 100,100 l200,0 l0,100 h-200 l0,0 z" fill="blue" />
</svg>

Before

Width:  |  Height:  |  Size: 148 B

After

Width:  |  Height:  |  Size: 203 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg viewBox="0 0 400 400" xmlns="http://www.w3.org/2000/svg" version="1.1">
<path d="M 300. 100 h-50-1.5E+2

Before

Width:  |  Height:  |  Size: 167 B

After

Width:  |  Height:  |  Size: 222 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1781 1142">
<path d="m 0,0 l 2.e-4,0 z"/>
</svg>

Before

Width:  |  Height:  |  Size: 103 B

After

Width:  |  Height:  |  Size: 158 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1">
<path d="M300.0000, -100.1 z" fill="red" />
</svg>

Before

Width:  |  Height:  |  Size: 108 B

After

Width:  |  Height:  |  Size: 163 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<path fill="none" stroke="#000" d="M10,10h100v100h-100z"/>
</svg>

Before

Width:  |  Height:  |  Size: 106 B

After

Width:  |  Height:  |  Size: 161 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?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">
<defs>
<linearGradient id="g" x1="0" y1="0" x2="1" y2="0">

Before

Width:  |  Height:  |  Size: 316 B

After

Width:  |  Height:  |  Size: 371 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<defs>
<title id="title1">Fooey</title>

Before

Width:  |  Height:  |  Size: 283 B

After

Width:  |  Height:  |  Size: 338 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns='http://www.w3.org/2000/svg'>
<defs>
<font id="Font1" horiz-adv-x="1000">

Before

Width:  |  Height:  |  Size: 657 B

After

Width:  |  Height:  |  Size: 712 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?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" xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
xmlns:foo="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" sodipodi:version="0.32">
<sodipodi:namedview id="base" pagecolor="#ffffff" bordercolor="#666666" borderopacity="1.0" gridtolerance="10000" guidetolerance="10" objecttolerance="10"/>

Before

Width:  |  Height:  |  Size: 485 B

After

Width:  |  Height:  |  Size: 540 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<path fill="blue" d="M10,10c10,10,30,30,40,40l40-40z"/>
</svg>

Before

Width:  |  Height:  |  Size: 104 B

After

Width:  |  Height:  |  Size: 159 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<path id="p" fill="black" style="stroke: none; stroke-width: 1px; stroke-linecap: butt; stroke-dasharray: none; stroke-dashoffset: 2; stroke-linejoin: miter; stroke-opacity: 1;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
</svg>

Before

Width:  |  Height:  |  Size: 323 B

After

Width:  |  Height:  |  Size: 378 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<path id="p" fill="black" style="stroke: rgb(0, 0, 0); stroke-width: 0; stroke-linecap: butt; stroke-dasharray: none; stroke-dashoffset: 2; stroke-linejoin: miter; stroke-opacity: 1;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
</svg>

Before

Width:  |  Height:  |  Size: 329 B

After

Width:  |  Height:  |  Size: 384 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<path id="p" fill="black" style="stroke: rgb(0, 0, 0); stroke-width: 1px; stroke-linecap: butt; stroke-dasharray: none; stroke-dashoffset: 2; stroke-linejoin: miter; stroke-opacity: 0;" d="M 7.7592046,36.982095 C 7.8831049,40.873696 7.8339808,45.305308 7.8339808,49.436888 Z" />
</svg>

Before

Width:  |  Height:  |  Size: 331 B

After

Width:  |  Height:  |  Size: 386 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns='http://www.w3.org/2000/svg'>
<defs>
<font id="Font1" horiz-adv-x="1000">

Before

Width:  |  Height:  |  Size: 643 B

After

Width:  |  Height:  |  Size: 698 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" id='fooey'>
<linearGradient id="Polka_Dot_Pattern">
<stop offset="0.5" stop-color="blue" />

Before

Width:  |  Height:  |  Size: 158 B

After

Width:  |  Height:  |  Size: 213 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<pattern id="Polka_Dot_Pattern">
<polygon fill="none" points="71.125,-1.896 2.125,-1.896 2.125,-70.896 71.125,-70.896" />

Before

Width:  |  Height:  |  Size: 182 B

After

Width:  |  Height:  |  Size: 237 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg">
<radialGradient id="Polka_Dot_Pattern">
<stop offset="0.5" stop-color="blue" />

Before

Width:  |  Height:  |  Size: 147 B

After

Width:  |  Height:  |  Size: 202 B

Before After
Before After

View file

@ -1,3 +1,4 @@
<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns="http://www.w3.org/2000/svg">
<desc>ú</desc>

Before

Width:  |  Height:  |  Size: 112 B

After

Width:  |  Height:  |  Size: 167 B

Before After
Before After