blob: 3d6d7684fa34da2b090317a21fd110d8dc349f8d [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Basic//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-basic.dtd" [
<!ENTITY Smile "
<rect x='.5' y='.5' width='29' height='39' fill='black' stroke='red'/>
<g transform='translate(0, 5)'>
<circle cx='15' cy='15' r='10' fill='yellow'/>
<circle cx='12' cy='12' r='1.5' fill='black'/>
<circle cx='17' cy='12' r='1.5' fill='black'/>
<path d='M 10 19 L 15 23 20 19' stroke='black' stroke-width='2'/>
</g>
">
<!ENTITY Viewport2 "<rect x='.5' y='.5' width='29' height='59'
fill='none' stroke='blue'/>">
]>
<svg version="1.1" baseProfile="basic" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">
<g id="test-body-content" transform="translate(0, 0)">
<g font-size="9">
<text x="0" y="30">All svgs below should look the same, since all have viewBox with syntax errors and default should be chosen.</text>
<g id="meet-group-2" transform="translate(0, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(50, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(100, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(150, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30 40 50" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(200, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30 40," width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(250, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox=",0 0 30 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(300, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 -30 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(350, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30 -40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(400, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30, , 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(450, 50)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30% 40" width="30" height="60">&Smile;</svg>
</g>
<text x="0" y="190">All svgs below should look the same, all have valid viewBoxes.</text>
<g id="meet-group-2" transform="translate(0, 200)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(50, 200)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0, 0 30 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(100, 200)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0, 0, 30 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(150, 200)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0, 0, 30, 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(200, 200)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 -1 30 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(250, 200)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30,40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(300, 200)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox=" 0 0 30 40" width="30" height="60">&Smile;</svg>
</g>
<g transform="translate(350, 200)">
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" preserveAspectRatio="none" viewBox="0 0 30 40 " width="30" height="60">&Smile;</svg>
</g>
</g>
</g>
</svg>