var Images = {
  '20x20.png': 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAIAAAAC64paAAAABGdBTUEAAFjH/EfgAgAAACBjSFJNAAB6JQAAgIMAAPn/AACA5gAAdS4AAOpfAAA6lwAAF29p5MQrAAADmUlEQVR4nGJgKFUhGwEEAD0Awv8AAHUk////+fv57/bx5fDp2evezOTUv93JstW9pM2xlselib+afrmQcbOGZKx6VqZvSJ9jO5hYLpJNAHUkAgik+QdY55OPL26+unfm8eX9d45vhOg8trTzwKzanf2Fm1qTV1eGLgXrnAnU6aPY7QTUCBBAIM3vgDo/vLjx6t7px5f33T6+8cqexWc3AHV27J8J1FmwqSV5DVBnrvu8ZKsZ4bognY5irRZAjQABBNIM1nn39ONLe+8c33Bl9+Iz66ceXdKxb2b1jr78jS1JQDuXAHUmWc4I15kI1tliwVOnD9QIEEAgzddf3j0F1Hn72PoruxadWT/l6JL2fTNqgDo3NSetrghZkus2L9FyepjOBG/5bkfRFnPuOn3mCnWgRoAAAmk+9ejSnttHgToXnl035egioM7q7b15G5sSV5WHLMlxm5toMT1UG6izy0GkxYyrTg+ks0gJqBEggECad986uu7KrgVn1k0+AtQ5vQqsM2F1efCSbNe5CWCdXhCd3ECd5WoMRYoMubJAjQABBNK89vLOBWfWTjq6sBWksyd3Q2PCqrKgxUCd8ebTQrQmeMp12gsD7azVY4LozJFlyJAEagQIIJDm+UCdRxa17Z1WCdYZD9bpMgekU7PfU7bTTqjZlLNWF6SzUAGkM12KIUkcqBEggECaJx5e2ArWmQPWGbg4y3lOvNm0YITOGl3GclWGIgWGbIhOCYZYMaBGgAACaW7ZM7ViW3fO+oa4laUBi7Kc5sSZgnR6yEB16jCVqTIUAl0rw5AuCbIzVpwhQhSoESCAQJqBOrPXN8SuKPFflAnSOTVIA6TTVrDZhKNGhxGos0ABpDNNkiERbGeEGEMwSDNAAIE0Z62vj1kJ0uk4O9ZkapB6n7t0h61gE1CnNgNIpzxDNkSnOEOMGEO4KEOwCIOfCFAjQACBNMcA7VyY4Tg7xmRqoFqfG1CnQKMxR7U2QynYTiw6RRk8QTYDBBBIs9+iDIdZMcZQnTYCTcbs1dqMwEwHtDMLWSfYtSCdIgwuIJsBAgik2X52jNHUANVeVymgzkYj9motkEQ+UKc0Q6okQ4IEQzTYziBRBl9RBg+wTnthoBqAAAJpNprsr9rnKtluzd9oxAbUWQLRKcOQKsGQIA7TKcLgKwLS6QzWaSUE1AgQQCDNKr0gnXwNhkg6pVF1wuyE6zQRBGoECCAGSoohgAADADTmqQJpZXKFAAAAAElFTkSuQmCC',
  'bluesquidj.png': 'data:image/png;base64, ',
  'DisplaceChecker.png': 'data:image/png;base64,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',
  'inline2.png': 'data:image/png;base64,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',
  'sign.png': 'data:image/png;base64, ',
  'struct-symbol-01.png': 'data:image/png;base64, '
};

var Tests1 = [
  {name: 'color-prop-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: color-prop-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/color.html#ColorProperty">\n        <p>\n          This tests the \'color\' property and the \'currentColor\' value on fill, stroke, and stop-color properties.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n         There are three subtests. The first subtest, to the top left, is passed if the circle has a green fill. The second subtest,\n        to the top right, is passed if the circle has a green stroke. The third subtest shows a rectangle\n        with a gradient fill, which has three stops. The subtest is passed if central stop is green,\n        fading off to blue to the left and pale 	yellow to the right.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: color-prop-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <linearGradient id="grad" color="green">\n        <stop offset="5%" stop-color="#60F"/>\n        <stop offset="50%" stop-color="currentColor"/>\n        <stop offset="95%" stop-color="#FF6"/>\n      </linearGradient>\n    </defs>\n    <g color="green">\n      <g color="inherit" fill="none" stroke="none">\n        <!-- inherit to check the property value, not the string, is being used -->\n        <circle cx="130" cy="80" r="60" fill="currentColor"/>\n        <circle cx="350" cy="80" r="60" stroke="currentColor" stroke-width="4"/>\n      </g>\n    </g>\n    <g color="blue">\n      <g color="inherit" fill="none" stroke="none">\n        <!-- blue color used to check color being scoped and inherited correctly -->\n        <rect x="60" y="215" width="360" height="80" fill="url(#grad)"/>\n      </g>\n    </g>\n    <g font-size="30" fill="black">\n      <text x="120" y="170">fill</text>\n      <text x="310" y="170">stroke</text>\n      <text x="180" y="205">stop-color</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'color-prop-02-f.svg', svg: '<svg version="1.1" baseProfile="full" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: color-prop-02-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/color.html#ColorProperty">\n        <p>\n          Tests if the color datatype is supported. There are multiple syntaxes for\n        specifying the same color, such as #37F and #3377FF. This test is focussed on the \n	X11 color names, which are not part of the tiny profile.\n	Each group of circles uses four forms - 6-digit hex, rbg() integer form, rgb() percentage form,\n        and named (\'X11\') colors. It does not use 3-digit hex, because the colors used in this test\n        cannot be represented in three digit form.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        For each of the nine groups of circles shown here, all circles must\n        be identical in color, and the same color as in the reference image. \n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: color-prop-02-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- groups of five colors  -->\n    <g>\n      <circle cx="75" cy="40" r="20" fill="crimson"/>\n      <circle cx="115" cy="40" r="20" fill="#DC143C"/>\n      <circle cx="75" cy="80" r="20" fill="rgb(220,20,60)"/>\n      <circle cx="115" cy="80" r="20" fill="rgb(86.274509803921568627450980392157%,7.8431372549019607843137254901961%,23.529411764705882352941176470588%)"/>\n    </g>\n    <g>\n      <circle cx="200" cy="40" r="20" fill="palegreen"/>\n      <circle cx="240" cy="40" r="20" fill="#98FB98"/>\n      <circle cx="200" cy="80" r="20" fill="rgb(152, 251, 152)"/>\n      <circle cx="240" cy="80" r="20" fill="rgb(59.60784313725490196078431372549%,98.431372549019607843137254901961%,59.60784313725490196078431372549%)"/>\n    </g>\n    <g>\n      <circle cx="325" cy="40" r="20" fill="royalblue"/>\n      <circle cx="365" cy="40" r="20" fill="#4169E1"/>\n      <circle cx="325" cy="80" r="20" fill="rgb(65, 105, 225)"/>\n      <circle cx="365" cy="80" r="20" fill="rgb(25.490196078431372549019607843137%,41.176470588235294117647058823529%,88.235294117647058823529411764706%)"/>\n    </g>\n    <g>\n      <circle cx="75" cy="135" r="20" fill="firebrick"/>\n      <circle cx="115" cy="135" r="20" fill="#B22222"/>\n      <circle cx="75" cy="175" r="20" fill="rgb(178,34,34)"/>\n      <circle cx="115" cy="175" r="20" fill="rgb(69.803921568627450980392156862745%,13.333333333333333333333333333333%,13.333333333333333333333333333333%)"/>\n    </g>\n    <g>\n      <circle cx="200" cy="135" r="20" fill="seagreen"/>\n      <circle cx="240" cy="135" r="20" fill="#2E8B57"/>\n      <circle cx="200" cy="175" r="20" fill="rgb(46, 139, 87)"/>\n      <circle cx="240" cy="175" r="20" fill="rgb(18.039215686274509803921568627451%,54.509803921568627450980392156863%,34.117647058823529411764705882353%)"/>\n    </g>\n    <g>\n      <circle cx="325" cy="135" r="20" fill="mediumblue"/>\n      <circle cx="365" cy="135" r="20" fill="#0000CD"/>\n      <circle cx="325" cy="175" r="20" fill="rgb(0, 0, 205)"/>\n      <circle cx="365" cy="175" r="20" fill="rgb(0%,0%,80.39215686274509803921568627451%)"/>\n    </g>\n    <g>\n      <circle cx="75" cy="230" r="20" fill="indianred"/>\n      <circle cx="115" cy="230" r="20" fill="#CD5C5C"/>\n      <circle cx="75" cy="270" r="20" fill="rgb(205, 92, 92)"/>\n      <circle cx="115" cy="270" r="20" fill="rgb(80.39215686274509803921568627451%,36.078431372549019607843137254902%,36.078431372549019607843137254902%)"/>\n    </g>\n    <g>\n      <circle cx="200" cy="230" r="20" fill="lawngreen"/>\n      <circle cx="240" cy="230" r="20" fill="#7CFC00"/>\n      <circle cx="200" cy="270" r="20" fill="rgb(124, 252, 0)"/>\n      <circle cx="240" cy="270" r="20" fill="rgb(48.627450980392156862745098039216%,98.823529411764705882352941176471%,0%)"/>\n    </g>\n    <g>\n      <circle cx="325" cy="230" r="20" fill="mediumturquoise"/>\n      <circle cx="365" cy="230" r="20" fill="#48D1CC"/>\n      <circle cx="325" cy="270" r="20" fill="rgb(72, 209, 204)"/>\n      <circle cx="365" cy="270" r="20" fill="rgb(28.235294117647058823529411764706%,81.960784313725490196078431372549%,80%)"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'color-prop-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: color-prop-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/color.html#ColorProperty">\n        <p>\n          Tests if the color datatype is supported. There are multiple syntaxes for\n        specifying the same color, such as #37F and #3377FF.\nFor each of the six groups shown here,\n        each of the circles in the group uses one of the syntactical forms \n        </p>\n <p>\n        The first row uses five forms - 3-digit hex, 6-digit hex, rbg() integer form, rgb() percentage form,\n        and the \'HTML\' subset of the name (\'X11\') colors.\n      </p>\n      <p>\n        The second row uses only four forms - 3-digit hex, 6-digit hex, rbg() integer form, rgb() percentage form -\n        as there are no HTML or X11 names for those colors.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n     \n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        For each of the six groups of circles shown here, all circles must\n        be identical in color, and the same color as in the reference image. \n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: color-prop-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- groups of five colors  -->\n    <g>\n      <circle cx="75" cy="40" r="20" fill="#f00"/>\n      <circle cx="115" cy="40" r="20" fill="#ff0000"/>\n      <circle cx="75" cy="80" r="20" fill="rgb(255,0,0)"/>\n      <circle cx="115" cy="80" r="20" fill="rgb(100%,0%,0%)"/>\n      <polygon points="95,40 115,60 95,80 75,60" fill="red"/>\n    </g>\n    <g>\n      <circle cx="200" cy="40" r="20" fill="#0f0"/>\n      <circle cx="240" cy="40" r="20" fill="#00ff00"/>\n      <circle cx="200" cy="80" r="20" fill="rgb(0,255,0)"/>\n      <circle cx="240" cy="80" r="20" fill="rgb(0%,100%,0%)"/>\n      <!-- \'lime\' (full intensity green) NOT \'green\' (half intensity green) -->\n      <polygon points="220,40 240,60 220,80 200,60" fill="lime"/>\n    </g>\n    <g>\n      <circle cx="325" cy="40" r="20" fill="#00f"/>\n      <circle cx="365" cy="40" r="20" fill="#0000ff"/>\n      <circle cx="325" cy="80" r="20" fill="rgb(0,0,255)"/>\n      <circle cx="365" cy="80" r="20" fill="rgb(0%,0%,100%)"/>\n      <polygon points="345,40 365,60 345,80 325,60" fill="blue"/>\n    </g>\n    <!-- no names for three digit colors except for 00 and ff -->\n    <!-- 11=17 22=34 33=51 44=68 55=85 66=102 77=119 \n     88=136 99=153 aa=170 bb=187 cc=204 dd=221 ee=238 -->\n    <g>\n      <circle cx="75" cy="135" r="20" fill="#a01"/>\n      <circle cx="115" cy="135" r="20" fill="#aa0011"/>\n      <circle cx="75" cy="175" r="20" fill="rgb(170,0,17)"/>\n      <circle cx="115" cy="175" r="20" fill="rgb(66.667%,0%,6.667%)"/>\n    </g>\n    <g>\n      <circle cx="200" cy="135" r="20" fill="#3b3"/>\n      <circle cx="240" cy="135" r="20" fill="#33bb33"/>\n      <circle cx="200" cy="175" r="20" fill="rgb(51,187,51)"/>\n      <circle cx="240" cy="175" r="20" fill="rgb(20%,73.333%,20%)"/>\n    </g>\n    <g>\n      <circle cx="325" cy="135" r="20" fill="#57e"/>\n      <circle cx="365" cy="135" r="20" fill="#5577ee"/>\n      <circle cx="325" cy="175" r="20" fill="rgb(85,119,238)"/>\n      <circle cx="365" cy="175" r="20" fill="rgb(33.333%,46.666%,93.333%)"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'color-prop-05-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="CN" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: color-prop-05-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/color.html#ColorProperty">\n      <p>\n        Tests the color that is used for the currentColor value in the fill\n        attribute when more than one color is specified.\n      </p>\n      <p>\n        This is illustrated using a single rectangle that is a child of a group\n        element. A fill is specified for the group element but not the\n        rectangle. Colour is specifed for the rectangle and the group element.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if the user agent renders the rectangle with a green\n        fill.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: color-prop-05-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g fill="currentColor" color="lime">\n      <rect x="120" y="60" width="150" height="150" color="red"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-coord-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="DJ" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-coord-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#InitialCoordinateSystem">\n      <p>\n        Tests the default initial coordinate system used by renderer.\n      </p>\n      <p>Should be 0,0 if not specified. This is illustrated by comparing blue boxes that are\n        missing a coordinate or all coordinates with yellow boxes that have the\n        correct coordinates specified.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are three blue boxes,\n        with small yellow boxes rendered on top of them. These boxes should be\n        placed along the origin, and x and y axis.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-coord-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <!-- Content of Test Case follows. -->\n\n    <g stroke="black" stroke-width="5">\n\n      <line x1="0" y1="0" x2="150" y2="0"/>\n\n      <line x1="0" y1="0" x2="0" y2="150"/>\n    </g>\n\n    <g fill="blue">\n      <rect width="15" height="15"/>\n\n      <rect x="150" width="15" height="15"/>\n\n      <rect y="150" width="15" height="15"/>\n    </g>\n\n    <g fill="yellow">\n      <rect x="0" y="0" width="10" height="10"/>\n\n      <rect x="150" y="0" width="10" height="10"/>\n\n      <rect x="0" y="150" width="10" height="10"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-coord-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="DJ" author="CN" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: coords-coord-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#InitialCoordinateSystem">\n      <p>\n        Tests the default units used for the initial coordinate system. This is\n        illustrated by comparing blue boxes that have no units specified for their\n        coordinates, with yellow boxes that have px units specified for their\n        coordinates.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        This test should produce three blue boxes, with small yellow\n        boxes rendered on top of them. These boxes should be placed along the\n        origin, x and y axis.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-coord-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <!-- Content of Test Case follows. -->\n\n    <g stroke="black" stroke-width="5">\n\n      <line x1="0px" y1="0px" x2="150px" y2="0px"/>\n\n      <line x1="0px" y1="0px" x2="0px" y2="150px"/>\n    </g>\n\n    <g fill="blue">\n      <rect x="0" y="0" width="15" height="15"/>\n\n      <rect x="150" y="0" width="15" height="15"/>\n\n      <rect x="0" y="150" width="15" height="15"/>\n    </g>\n\n    <g fill="yellow">\n      <rect x="0px" y="0px" width="10" height="10"/>\n\n      <rect x="150px" y="0px" width="10" height="10"/>\n\n      <rect x="0px" y="150px" width="10" height="10"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary  transforms.\n      </p>\n      <p>\n        The test uses the rect element, the fill color (solid primary colors) and transforms.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(0, 30)" font-size="13">\n      <!-- ====================================================================== -->\n      <!-- First, draw a test grid ============================================== -->\n      <!-- ====================================================================== -->\n      <g id="test-grid" stroke="#cccccc" stroke-width="1">\n        <line x1="10" y1="10.5" x2="470" y2="10.5"/>\n        <line x1="10" y1="20.5" x2="470" y2="20.5"/>\n        <line x1="10" y1="30.5" x2="470" y2="30.5"/>\n        <line x1="10" y1="40.5" x2="470" y2="40.5"/>\n        <line x1="10" y1="50.5" x2="470" y2="50.5"/>\n        <line x1="10" y1="60.5" x2="470" y2="60.5"/>\n        <line x1="10" y1="70.5" x2="470" y2="70.5"/>\n        <line x1="10" y1="80.5" x2="470" y2="80.5"/>\n        <line x1="10" y1="90.5" x2="470" y2="90.5"/>\n        <line x1="10" y1="100.5" x2="470" y2="100.5"/>\n        <line x1="10" y1="110.5" x2="470" y2="110.5"/>\n        <line x1="10" y1="120.5" x2="470" y2="120.5"/>\n        <line x1="10" y1="130.5" x2="470" y2="130.5"/>\n        <line x1="10" y1="140.5" x2="470" y2="140.5"/>\n        <line x1="10" y1="150.5" x2="470" y2="150.5"/>\n        <line x1="10" y1="160.5" x2="470" y2="160.5"/>\n        <line x1="10" y1="170.5" x2="470" y2="170.5"/>\n        <line x1="10" y1="180.5" x2="470" y2="180.5"/>\n        <line x1="10" y1="190.5" x2="470" y2="190.5"/>\n        <line x1="10" y1="200.5" x2="470" y2="200.5"/>\n        <line x1="10" y1="210.5" x2="470" y2="210.5"/>\n        <line x1="10" y1="220.5" x2="470" y2="220.5"/>\n        <line x1="10" y1="230.5" x2="470" y2="230.5"/>\n        <line x1="10" y1="240.5" x2="470" y2="240.5"/>\n        <line x1="10" y1="250.5" x2="470" y2="250.5"/>\n        <line x1="10" y1="260.5" x2="470" y2="260.5"/>\n        <line y1="10" x1="10.5" y2="260.5" x2="10.5"/>\n        <line y1="10" x1="20.5" y2="260.5" x2="20.5"/>\n        <line y1="10" x1="30.5" y2="260.5" x2="30.5"/>\n        <line y1="10" x1="40.5" y2="260.5" x2="40.5"/>\n        <line y1="10" x1="50.5" y2="260.5" x2="50.5"/>\n        <line y1="10" x1="60.5" y2="260.5" x2="60.5"/>\n        <line y1="10" x1="70.5" y2="260.5" x2="70.5"/>\n        <line y1="10" x1="80.5" y2="260.5" x2="80.5"/>\n        <line y1="10" x1="90.5" y2="260.5" x2="90.5"/>\n        <line y1="10" x1="100.5" y2="260.5" x2="100.5"/>\n        <line y1="10" x1="110.5" y2="260.5" x2="110.5"/>\n        <line y1="10" x1="120.5" y2="260.5" x2="120.5"/>\n        <line y1="10" x1="130.5" y2="260.5" x2="130.5"/>\n        <line y1="10" x1="140.5" y2="260.5" x2="140.5"/>\n        <line y1="10" x1="150.5" y2="260.5" x2="150.5"/>\n        <line y1="10" x1="160.5" y2="260.5" x2="160.5"/>\n        <line y1="10" x1="170.5" y2="260.5" x2="170.5"/>\n        <line y1="10" x1="180.5" y2="260.5" x2="180.5"/>\n        <line y1="10" x1="190.5" y2="260.5" x2="190.5"/>\n        <line y1="10" x1="200.5" y2="260.5" x2="200.5"/>\n        <line y1="10" x1="210.5" y2="260.5" x2="210.5"/>\n        <line y1="10" x1="220.5" y2="260.5" x2="220.5"/>\n        <line y1="10" x1="230.5" y2="260.5" x2="230.5"/>\n        <line y1="10" x1="240.5" y2="260.5" x2="240.5"/>\n        <line y1="10" x1="250.5" y2="260.5" x2="250.5"/>\n        <line y1="10" x1="260.5" y2="260.5" x2="260.5"/>\n        <line y1="10" x1="270.5" y2="260.5" x2="270.5"/>\n        <line y1="10" x1="280.5" y2="260.5" x2="280.5"/>\n        <line y1="10" x1="290.5" y2="260.5" x2="290.5"/>\n        <line y1="10" x1="300.5" y2="260.5" x2="300.5"/>\n        <line y1="10" x1="310.5" y2="260.5" x2="310.5"/>\n        <line y1="10" x1="320.5" y2="260.5" x2="320.5"/>\n        <line y1="10" x1="330.5" y2="260.5" x2="330.5"/>\n        <line y1="10" x1="340.5" y2="260.5" x2="340.5"/>\n        <line y1="10" x1="350.5" y2="260.5" x2="350.5"/>\n        <line y1="10" x1="360.5" y2="260.5" x2="360.5"/>\n        <line y1="10" x1="370.5" y2="260.5" x2="370.5"/>\n        <line y1="10" x1="380.5" y2="260.5" x2="380.5"/>\n        <line y1="10" x1="390.5" y2="260.5" x2="390.5"/>\n        <line y1="10" x1="400.5" y2="260.5" x2="400.5"/>\n        <line y1="10" x1="410.5" y2="260.5" x2="410.5"/>\n        <line y1="10" x1="420.5" y2="260.5" x2="420.5"/>\n        <line y1="10" x1="430.5" y2="260.5" x2="430.5"/>\n        <line y1="10" x1="440.5" y2="260.5" x2="440.5"/>\n        <line y1="10" x1="450.5" y2="260.5" x2="450.5"/>\n        <line y1="10" x1="460.5" y2="260.5" x2="460.5"/>\n        <line y1="10" x1="470.5" y2="260.5" x2="470.5"/>\n      </g>\n      <!-- ====================================================================== -->\n      <!-- Now, test elementary transforms. For each transform, 3 markers are     -->\n      <!-- placed where the user space is expected after transformations for the  -->\n      <!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red).     -->\n      <!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->\n      <!-- going from (0, 0) to (0, 20), after applying the elementary            -->\n      <!-- transformation. If the test succeeds, the red line should join the     -->\n      <!-- black marker to the red marker and the blue line the black marker to   -->\n      <!-- the blue marker.                                                       -->\n      <!-- ====================================================================== -->\n      <g id="elementary-transforms-test" transform="translate(0, 10)">\n        <g id="elementary-transforms">\n          <!-- Translate -->\n          <g transform="translate(50, 50)">\n            <rect x="0" y="0" width="20" height="2" fill="blue"/>\n            <rect x="0" y="0" width="2" height="20" fill="red"/>\n          </g>\n          <!-- Rotate -90 deg about (150, 70) -->\n          <g transform="translate(150, 70) rotate(-90)">\n            <rect x="0" y="0" width="20" height="2" fill="blue"/>\n            <rect x="0" y="0" width="2" height="20" fill="red"/>\n          </g>\n          <!-- Skew X -->\n          <g transform="translate(250, 50) skewX(45)">\n            <rect x="0" y="0" width="20" height="2" fill="blue"/>\n            <rect x="0" y="0" width="2" height="20" fill="red"/>\n          </g>\n          <!-- Skew Y -->\n          <g transform="translate(350, 50) skewY(45)">\n            <rect x="0" y="0" width="20" height="2" fill="blue"/>\n            <rect x="0" y="0" width="2" height="20" fill="red"/>\n          </g>\n          <!-- Scale 2 -->\n          <g transform="translate(210, 120) scale(2)">\n            <rect x="0" y="0" width="20" height="1" fill="blue"/>\n            <rect x="0" y="0" width="1" height="20" fill="red"/>\n          </g>\n        </g>\n        <!-- elementary-transforms -->\n        <!-- Draw all the markers -->\n        <g id="elementary-transforms-test-markers">\n          <!-- Translate -->\n          <text x="40" y="40">translate (50, 50)</text>\n          <rect x="48" y="48" width="5" height="5" fill="black"/>\n          <rect x="68" y="48" width="5" height="5" fill="blue"/>\n          <rect x="48" y="68" width="5" height="5" fill="red"/>\n          <!-- Rotate -90 deg about (150, 70) -->\n          <text x="140" y="40">rotate(-90)</text>\n          <rect x="148" y="68" width="5" height="5" fill="black"/>\n          <rect x="148" y="48" width="5" height="5" fill="blue"/>\n          <rect x="168" y="68" width="5" height="5" fill="red"/>\n          <!-- Skew X -->\n          <text x="240" y="40">skew x (45)</text>\n          <rect x="248" y="48" width="5" height="5" fill="black"/>\n          <rect x="268" y="48" width="5" height="5" fill="blue"/>\n          <rect x="268" y="68" width="5" height="5" fill="red"/>\n          <!-- Skew Y -->\n          <text x="340" y="40">skew y (45)</text>\n          <rect x="348" y="48" width="5" height="5" fill="black"/>\n          <rect x="368" y="68" width="5" height="5" fill="blue"/>\n          <rect x="348" y="68" width="5" height="5" fill="red"/>\n          <!-- Scale 2 -->\n          <text x="200" y="110">scale (2)</text>\n          <rect x="208" y="118" width="5" height="5" fill="black"/>\n          <rect x="248" y="118" width="5" height="5" fill="blue"/>\n          <rect x="208" y="158" width="5" height="5" fill="red"/>\n        </g>\n        <!-- elementary-transforms-test-markers -->\n      </g>\n      <g id="nested-transforms-test">\n        <g id="nested-transforms">\n          <!-- scale/translate in transform attribute -->\n          <g transform="scale(3, 2) translate(16.666667, 105)">\n            <rect x="0" y="0" width="20" height="1" fill="blue"/>\n            <rect x="0" y="0" width="0.67" height="20" fill="red"/>\n          </g>\n          <!-- scale/translate in successive elements -->\n          <g transform="translate(200, 0)">\n            <g transform="scale(3, 2)">\n              <g transform="translate(16.666667, 105)">\n                <rect x="0" y="0" width="20" height="1" fill="blue"/>\n                <rect x="0" y="0" width="0.67" height="20" fill="red"/>\n              </g>\n            </g>\n          </g>\n        </g>\n        <!-- nested-transforms -->\n        <g id="nested-transforms-test-markers">\n          <!-- scale and translate -->\n          <text x="40" y="200">scale(25, 95) and translate(2, 2)</text>\n          <rect x="48" y="208" width="5" height="5" fill="black"/>\n          <rect x="108" y="208" width="5" height="5" fill="blue"/>\n          <rect x="48" y="248" width="5" height="5" fill="red"/>\n          <!-- scale then translate -->\n          <text x="240" y="200">scale(25, 95) then translate(2, 2)</text>\n          <rect x="248" y="208" width="5" height="5" fill="black"/>\n          <rect x="308" y="208" width="5" height="5" fill="blue"/>\n          <rect x="248" y="248" width="5" height="5" fill="red"/>\n        </g>\n        <!-- nested-transforms-test-markers -->\n      </g>\n      <!-- nested-transforms test -->\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary  transforms.\n      </p>\n      <p>\n        The test uses the rect element, the fill color (solid primary colors) and transforms.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(0, 30)" font-size="12">\n      <!-- ====================================================================== -->\n      <!-- First, draw a test grid ============================================== -->\n      <!-- ====================================================================== -->\n      <!--g id="test-grid" stroke="#cccccc" stroke-width="1" >\n         <line x1="10" y1="10.5" x2="470" y2="10.5"/>\n         <line x1="10" y1="20.5" x2="470" y2="20.5"/>\n         <line x1="10" y1="30.5" x2="470" y2="30.5"/>\n         <line x1="10" y1="40.5" x2="470" y2="40.5"/>\n         <line x1="10" y1="50.5" x2="470" y2="50.5"/>\n         <line x1="10" y1="60.5" x2="470" y2="60.5"/>\n         <line x1="10" y1="70.5" x2="470" y2="70.5"/>\n         <line x1="10" y1="80.5" x2="470" y2="80.5"/>\n         <line x1="10" y1="90.5" x2="470" y2="90.5"/>\n         <line x1="10" y1="100.5" x2="470" y2="100.5"/>\n         <line x1="10" y1="110.5" x2="470" y2="110.5"/>\n         <line x1="10" y1="120.5" x2="470" y2="120.5"/>\n         <line x1="10" y1="130.5" x2="470" y2="130.5"/>\n         <line x1="10" y1="140.5" x2="470" y2="140.5"/>\n         <line x1="10" y1="150.5" x2="470" y2="150.5"/>\n         <line x1="10" y1="160.5" x2="470" y2="160.5"/>\n         <line x1="10" y1="170.5" x2="470" y2="170.5"/>\n         <line x1="10" y1="180.5" x2="470" y2="180.5"/>\n         <line x1="10" y1="190.5" x2="470" y2="190.5"/>\n         <line x1="10" y1="200.5" x2="470" y2="200.5"/>\n         <line x1="10" y1="210.5" x2="470" y2="210.5"/>\n         <line x1="10" y1="220.5" x2="470" y2="220.5"/>\n         <line x1="10" y1="230.5" x2="470" y2="230.5"/>\n         <line x1="10" y1="240.5" x2="470" y2="240.5"/>\n         <line x1="10" y1="250.5" x2="470" y2="250.5"/>\n         <line x1="10" y1="260.5" x2="470" y2="260.5"/>\n         <line y1="10" x1="10.5" y2="260.5" x2="10.5"/>\n         <line y1="10" x1="20.5" y2="260.5" x2="20.5"/>\n         <line y1="10" x1="30.5" y2="260.5" x2="30.5"/>\n         <line y1="10" x1="40.5" y2="260.5" x2="40.5"/>\n         <line y1="10" x1="50.5" y2="260.5" x2="50.5"/>\n         <line y1="10" x1="60.5" y2="260.5" x2="60.5"/>\n         <line y1="10" x1="70.5" y2="260.5" x2="70.5"/>\n         <line y1="10" x1="80.5" y2="260.5" x2="80.5"/>\n         <line y1="10" x1="90.5" y2="260.5" x2="90.5"/>\n         <line y1="10" x1="100.5" y2="260.5" x2="100.5"/>\n         <line y1="10" x1="110.5" y2="260.5" x2="110.5"/>\n         <line y1="10" x1="120.5" y2="260.5" x2="120.5"/>\n         <line y1="10" x1="130.5" y2="260.5" x2="130.5"/>\n         <line y1="10" x1="140.5" y2="260.5" x2="140.5"/>\n         <line y1="10" x1="150.5" y2="260.5" x2="150.5"/>\n         <line y1="10" x1="160.5" y2="260.5" x2="160.5"/>\n         <line y1="10" x1="170.5" y2="260.5" x2="170.5"/>\n         <line y1="10" x1="180.5" y2="260.5" x2="180.5"/>\n         <line y1="10" x1="190.5" y2="260.5" x2="190.5"/>\n         <line y1="10" x1="200.5" y2="260.5" x2="200.5"/>\n         <line y1="10" x1="210.5" y2="260.5" x2="210.5"/>\n         <line y1="10" x1="220.5" y2="260.5" x2="220.5"/>\n         <line y1="10" x1="230.5" y2="260.5" x2="230.5"/>\n         <line y1="10" x1="240.5" y2="260.5" x2="240.5"/>\n         <line y1="10" x1="250.5" y2="260.5" x2="250.5"/>\n         <line y1="10" x1="260.5" y2="260.5" x2="260.5"/>\n         <line y1="10" x1="270.5" y2="260.5" x2="270.5"/>\n         <line y1="10" x1="280.5" y2="260.5" x2="280.5"/>\n         <line y1="10" x1="290.5" y2="260.5" x2="290.5"/>\n         <line y1="10" x1="300.5" y2="260.5" x2="300.5"/>\n         <line y1="10" x1="310.5" y2="260.5" x2="310.5"/>\n         <line y1="10" x1="320.5" y2="260.5" x2="320.5"/>\n         <line y1="10" x1="330.5" y2="260.5" x2="330.5"/>\n         <line y1="10" x1="340.5" y2="260.5" x2="340.5"/>\n         <line y1="10" x1="350.5" y2="260.5" x2="350.5"/>\n         <line y1="10" x1="360.5" y2="260.5" x2="360.5"/>\n         <line y1="10" x1="370.5" y2="260.5" x2="370.5"/>\n         <line y1="10" x1="380.5" y2="260.5" x2="380.5"/>\n         <line y1="10" x1="390.5" y2="260.5" x2="390.5"/>\n         <line y1="10" x1="400.5" y2="260.5" x2="400.5"/>\n         <line y1="10" x1="410.5" y2="260.5" x2="410.5"/>\n         <line y1="10" x1="420.5" y2="260.5" x2="420.5"/>\n         <line y1="10" x1="430.5" y2="260.5" x2="430.5"/>\n         <line y1="10" x1="440.5" y2="260.5" x2="440.5"/>\n         <line y1="10" x1="450.5" y2="260.5" x2="450.5"/>\n         <line y1="10" x1="460.5" y2="260.5" x2="460.5"/>\n         <line y1="10" x1="470.5" y2="260.5" x2="470.5"/>\n      </g-->\n      <!-- ====================================================================== -->\n      <!-- Now, test elementary transforms. For each transform, 3 markers are     -->\n      <!-- placed where the user space is expected after transformations for the  -->\n      <!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red).     -->\n      <!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->\n      <!-- going from (0, 0) to (0, 20), after applying the elementary            -->\n      <!-- transformation. If the test succeeds, the red line should join the     -->\n      <!-- black marker to the red marker and the blue line the black marker to   -->\n      <!-- the blue marker.                                                       -->\n      <!-- ====================================================================== -->\n      <g id="elementary-transforms-test" transform="translate(0, 10)">\n        <g id="elementary-transforms" transform="translate(-30, 0) scale(2.5, 2.5)">\n          <!-- Translate -->\n          <g transform="translate(50, 50)">\n            <rect x="0" y="0" width="20" height="2" fill="blue"/>\n            <rect x="0" y="0" width="2" height="20" fill="red"/>\n          </g>\n          <!-- Rotate -90 deg about (150, 70) -->\n          <g transform="translate(150, 70) rotate(-90)">\n            <rect x="0" y="0" width="20" height="2" fill="blue"/>\n            <rect x="0" y="0" width="2" height="20" fill="red"/>\n          </g>\n        </g>\n        <!-- elementary-transforms -->\n        <!-- Draw all the markers -->\n        <g id="elementary-transforms-test-markers" transform="translate(-30, 0) scale(2.5, 2.5)">\n          <!-- Translate -->\n          <text x="40" y="40">translate (50, 50)</text>\n          <rect x="48" y="48" width="5" height="5" fill="black"/>\n          <rect x="68" y="48" width="5" height="5" fill="blue"/>\n          <rect x="48" y="68" width="5" height="5" fill="red"/>\n          <!-- Rotate -90 deg about (150, 70) -->\n          <text x="140" y="40">rotate(-90)</text>\n          <rect x="148" y="68" width="5" height="5" fill="black"/>\n          <rect x="148" y="48" width="5" height="5" fill="blue"/>\n          <rect x="168" y="68" width="5" height="5" fill="red"/>\n        </g>\n        <!-- elementary-transforms-test-markers -->\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary  transforms.\n      </p>\n      <p>\n        The test uses the rect element, the fill color (solid primary colors) and transforms.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(0, 30)" font-size="12">\n      <!-- ====================================================================== -->\n      <!-- Now, test elementary transforms. For each transform, 3 markers are     -->\n      <!-- placed where the user space is expected after transformations for the  -->\n      <!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red).     -->\n      <!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->\n      <!-- going from (0, 0) to (0, 20), after applying the elementary            -->\n      <!-- transformation. If the test succeeds, the red line should join the     -->\n      <!-- black marker to the red marker and the blue line the black marker to   -->\n      <!-- the blue marker.                                                       -->\n      <!-- ====================================================================== -->\n      <g id="elementary-transforms-test" transform="translate(0, 10)">\n        <g id="elementary-transforms" transform="translate(-560, 0) scale(2.5, 2.5)">\n          <!-- Skew X -->\n          <g transform="translate(250, 50) skewX(45)">\n            <rect x="0" y="0" width="20" height="2" fill="blue"/>\n            <rect x="0" y="0" width="2" height="20" fill="red"/>\n          </g>\n          <!-- Skew Y -->\n          <g transform="translate(350, 50) skewY(45)">\n            <rect x="0" y="0" width="20" height="2" fill="blue"/>\n            <rect x="0" y="0" width="2" height="20" fill="red"/>\n          </g>\n        </g>\n        <!-- elementary-transforms -->\n        <!-- Draw all the markers -->\n        <g id="elementary-transforms-test-markers" transform="translate(-560, 0) scale(2.5, 2.5)">\n          <!-- Skew X -->\n          <text x="240" y="40">skew x (45)</text>\n          <rect x="248" y="48" width="5" height="5" fill="black"/>\n          <rect x="268" y="48" width="5" height="5" fill="blue"/>\n          <rect x="268" y="68" width="5" height="5" fill="red"/>\n          <!-- Skew Y -->\n          <text x="340" y="40">skew y (45)</text>\n          <rect x="348" y="48" width="5" height="5" fill="black"/>\n          <rect x="368" y="68" width="5" height="5" fill="blue"/>\n          <rect x="348" y="68" width="5" height="5" fill="red"/>\n        </g>\n        <!-- elementary-transforms-test-markers -->\n      </g>\n      <!-- nested-transforms test -->\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-04-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-04-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary transforms.\n      </p>\n      <p>\n        The test uses the rect element, the fill color (solid primary colors) and transforms.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-04-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(0, 30)" font-size="12">\n      <!-- ====================================================================== -->\n      <!-- Now, test elementary transforms. For each transform, 3 markers are     -->\n      <!-- placed where the user space is expected after transformations for the  -->\n      <!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red).     -->\n      <!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->\n      <!-- going from (0, 0) to (0, 20), after applying the elementary            -->\n      <!-- transformation. If the test succeeds, the red line should join the     -->\n      <!-- black marker to the red marker and the blue line the black marker to   -->\n      <!-- the blue marker.                                                       -->\n      <!-- ====================================================================== -->\n      <g id="elementary-transforms-test">\n        <g id="elementary-transforms" transform="translate(60, 45) scale(2.5, 2.5)">\n          <!-- Scale 2 -->\n          <g transform="translate(40, 10) scale(2)">\n            <rect x="0" y="0" width="20" height="1" fill="blue"/>\n            <rect x="0" y="0" width="1" height="20" fill="red"/>\n          </g>\n        </g>\n        <!-- elementary-transforms -->\n        <!-- Draw all the markers -->\n        <g id="elementary-transforms-test-markers" transform="translate(-364, -230) scale(2.5, 2.5)">\n          <!-- Scale 2 -->\n          <text x="200" y="110">scale (2)</text>\n          <rect x="208" y="118" width="5" height="5" fill="black"/>\n          <rect x="248" y="118" width="5" height="5" fill="blue"/>\n          <rect x="208" y="158" width="5" height="5" fill="red"/>\n        </g>\n        <!-- elementary-transforms-test-markers -->\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-05-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: coords-trans-05-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary  transforms.\n      </p>\n      <p>\n        The test uses the rect element, the fill color (solid primary colors) and transforms.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-05-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(0, 30)" font-size="12">\n      <!-- ====================================================================== -->\n      <!-- Now, test elementary transforms. For each transform, 3 markers are     -->\n      <!-- placed where the user space is expected after transformations for the  -->\n      <!-- origin (black) and the points in (20, 0) (blue) and (0, 20) (red).     -->\n      <!-- Then, a blue line going from (0, 0) to (20, 0) is drawn and a red line -->\n      <!-- going from (0, 0) to (0, 20), after applying the elementary            -->\n      <!-- transformation. If the test succeeds, the red line should join the     -->\n      <!-- black marker to the red marker and the blue line the black marker to   -->\n      <!-- the blue marker.                                                       -->\n      <!-- ====================================================================== -->\n      <g id="nested-transforms-test">\n        <g id="nested-transforms" transform="translate(-90, -450)">\n          <!-- scale/translate in transform attribute -->\n          <g transform="scale(7.5, 5) translate(16.666667, 105)">\n            <rect x="0" y="0" width="20" height="1" fill="blue"/>\n            <rect x="0" y="0" width="0.67" height="20" fill="red"/>\n          </g>\n        </g>\n        <!-- nested-transforms -->\n        <g id="nested-transforms-test-markers" transform="translate(-90, -450) scale(2.5, 2.5)">\n          <!-- scale and translate -->\n          <text x="40" y="200">scale(25, 95) - translate(2, 2)</text>\n          <rect x="48" y="208" width="5" height="5" fill="black"/>\n          <rect x="108" y="208" width="5" height="5" fill="blue"/>\n          <rect x="48" y="248" width="5" height="5" fill="red"/>\n        </g>\n        <!-- nested-transforms-test-markers -->\n      </g>\n      <!-- nested-transforms test -->\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-06-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-06-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary  transforms.\n      </p>\n      <p>\n        The test uses the rect element, the fill color (solid primary colors) and transforms.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-06-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(0, 30)" font-size="12">\n      <g id="nested-transforms-test">\n        <g id="nested-transforms">\n          <!-- scale/translate in successive elements -->\n          <g transform="translate(-102, -450)">\n            <g transform="scale(7.5, 5)">\n              <g transform="translate(16.666667, 105)">\n                <rect x="0" y="0" width="20" height="1" fill="blue"/>\n                <rect x="0" y="0" width="0.67" height="20" fill="red"/>\n              </g>\n            </g>\n          </g>\n        </g>\n        <!-- nested-transforms -->\n        <g id="nested-transforms-test-markers" transform="translate(-600, -450) scale(2.5, 2.5)">\n          <!-- scale then translate -->\n          <text x="248" y="200">scale(25, 95) then translate(2, 2)</text>\n          <rect x="248" y="208" width="5" height="5" fill="black"/>\n          <rect x="308" y="208" width="5" height="5" fill="blue"/>\n          <rect x="248" y="248" width="5" height="5" fill="red"/>\n        </g>\n        <!-- nested-transforms-test-markers -->\n      </g>\n      <!-- nested-transforms test -->\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-07-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="OA" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-07-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary  transforms.\n      </p>\n      <p>\n        The test uses the rect element, the fill color (solid primary colors) and transforms.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text - a long blue line at four o\'clock and a short red line at seven o\'clock below the text "translate+rotate", and, below and to the left of that, a long green line at four o\'clock and a short red line at seven o\'clock below the text "rotate+translate".\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-07-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="elementary-transforms-test">\n      <g id="object_1" transform="rotate(30) translate(200, 100)">\n        <rect x="0" y="0" width="150" height="5" fill="green"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="65" y="185" font-size="20">rotate+translate</text>\n\n      <g id="object_2" transform="translate(200,100) rotate(30)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="150" y="100" font-size="20">translate+rotate</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-08-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="OA" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-08-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary  transforms.\n      </p>\n      <p>\n        This test will check if the transfomations performed are carried out in the proper order. The result should differ depending on which transformation comes first.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-08-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="elementary-transforms-test">\n      <g id="object_1" transform="skewX(45) skewY(45)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n        <rect x="150" y="0" width="5" height="50" fill="black"/>\n        <rect x="0" y="50" width="150" height="5" fill="black"/>\n        <ellipse rx="40" ry="15" cx="75" cy="25" fill="purple"/>\n      </g>\n      <text x="30" y="16" font-size="12">skewX(45)+skewY(45)</text>\n\n      <g id="object_2" transform="translate(200,0) skewY(45) skewX(45)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n        <rect x="150" y="0" width="5" height="50" fill="black"/>\n        <rect x="0" y="50" width="150" height="5" fill="black"/>\n        <ellipse rx="40" ry="15" cx="75" cy="25" fill="purple"/>\n      </g>\n      <text x="230" y="16" font-size="12">skewY(45)+skewX(45)</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-09-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="OA" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-09-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        This test verifies the implementation of transforms. It tests elementary transforms\n        and transform nesting.\n        Note that for layout purposes, this test uses nesting of translation with the elementary  transforms.\n      </p>\n      <p>\n        This test will check if the various matrix operations work\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-09-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="elementary-transforms-test">\n\n      <g transform="matrix(0 0 0 0 0 0)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="6" y="20" font-size="20">matrix(0 0 0 0 0 0)</text>\n\n      <g transform="matrix(1 0 0 1 100 100)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="100" y="100" font-size="20">matrix(1 0 0 1 100 100)</text>\n\n      <g transform="matrix(1.5 0 0 1.5 70 60)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="70" y="60" font-size="20">matrix(1.5 0 0 1.5 70 60)</text>\n\n      <g transform="matrix(1 0 0.5 1 30 170)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="30" y="170" font-size="20">matrix(1 0 0.5 1 30 170)</text>\n\n      <g transform="matrix(1 0.5 0 1 100 200)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="100" y="200" font-size="20">matrix(1 0.5 0 1 100 200)</text>\n\n      <g transform="matrix(0 1 -1 0 450 0)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="275" y="30" font-size="20">matrix(0 1 -1 0 450 0)</text>\n\n      <g transform="matrix(1 0.8 0.8 1 300 220)">\n        <rect x="0" y="0" width="150" height="5" fill="blue"/>\n        <rect x="0" y="0" width="5" height="50" fill="red"/>\n      </g>\n      <text x="230" y="220" font-size="20">matrix(1 0.8 0.8 1 300 220)</text>\n\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-10-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: coords-trans-10-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        Translation is equivalent to the matrix [1 0 0 1 tx ty], where \'tx\'\n        and \'ty\' are the distances to translate coordinates in X and Y\n        respectively.  The test overlays a group of black graphics elements\n        with a \'translate\' transform specified on top of an identical group\n        of red elements with the equivalent \'matrix\' transform and vice\n        versa.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n         Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-10-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="translate(40 20)" fill="red">\n        <path d="M 20 20 L 70 20 L 45 60 z" /> \n        <ellipse cx="120" cy="35" rx="30" ry="10" />\n        <text x="160" y="40">Filler Text</text>\n        <rect x="250" y="20" width="30" height="50" />\n        <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n    </g>\n    <g transform="matrix(1 0 0 1 40 20)" fill="black" stroke="black">\n        <path d="M 20 20 L 70 20 L 45 60 z" /> \n        <ellipse cx="120" cy="35" rx="30" ry="10" />\n        <text x="160" y="40">Filler Text</text>\n        <rect x="250" y="20" width="30" height="50" />\n        <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n    </g>\n    <g transform="translate(0 100)">\n        <g transform="matrix(1 0 0 1 40 20)" fill="red">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n        <g transform="translate(40 20)" fill="black" stroke="black">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-11-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: coords-trans-11-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        Scaling is equivalent to the matrix [sx 0 0 xy 0 0], where one unit in the X and Y directions in the new coordinate system equals \'sx\' and \'sy\' units in the previous coordinate system respectively.The test  overlays a group of black graphics elements with a \'scale\' transform specified on top of an identical group of red elements\n        with the equivalent \'matrix\' transform and vice versa. \n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-11-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="scale(1.2 2.5)" fill="red">\n        <path d="M 20 20 L 70 20 L 45 60 z" /> \n        <ellipse cx="120" cy="35" rx="30" ry="10" />\n        <text x="160" y="40">Filler Text</text>\n        <rect x="250" y="20" width="30" height="50" />\n        <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n    </g>\n    <g transform="matrix(1.2 0 0 2.5 0 0)" fill="black" stroke="black">\n        <path d="M 20 20 L 70 20 L 45 60 z" /> \n        <ellipse cx="120" cy="35" rx="30" ry="10" />\n        <text x="160" y="40">Filler Text</text>\n        <rect x="250" y="20" width="30" height="50" />\n        <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n    </g>\n    <g transform="translate(0 150)">\n        <g transform="matrix(1.2 0 0 2.5 0 0)" fill="red">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n        <g transform="scale(1.2 2.5)" fill="black" stroke="black">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-12-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-12-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        Rotation about the origin is equivalent to the matrix [cos(a) sin(a) -sin(a) cos(a) 0 0], which has the effect of rotating the coordinate system axes by angle \'a\'. The test overlays a group of black graphics elements with a \'rotate\' transform specified on top of an identical group of red elements\n        with the equivalent \'matrix\' transform and vice versa.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n	Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-12-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="translate(200)">\n        <g transform="rotate(90)" fill="red">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n        <g transform="matrix(0 1 -1 0 0 0)" fill="black" stroke="black">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n    </g>\n    <g transform="translate(310)">\n        <g transform="matrix(0 1 -1 0 0 0)" fill="red">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n        <g transform="rotate(90)" fill="black" stroke="black">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-13-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-13-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        A skew transformation along the x-axis is equivalent to the matrix [1 0 tan(a) 1 0 0], which has the effect of skewing X coordinates by angle \'a\'.\nThe test overlays a group of black graphics elements with a \'skewX\' transform specified on top of an identical group of red elements\n        with the equivalent \'matrix\' transform and vice versa. \n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n	Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-13-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="skewX(45)" fill="red">\n        <path d="M 20 20 L 70 20 L 45 60 z" /> \n        <ellipse cx="120" cy="35" rx="30" ry="10" />\n        <text x="160" y="40">Filler Text</text>\n        <rect x="250" y="20" width="30" height="50" />\n        <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n    </g>\n    <g transform="matrix(1 0 1 1 0 0)" fill="black" stroke="black">\n        <path d="M 20 20 L 70 20 L 45 60 z" /> \n        <ellipse cx="120" cy="35" rx="30" ry="10" />\n        <text x="160" y="40">Filler Text</text>\n        <rect x="250" y="20" width="30" height="50" />\n        <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n    </g>\n    <g transform="translate(0 150)">\n        <g transform="matrix(1 0 1 1 0 0)" fill="red">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n        <g transform="skewX(45)" fill="black" stroke="black">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-trans-14-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-trans-14-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#EstablishingANewUserSpace">\n      <p>\n        A skew transformation along the y-axis is equivalent to the matrix [1 tan(a) 0 1 0 0], which has the effect of skewing Y coordinates by angle \'a\'.\nThe test overlays a group of black graphics elements with a \'skewY\' transform specified on top of an identical group of red elements\n        with the equivalent \'matrix\' transform and vice versa.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n	Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-trans-14-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="scale(0.75) rotate(-20)">\n        <g transform="skewY(45)" fill="red">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n        <g transform="matrix(1 1 0 1 0 0)" fill="black" stroke="black">\n            <path d="M 20 20 L 70 20 L 45 60 z" /> \n            <ellipse cx="120" cy="35" rx="30" ry="10" />\n            <text x="160" y="40">Filler Text</text>\n            <rect x="250" y="20" width="30" height="50" />\n            <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n        </g>\n        <g transform="translate(0 150)">\n            <g transform="matrix(1 1 0 1 0 0)" fill="red">\n                <path d="M 20 20 L 70 20 L 45 60 z" /> \n                <ellipse cx="120" cy="35" rx="30" ry="10" />\n                <text x="160" y="40">Filler Text</text>\n                <rect x="250" y="20" width="30" height="50" />\n                <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n            </g>\n            <g transform="skewY(45)" fill="black" stroke="black">\n                <path d="M 20 20 L 70 20 L 45 60 z" /> \n                <ellipse cx="120" cy="35" rx="30" ry="10" />\n                <text x="160" y="40">Filler Text</text>\n                <rect x="250" y="20" width="30" height="50" />\n                <line x1="310" y1="20" x2="350" y2="70" stroke-width="5" />\n            </g>\n        </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-transformattr-01-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-transformattr-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#TransformAttribute">\n      <p>\n        Tests that separating transform definitions by whitespace and/or a comma is supported. The test draws a red \'rect\' element with a valid, non-delimited transform list. It overlays it with an identical black rectangle with\n        equivalent transform list delimted by commas and numerical Unicode references of space (U+0020), tab (U+0009), carriage\n        return (U+000D), line feed (U+000A), and combination of all five, \nso that no red is visible.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-transformattr-01-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">\n        <rect x="0" y="0" width="100" height="100" fill="red" />\n    </g>\n    <g transform="translate(50 50),rotate(45),skewX(15),scale(0.8)">\n        <rect x="0" y="0" width="100" height="100" stroke="black"/>\n    </g>\n    <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">\n        <rect x="125" y="125" width="100" height="100" fill="red" />\n    </g>\n    <g transform="translate(50 50)&#x0020;rotate(45)&#x0020;&#x0020;skewX(15)&#x0020;&#x0020;&#x0020;&#x0020;&#x0020;scale(0.8)">\n        <rect x="125" y="125" width="100" height="100" stroke="black"/>\n    </g>\n    <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">\n        <rect x="150" y="-75" width="100" height="100" fill="red" />\n    </g>\n    <g transform="translate(50 50)&#x0009;rotate(45)&#x0009;&#x0009;skewX(15)&#x0009;&#x0009;&#x0009;&#x0009;&#x0009;scale(0.8)">\n        <rect x="150" y="-75" width="100" height="100" stroke="black"/>\n    </g>\n    <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">\n        <rect x="300" y="-150" width="100" height="100" fill="red" />\n    </g>\n    <g transform="translate(50 50)&#x000D;rotate(45)&#x000D;&#x000D;skewX(15)&#x000D;&#x000D;&#x000D;&#x000D;&#x000D;scale(0.8)">\n        <rect x="300" y="-150" width="100" height="100" stroke="black"/>\n    </g>\n    <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">\n        <rect x="400" y="-325" width="100" height="100" fill="red" />\n    </g>\n    <g transform="translate(50 50)&#x000A;rotate(45)&#x000A;&#x000A;skewX(15)&#x000A;&#x000A;&#x000A;&#x000A;&#x000A;scale(0.8)">\n        <rect x="400" y="-325" width="100" height="100" stroke="black"/>\n    </g>\n    <g transform="translate(50 50)rotate(45)skewX(15)scale(0.8)">\n        <rect x="500" y="-200" width="100" height="100" fill="red" />\n    </g>\n    <g transform="translate(50 50),rotate(45)&#x0020;&#x0009;skewX(15)&#x000D;&#x000A;scale(0.8)">\n        <rect x="500" y="-200" width="100" height="100" stroke="black"/>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-transformattr-02-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: coords-transformattr-02-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#TransformAttribute">\n      <p>\n        If a list of transforms is provided, then the net effect is as if each transform had been specified separately in the order provided.\n      </p>\n<p>        The test overlays a black \'rect\' with transform list on top of an equivalent red \'rect\' with equivalent nested transforms, and vice\n        versa, so that there is no red visible on the page.</p>p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-transformattr-02-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="translate(150)">\n        <g transform="translate(-10,-20) scale(2) rotate(45) translate(5,10)">\n            <rect width="50" height="50" fill="red" />\n            <circle cx="50" cy="50" r="25" fill="red" />\n            <line x1="50" y1="50" x2="100" y2="100" stroke="red" stroke-width="10" />\n        </g>\n        <g transform="translate(-10,-20)">\n            <g transform="scale(2)">\n                <g transform="rotate(45)">\n                    <g transform="translate(5,10)">\n                        <rect width="50" height="50" />\n                        <circle cx="50" cy="50" r="25" />\n                        <line x1="50" y1="50" x2="100" y2="100" stroke="black" stroke-width="10" />\n                    </g>\n                </g>\n            </g>\n        </g>\n        <g transform="translate(200)">\n            <g transform="translate(-10,-20)">\n                <g transform="scale(2)">\n                    <g transform="rotate(45)">\n                        <g transform="translate(5,10)">\n                            <rect width="50" height="50" fill="red" />\n                            <circle cx="50" cy="50" r="25" fill="red" />\n                            <line x1="50" y1="50" x2="100" y2="100" stroke="red" stroke-width="10" />\n                        </g>\n                    </g>\n                </g>\n            </g>\n            <g transform="translate(-10,-20) scale(2) rotate(45) translate(5,10)">\n                <rect width="50" height="50" />\n                <circle cx="50" cy="50" r="25" />\n                <line x1="50" y1="50" x2="100" y2="100" stroke="black" stroke-width="10" />\n            </g>\n        </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-transformattr-03-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="accepted" version="$Revision: 1.3 $" testname="$RCSfile: coords-transformattr-03-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/coords.html#TransformAttribute">\n      <p>\n        If \'ty\' is not specified for a \'translate\' transform, it is assumed to be zero.\n      </p>\n      <p>\n        Specify a series of various red graphics elements. Specify an equivalent series of black graphics elements that are defined to have positions\n        that are shifted \'10\' user units to the right of the red graphics elements. Specify a \'transform\' value of \'translate\' with only the \'tx\' value\n        specified  (i.e., \'translate(10)\'). If the \'ty\' parameter takes the default value of \'0\' user units, there will be no red on the page.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n			<p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-transformattr-03-f.svg,v $</title>\n    <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <rect x="10" width="100" height="200" fill="red" />\n    <rect transform="translate(10)" width="100" height="200" />\n    <ellipse cx="170" cy="100" rx="50" ry="100" fill="red" />\n    <ellipse transform="translate(10)" cx="160" cy="100" rx="50" ry="100" />\n    <line x1="230" x2="330" y1="10" y2="200" stroke="red" stroke-width="10" />\n    <line transform="translate(10)" x1="220" x2="320" y1="10" y2="200" stroke="black" stroke-width="10" />\n    <path d="M 340 0 L 440 0 390 200 Z" fill="red" />\n    <path transform="translate(10)" d="M 330 0 L 430 0 380 200 Z" fill="black" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'coords-transformattr-04-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="accepted" version="$Revision: 1.3 $" testname="$RCSfile: coords-transformattr-04-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/coords.html#TransformAttribute">\n      <p>\n        If \'sy\' is not specified for a \'scale\' transform, it is assumed to be equal to \'sx\'.\n      </p>\n      <p>\n        Specify a series of various red graphics elements. Specify an equivalent series of black graphics elements that are defined to have dimensions\n        that are half the size as the red elements. Specify a \'transform\' value of \'scale\' with only the \'sx\' value specified  (i.e., \'scale(2)\'). If the \'sy\'\n        parameter takes the same value as the \'sx\', there will be no red on the page. \n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n			<p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-transformattr-04-f.svg,v $</title>\n    <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <rect width="100" height="200" fill="red" />\n    <rect transform="scale(2)" width="50" height="100" />\n    <ellipse cx="160" cy="100" rx="50" ry="100" fill="red" />\n    <ellipse transform="scale(2)" cx="80" cy="50" rx="25" ry="50" />\n    <line x1="220" x2="320" y1="10" y2="200" stroke="red" stroke-width="10" />\n    <line transform="scale(2)" x1="110" x2="160" y1="5" y2="100" stroke="black" stroke-width="5" />\n    <path d="M 330 0 L 430 0 380 200 Z" fill="red" />\n    <path transform="scale(2)" d="M 165 0 L 215 0 190 100 Z" fill="black" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'coords-transformattr-05-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="accepted" version="$Revision: 1.4 $" testname="$RCSfile: coords-transformattr-05-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/coords.html#TransformAttribute">\n      <p>\n        If \'cx\' and \'cy\' are not specified for a \'rotate\' transform, the rotation is about the origin of the current user coordinate system and thus corresponds to the matrix [cos(a) sin(a) -sin(a) cos(a) 0 0].\n      </p>\n      <p>\n        Specify a series of various black graphics elements inside a \'g\' element with \'transform\' set to a \'rotate\' value with unspecified \'cx\'\n        and \'cy\' parameters (i.e., \'rotate(15)\'). Specify an equivalent series of red graphics elements inside a \'g\' element with \'transform\' set\n        to a \'matrix\' value which would rotate the elements 15 degrees about the point (0,0) of the current user coordinate system. If the \'g\' element containing the black elements correctly rotates its content by 15 degrees around the origin of the current user coordinate system, there will be no red on the page.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n	<p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n            \n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-transformattr-05-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(50 15)">\n        <g transform="matrix(0.96592582628906829 0.25881904510252076 -0.25881904510252076 0.96592582628906829 0 0)">\n            <rect x="10" width="100" height="200" fill="red" />\n            <ellipse cx="170" cy="100" rx="50" ry="100" fill="red" />\n            <line x1="230" x2="330" y1="10" y2="200" stroke="red" stroke-width="10" />\n            <path d="M 340 0 L 440 0 390 200 Z" fill="red" />\n        </g>\n        <g transform="rotate(15)">\n            <rect transform="translate(10)" width="100" height="200" />\n            <ellipse transform="translate(10)" cx="160" cy="100" rx="50" ry="100" />\n            <line transform="translate(10)" x1="220" x2="320" y1="10" y2="200" stroke="black" stroke-width="10" />\n            <path transform="translate(10)" d="M 330 0 L 430 0 380 200 Z" fill="black" />\n        </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>'},
  {name: 'coords-units-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: coords-units-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#Units">\n      <p>\n        Verify the conversion processing of percentage and fraction values relative to\n        object bounding boxes. This is used when defining linear and radial gradients\n        as well as patterns.\n      </p>\n      <p>\n        The test validates conversion for coordinates, width, height and length. The first\n        test defines three corresponding linear gradients, which specify coordinates\n        using percentages for one, fractions for the second and user coordinates for the\n        third. The second test defines three corresponding radial gradients, which specify\n        a length (radius) using percentages for the first, fractions for the second and\n        user space for the third. Finally, the third test defines three corresponding patterns,\n        which specify their width and height using percentages for the first, fractions for the\n        second and user space coordinates for the last one.\n      </p>\n      <p>\n        The test also assumes that linear and radial gradients,\n        as well as patterns are implemented.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered image should match the reference image.  Also, the text may\n        show minor differences, per CSS2 rules for font selection and matching.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-units-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-size="14">\n      <!-- ==================================================================== -->\n      <!-- The following gradients will be used to fill a rectangle with the    -->\n      <!-- following geometry in User space: x=0, y=0, width=50 height=20       -->\n      <!-- The gradient vector, in linearBoundingBox, is defined as: (0%, 0%)   -->\n      <!-- to (100%, 0%).                                                       -->\n      <!-- The gradient vector, in linearBoundingBoxFraction, is defined as:    -->\n      <!-- (0, 0) to (1, 0), which is equivalent.                               -->\n      <!-- According to the spec, for our rectangle, this corresponds to the    -->\n      <!-- following user space coordinates:                                    -->\n      <!-- (0%, 0%) becomes (0, 0) and (100%, 0%) becomes (20, 0)               -->\n      <!-- These values are used to define the linearUserSpace gradient.        -->\n      <!-- If the test succeeds, all the gradient should fill the rectangles    -->\n      <!-- the same way                                                         -->\n      <!-- ==================================================================== -->\n      <linearGradient id="linearBoundingBoxPercentage" gradientUnits="objectBoundingBox" x1="0%" y1="0%" x2="100%" y2="0%">\n        <stop stop-color="fuchsia" offset="0"/>\n        <stop stop-color="blue" offset="1"/>\n      </linearGradient>\n      <linearGradient id="linearBoundingBoxFraction" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0">\n        <stop stop-color="fuchsia" offset="0"/>\n        <stop stop-color="blue" offset="1"/>\n      </linearGradient>\n      <linearGradient id="linearUserSpace" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="50" y2="0">\n        <stop stop-color="fuchsia" offset="0"/>\n        <stop stop-color="blue" offset="1"/>\n      </linearGradient>\n      <!-- Draw Text Comment -->\n      <text x="30" y="30">Bounding box relative coordinates (percentage and fraction)</text>\n      <g transform="translate(30, 40)">\n        <rect x="0" y="0" width="50" height="20" fill="url(#linearBoundingBoxPercentage)"/>\n        <rect x="0" y="0" width="50" height="20" transform="translate(0, 20)" fill="url(#linearBoundingBoxFraction)"/>\n        <rect x="0" y="0" width="50" height="20" transform="translate(0, 40)" fill="url(#linearUserSpace)"/>\n        <line x1="0" y1="20" x2="50" y2="20" stroke="#cccccc" stroke-width="1"/>\n        <line x1="0" y1="40" x2="50" y2="40" stroke="#cccccc" stroke-width="1"/>\n        <text x="60" y="15">Percentage</text>\n        <text x="60" y="35">Fraction</text>\n        <text x="60" y="55">User Space</text>\n      </g>\n      <!-- ==================================================================== -->\n      <!-- The following gradients will be used to fill a rectangle with the    -->\n      <!-- following geometry in User space: x=0, y=0, width=60 height=60       -->\n      <!-- The radial gradient outmost circle, in radialBoundingBox, is defined -->\n      <!-- as: cx=25% cy=25% r=25%                                              -->\n      <!-- The radial gradient outmost circle, in radialBoundingBoxFraction, is -->\n      <!-- defined as: cx=0.25 cy=0.25 and r=0.25                               -->\n      <!-- These two definition, for our rectangle, should be identical to the  -->\n      <!-- following radial gradient outmost circle, in radialUserSpace:        -->\n      <!-- cx=15 cy=15 r=15                                                     -->\n      <!-- ==================================================================== -->\n      <radialGradient id="radialBoundingBoxPercentage" gradientUnits="objectBoundingBox" cx="25%" cy="25%" r="25%" fx="25%" fy="25%">\n        <stop stop-color="fuchsia" offset="0"/>\n        <stop stop-color="blue" offset="1"/>\n      </radialGradient>\n      <radialGradient id="radialBoundingBoxFraction" gradientUnits="objectBoundingBox" cx="0.25" cy="0.25" r="0.25" fx="0.25" fy="0.25">\n        <stop stop-color="fuchsia" offset="0"/>\n        <stop stop-color="blue" offset="1"/>\n      </radialGradient>\n      <radialGradient id="radialUserSpace" gradientUnits="userSpaceOnUse" cx="15" cy="15" r="15" fx="15" fy="15">\n        <stop stop-color="fuchsia" offset="0"/>\n        <stop stop-color="blue" offset="1"/>\n      </radialGradient>\n      <!-- Draw Text Comment -->\n      <text x="30" y="130">Bounding box relative length (percentage and fraction)</text>\n      <g transform="translate(30, 140)">\n        <rect x="0" y="0" width="60" height="60" fill="url(#radialBoundingBoxPercentage)"/>\n        <rect x="0" y="0" width="60" height="60" transform="translate(61, 0)" fill="url(#radialBoundingBoxFraction)"/>\n        <rect x="0" y="0" width="60" height="60" transform="translate(122, 0)" fill="url(#radialUserSpace)"/>\n        <text x="0" y="73">Percent.</text>\n        <text x="61" y="73">Fraction</text>\n        <text x="122" y="73">User Space</text>\n      </g>\n      <!-- ==================================================================== -->\n      <!-- The following patterns will be used to fill a rectangle, with the    -->\n      <!-- following geometry in User space: x=0, y=0, width=50 height=30       -->\n      <!-- The pattern tile, in patterBoundingBoxPercentage, is defined as:     -->\n      <!-- x=25% y=25% width=50% height=50%                                     -->\n      <!-- The pattern tile, in patternBoundingBoxFraction, is defined as:      -->\n      <!-- x=0.25 y=0.25 width=0.50 height=0.50                                 -->\n      <!-- For our test rectangle, both correspond to the following User space  -->\n      <!-- coordinates: x=12.5 y=7.5 width=25 height=15                         -->\n      <!-- These coordinates are use to define the patternUserSpace tile        -->\n      <!-- ==================================================================== -->\n      <pattern id="patternBoundingBoxPercentage" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox" x="25%" y="25%" width="50%" height="50%">\n        <circle cx="0.50" cy="0.50" r="0.25" fill="fuchsia"/>\n        <rect x="0.4" y="0.4" width=".2" height=".2" fill="blue"/>\n      </pattern>\n      <pattern id="patternBoundingBoxFraction" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox" x="0.25" y="0.25" width="0.50" height="0.50">\n        <circle cx="0.50" cy="0.50" r="0.25" fill="fuchsia"/>\n        <rect x="0.4" y="0.4" width=".2" height=".2" fill="blue"/>\n      </pattern>\n      <pattern id="patternUserSpace" patternUnits="userSpaceOnUse" patternContentUnits="userSpaceOnUse" x="12.5" y="7.5" width="25" height="15">\n        <circle id="patternContent" cx="25" cy="15" r="10" fill="fuchsia"/>\n        <rect x="20" y="12" width="10" height="6" fill="blue"/>\n      </pattern>\n      <!-- Draw Text Comment -->\n      <text x="30" y="240">Bounding box relative width/height (percentage and fraction)</text>\n      <g transform="translate(30, 250)">\n        <rect x="0" y="0" width="50" height="30" fill="url(#patternBoundingBoxPercentage)" stroke="black"/>\n        <rect x="0" y="0" width="50" height="30" transform="translate(150, 0)" fill="url(#patternBoundingBoxFraction)" stroke="black"/>\n        <rect x="0" y="0" width="50" height="30" transform="translate(300, 0)" fill="url(#patternUserSpace)" stroke="black"/>\n        <text x="60" y="20">Percentage</text>\n        <text x="210" y="20">Fraction</text>\n        <text x="360" y="20">User Space</text>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-units-02-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: coords-units-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#Units">\n      <p>\n        Verify the conversion processing of CSS units and percentage values for both\n        coordinates and length values. Note that the test uses the CSS px unit to be usable\n        in all pixel resolutions. Hence, the conversion from other CSS units to CSS px is\n        left out of the test.\n      </p>\n      <p>\n        There are six atomic tests in this test. For each, the approach is to draw two similar\n        elements (circles or rects) with coordinates specified in user space for one and in\n        CSS units or percentage for the other. Each test is such that these two values (or\n        value pairs) should match.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n        In the first two tests, that validate coordinate processing, the circles\n        should have the same center. In the following two tests, the rectangles should have\n        the same height and width. And finally, in the last test, the 3 skewed circles should have the\n        same radius.\n      </p>\n      <p>\n        The rendered image should match the reference image except for the text which may\n        show minor differences, per CSS2 rules for font selection and matching.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-units-02-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-size="13pt">\n      <!-- ==================================================================== -->\n      <!-- First test, converting CSS coordinates to user space.                -->\n      <!-- If implemented properly, the pink marker should appear on top of     -->\n      <!-- the black marker.                                                    -->\n      <!-- ==================================================================== -->\n      <!-- Draw Text Comment -->\n      <text x="60" y="35">CSS pixel coordinate to user space conversion</text>\n      <g transform="translate(5, 0) scale(4)">\n        <!-- Draw marker using user space units -->\n        <circle cx="7.5" cy="7.5" r="2.5" fill="black"/>\n        <!-- Draw CSS marker using px units -->\n        <circle cx="7.5px" cy="7.5px" r="1.5px" fill="fuchsia"/>\n      </g>\n      <!-- ==================================================================== -->\n      <!-- Same test, using percentage values for the coordinates               -->\n      <!-- ==================================================================== -->\n      <!-- Draw Text Comment -->\n      <text x="60" y="85">Percentage coordinates to user space conversion</text>\n      <g transform="translate(5, 50) scale(4)">\n        <!-- Draw marker using user space units -->\n        <circle cx="7.5" cy="7.5" r="2.5" fill="black"/>\n        <!-- Draw marker using percentages: 7.5 = 1.563% of 480 (cx)      -->\n        <!-- Draw marker using percentages: 7.5 = 2.083% of 360 (cy)      -->\n        <circle cx="1.563%" cy="2.083%" r=".3535%" fill="fuchsia"/>\n      </g>\n      <!-- ==================================================================== -->\n      <!-- Second test, converting CSS width and height to user space.          -->\n      <!-- If implemented properly, the link marker should appear bellow the    -->\n      <!-- black one and have the same size                                     -->\n      <!-- ==================================================================== -->\n      <!-- Draw Text Comment -->\n      <text x="60" y="140">CSS width/height to user space conversion</text>\n      <g transform="translate(30, 115) scale(4)">\n        <!-- Draw marker using user space units -->\n        <rect x="-5" y="0" width="10" height="5" fill="black"/>\n        <!-- Draw CSS marker using px units -->\n        <rect x="-5" y="5" width="10px" height="5px" fill="fuchsia"/>\n      </g>\n      <!-- ==================================================================== -->\n      <!-- Same test, using percentage values for the length                    -->\n      <!-- ==================================================================== -->\n      <!-- Draw Text Comment -->\n      <text x="60" y="200">Percentage width/height to user space conversion</text>\n      <g transform="translate(30, 175) scale(4)">\n        <!-- Draw marker using user space units -->\n        <rect x="-5" y="0" width="10" height="5" fill="black"/>\n        <!-- Draw CSS marker using percentages: 5*2  = 10 = 2.083% of 480  -->\n        <!--                                  2.5*2  =  5 = 1.389% of 360  -->\n        <rect x="-5" y="5" width="2.083%" height="1.389%" fill="fuchsia"/>\n      </g>\n      <!-- ==================================================================== -->\n      <!-- Third test, converting CSS arbitrary length to user space .          -->\n      <!-- If implemented properly, the three circles which are side by side    -->\n      <!-- should have the same radius                                          -->\n      <!-- ==================================================================== -->\n      <!-- Draw Text Comment -->\n      <text x="140" y="265">CSS and percentage length conversion</text>\n      <g transform="translate(30, 260)  skewX(45) scale(4)">\n        <!-- Draw marker using user space units -->\n        <circle cx="0" cy="0" r="3.536" fill="black"/>\n        <!-- Draw CSS marker using px units.                                    -->\n        <circle cx="10" cy="0" r="3.536px" fill="fuchsia"/>\n        <!-- Draw marker using percentages. This should yield a value of 3.536  -->\n        <!-- in user space. 3.536 = .8334% of 424.268px                              -->\n        <circle cx="20" cy="0" r=".8334%" fill="green"/>\n        <!-- Draw control lines at the top and bottom of the circles            -->\n        <line x1="-3.536" y1="-3.536" x2="25" y2="-3.536" fill="none" stroke="#cccccc" stroke-width=".5"/>\n        <line x1="-3.536" y1="3.536" x2="25" y2="3.536" fill="none" stroke="#cccccc" stroke-width=".5"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-units-03-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: coords-units-03-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#Units">\n      <p>\n        This test verifies both the initial viewport size and the support for the various\n        unit specifiers.\n      </p>\n      <p>\n        The units in SVG can be: user coordinate and CSS units: em, ex, px, pt, pc, cm, mm,\n        in and percentages. The test does not check the absolute length accuracy as this\n        can only be truly validated with a ruler. However, it validates that the different\n        units are supported by drawing multiple elements who have the same length specified\n        in different units.\n      </p>\n      <p>\n        The viewport is the "finite rectangular region" where rendering occurs in SVG.\n        Hence, nothing should be rendered outside the viewport (paragraph 7.1). Furthermore,\n        when no positioning properties are set on the top svg element, the initial viewport\n        size should have the value of the top svg element\'s "width" and "height" attributes.\n        To check this behavior, the test does not define positioning properties on the top\n        svg element but defines its "width" and "height" properties. Then it fills a red\n        rectangle that is bigger than the viewport size. Then, a rectangle, the size of the\n        viewport is drawn in white. If rendering is limited to the viewport area, none of the\n        red should show.\n      </p>\n      <p>\n        The line showing the "ex" units will not necessarily appear with the same length\n        as shown in the reference image because the X-height of a font is not\n        necessarily half of the font size (which is assumed in the reference image where\n        1ex is considered to be .5em).\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the top three lines (user units, px, em) are the same length,\n      the fifth line (%) is the same length as the top three lines, and the bottom\n      five lines (in, cm, mm, pt, pc) are the same length.  The fourth line (ex) may have\n      any non-zero length, since the X-height of the font will depend on the exact font\n      chosen by the user agent (which may vary).</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-units-03-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="viewport-initial-size-test">\n      <!-- ====================================================================== -->\n      <!-- First fill a rectangle that is bigger than the defined viewport ====== -->\n      <!-- ====================================================================== -->\n      <rect x="0px" y="0px" width="2000px" height="2000px" fill="red"/>\n      <!-- ====================================================================== -->\n      <!-- This second rectangle should cover the previous one, so none of the == -->\n      <!-- red should show if the initial viewport has the requested size      == -->\n      <!-- ====================================================================== -->\n      <rect x="0px" y="0px" width="480px" height="360px" fill="white"/>\n    </g>\n    <!-- viewport-initial-size-test -->\n    <!-- Title -->\n    <text x="125" y="20" fill="black" font-size="12" font-family="Arial">Initial viewport and CSS units test</text>\n    <g id="units-test" fill="black" font-size="10pt" transform="translate(0, 60)">\n      <!-- ====================================================================== -->\n      <!-- Now, draw rectangles using the various unit specifiers                 -->\n      <!-- ====================================================================== -->\n      <!-- User Space -->\n      <text x="20" y="18">200</text>\n      <text x="230" y="20">User space units (no specifier)</text>\n      <rect x="20" y="20" width="200" height="1"/>\n      <!-- ================== -->\n      <!-- Relative CSS Units -->\n      <!-- ================== -->\n      <!-- Pixels : Should correspond to User Space, because the initial user -->\n      <!-- coordinate is such that one user space unit equals one pixel in    -->\n      <!-- viewport.                                                          -->\n      <text x="20" y="38">200 px</text>\n      <text x="230" y="40">Pixels (px)</text>\n      <rect x="20" y="40" width="200px" height="1"/>\n      <!-- Font size (em). Should be equal to 200pt because current font\'s    -->\n      <!-- point size is 10pt                                                 -->\n      <text x="20" y="58">20 em = 200 px (font-size=10px)</text>\n      <text x="230" y="60">Relative to font size (em)</text>\n      <g font-size="10px">\n        <rect x="20" y="60" width="20em" height="1"/>\n      </g>\n      <!-- X-Height (ex). With a 10px font-size, x-height is about 5px, so  -->\n      <!-- ex units would be about 200px                                    -->\n      <text x="20" y="78">40 ex</text>\n      <text x="230" y="80">Relative to font x-height (ex)</text>\n      <g font-size="10px">\n        <rect x="20" y="80" width="40ex" height="1"/>\n      </g>\n      <!-- ========================= -->\n      <!-- Percentage                -->\n      <!-- ========================= -->\n      <!-- 1% = 4.8px because viewport is 480px -->\n      <text x="20" y="98">41.67% = 200 px</text>\n      <text x="230" y="100">Percentage (%)</text>\n      <rect x="20" y="100" width="41.67%" height="1"/>\n      <!-- ========================= -->\n      <!-- Absolute Length CSS Units -->\n      <!-- ========================= -->\n      <!-- Inches (should be the same length as following (cm) rect)          -->\n      <text x="20" y="118">1 in</text>\n      <text x="230" y="120">Inches (in)</text>\n      <rect x="20" y="120" width="1in" height="1"/>\n      <!-- Centimeters(should be the same length as previous (in) rect)       -->\n      <!-- 1in = 2.54cm -->\n      <text x="20" y="138">2.54 cm = 1 in</text>\n      <text x="230" y="140">Centimeters (cm)</text>\n      <rect x="20" y="140" width="2.54cm" height="1"/>\n      <!-- Millimeters (should be the same length as previous (cm) rect)      -->\n      <!-- 10mm = 1cm -->\n      <text x="20" y="158">25.4 mm = 1 in</text>\n      <text x="230" y="160">Millimeters (mm)</text>\n      <rect x="20" y="160" width="25.4mm" height="1"/>\n      <!-- Points (should be the same length as (in) rect                     -->\n      <!-- 1pt = 1/72 in -->\n      <text x="20" y="178">72pt = 1 in</text>\n      <text x="230" y="180">Points (pt)</text>\n      <rect x="20" y="180" width="72pt" height="1"/>\n      <!-- Picas (should be the same length as previous (pt) rect)            -->\n      <!-- 1pc = 12pt -->\n      <text x="20" y="198">6pc = 1 in</text>\n      <text x="230" y="200">Picas (pc)</text>\n      <rect x="20" y="200" width="6pc" height="1"/>\n    </g>\n    <!-- units-test -->\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'coords-viewattr-01-b.svg', svg: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="basic" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted" version="$Revision: 1.8 $" testname="$RCSfile: coords-viewattr-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#ViewBoxAttribute">\n      <p>\n        This test verifies the implementation of the viewBox and the\n        preserveAspectRatio attribute. This is a modified version of the sample\n        file included in the SVG specification. It exercises the various\n        preserveAspectRatio values and uses a general entity definition in order\n        to make reading of the SVG source easier.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Load the document in the user agent.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for\n        variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-viewattr-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-size="9" transform="translate(0, 30)">\n      <desc>Example PreserveAspectRatio - demonstrate available options</desc>\n      <text text-anchor="middle" x="240" font-size="16">Test available options of preserveAspectRatio</text>\n      <text x="35.5" y="30" text-anchor="middle">SVG to fit</text>\n      <g transform="translate(20,40)"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </g>\n      <text x="35.5" y="110" text-anchor="middle">Viewport 1</text>\n      <g transform="translate(10,120)"><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/></g>\n      <text x="35.5" y="180" text-anchor="middle">Viewport 2</text>\n      <g transform="translate(20,190)"><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/></g>\n      <g id="meet-group-1" transform="translate(120, 50)">\n        <text x="0" y="-20">---------- meet --------------------</text>\n        <g>\n          <text y="-5">xMin*</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMinYMin meet" viewBox="0 0 30 40" width="50" height="30"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n        <g transform="translate(70,0)">\n          <text y="-5">xMid*</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMidYMid meet" viewBox="0 0 30 40" width="50" height="30"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n        <g transform="translate(0,50)">\n          <text y="-5">xMax*</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMaxYMax meet" viewBox="0 0 30 40" width="50" height="30"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n      </g>\n      <g id="meet-group-2" transform="translate(300, 50)">\n        <text x="0" y="-20">---------- meet ------------------------</text>\n        <g>\n          <text y="-5">*YMin</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMinYMin meet" viewBox="0 0 30 40" width="30" height="60"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n        <g transform="translate(50, 0)">\n          <text y="-5">*YMid</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMidYMid meet" viewBox="0 0 30 40" width="30" height="60"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n        <g transform="translate(100, 0)">\n          <text y="-5">*YMax</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMaxYMax meet" viewBox="0 0 30 40" width="30" height="60"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n      </g>\n      <g id="slice-group-1" transform="translate(120, 185)">\n        <text x="0" y="-20">---------- slice -------------------------</text>\n        <g>\n          <text y="-5">xMin*</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMinYMin slice" viewBox="0 0 30 40" width="30" height="60"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n        <g transform="translate(50,0)">\n          <text y="-5">xMid*</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMidYMid slice" viewBox="0 0 30 40" width="30" height="60"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n        <g transform="translate(100,0)">\n          <text y="-5">xMax*</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMaxYMax slice" viewBox="0 0 30 40" width="30" height="60"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n      </g>\n      <g id="slide-group-2" transform="translate(300, 155) translate(0, 30)">\n        <text x="0" y="-20">---------- slice ---------------------</text>\n        <g>\n          <text y="-5">*YMin</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMinYMin slice" viewBox="0 0 30 40" width="50" height="30"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n        <g transform="translate(70,0)">\n          <text y="-5">*YMid</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMidYMid slice" viewBox="0 0 30 40" width="50" height="30"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n        <g transform="translate(0,50)">\n          <text y="-5">*YMax</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" preserveAspectRatio="xMaxYMax slice" viewBox="0 0 30 40" width="50" height="30"><rect x=".5" y=".5" width="29" height="39" fill="black" stroke="orange" stroke-width="2"/><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"/>\n    </g>\n  </svg>\n        </g>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'coords-viewattr-02-b.svg', svg: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="basic" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted" version="$Revision: 1.9 $" testname="$RCSfile: coords-viewattr-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#ViewBoxAttribute">\n      <p>\n        This test verifies the implementation of the preserveAspectRatio attribute on &lt;image&gt;\n        referencing raster content.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        This is a modified version of the sample file included in the SVG specification.\n        It exercises the various preserveAspectRatio values and uses a general entity definition\n        in order to make reading of the SVG source easier.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly except for variations in the labeling text.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-viewattr-02-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-size="9" transform="translate(0, 30)">\n      <desc>Example PreserveAspectRatio - demonstrate available options</desc>\n      <text text-anchor="middle" x="240" font-size="16">Test options of preserveAspectRatio on an image element</text>\n      <text x="40" y="30" text-anchor="middle">Raster to fit</text>\n      <g transform="translate(20,40)">\n        <image xlink:href="data:image/jpeg;base64,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" width="40" height="40" preserveAspectRatio="none"/>\n      </g>\n      <text x="35.5" y="110" text-anchor="middle">Viewport 1</text>\n      <g transform="translate(10,120)"><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/></g>\n      <text x="35.5" y="180" text-anchor="middle">Viewport 2</text>\n      <g transform="translate(20,190)"><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/></g>\n      <g id="meet-group-1" transform="translate(120, 50)">\n        <text x="0" y="-20">---------- meet --------------------</text>\n        <g>\n          <text y="-5">xMin*</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMinYMin meet" width="50" height="30"/>\n        </g>\n        <g transform="translate(70,0)">\n          <text y="-5">xMid*</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMidYMid meet" width="50" height="30"/>\n        </g>\n        <g transform="translate(0,50)">\n          <text y="-5">xMax*</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMaxYMax meet" width="50" height="30"/>\n        </g>\n      </g>\n      <g id="meet-group-2" transform="translate(300, 50)">\n        <text x="0" y="-20">---------- meet ------------------------</text>\n        <g>\n          <text y="-5">*YMin</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAHgAA/+4ADkFkb2JlAGTAAAAAAf/b AIQAEAsLCwwLEAwMEBcPDQ8XGxQQEBQbHxcXFxcXHx4XGhoaGhceHiMlJyUjHi8vMzMvL0BAQEBA QEBAQEBAQEBAQAERDw8RExEVEhIVFBEUERQaFBYWFBomGhocGhomMCMeHh4eIzArLicnJy4rNTUw MDU1QEA/QEBAQEBAQEBAQEBA/8AAEQgAZABkAwEiAAIRAQMRAf/EAT8AAAEFAQEBAQEBAAAAAAAA AAMAAQIEBQYHCAkKCwEAAQUBAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEAABBAEDAgQCBQcGCAUD DDMBAAIRAwQhEjEFQVFhEyJxgTIGFJGhsUIjJBVSwWIzNHKC0UMHJZJT8OHxY3M1FqKygyZEk1Rk RcKjdDYX0lXiZfKzhMPTdePzRieUpIW0lcTU5PSltcXV5fVWZnaGlqa2xtbm9jdHV2d3h5ent8fX 5/cRAAICAQIEBAMEBQYHBwYFNQEAAhEDITESBEFRYXEiEwUygZEUobFCI8FS0fAzJGLhcoKSQ1MV Y3M08SUGFqKygwcmNcLSRJNUoxdkRVU2dGXi8rOEw9N14/NGlKSFtJXE1OT0pbXF1eX1VmZ2hpam tsbW5vYnN0dXZ3eHl6e3x//aAAwDAQACEQMRAD8A8/SSR8LCyc/JZi4rDZdYYa0flPgAgSACSaA1 JKkLWuc4NaC5x0AGpJXT9J+onUcwC3Od9jpOoYRutI/q/m/P7l1X1f8Aqth9HYLXgX5xHuuI0b5V g8fHlbixOa+LSsw5fQf5w7/QMscfdxcL6n9BwwP1cXvH5953/wDR+j+C1qsbHoEU1MqHgxob+RES WVPNlyG5zlP+8bXgAbBRAIgiR4Knk9G6TlgjIw6Xz32AO/zhBVxJNjOUTcZGJ8DSnk+pf4v8C4F/ T7XY1nZj/fX/AOSH4rjOq9E6l0mzZmVFrSYZa33Vu+Dv4L19Qvx6Mmp1GRW22p4hzHCQQtDl/imf GQMh96Hj830P8VpgDto+KJLqPrR9UX9M3ZuCDZgzL2cupn8rfP71y63sObHmgJ4zYP2g9ixEEGip JJJSoXa1znBrQS5xgAckleo/Vb6vM6Phh9oBzrwDc790cisfDv5rlfqJ0kZnUXZ1rZpw4LJ4Nrvo /wCbz9y9GWH8W5o8X3eB0GuTz6Blxx6qSSVDrPWcTo2J9pyZcXHbVU36T3eA/iVkwhKchCAMpS0A C9vpLiKP8YxNwGRhbaCdSx8vA+BABXZ42TTl49eTjuD6bWhzHDuCpc/K5sFe7DhEtjdj8FCQOyRJ Vuo9Qxum4lmZlO21V+GpcTw1o8SuQP8AjHd62mCPQn/Se+P82EsHKZ8wMsUOIR62Br9UGQG73CSq 9M6li9Uw2ZmK6a36EHRzXDlrh4hWlDKJjIxkKMTRBXLOa17Sx4DmuBDmnUEHsV5j9bfq/wDsfMFt AP2LIJNX8h3ev+5enqj1rplfVem3Yb43PE1OP5tjdWlWuR5o8vlBJ9E9Jjw7/RbKNh8fSRPQu9f7 PtPrb/T2d987dv3pLqLHfx+jA+ofU/CGH0HHkQ+8G9/9v6P/AEYW0h41Qox6qRxUxrB/ZEIi4/NM 5Ms5n9ORl9rYAoAKXEf4xqLicLIAJoaHsJ7B5gj7wF26Hk42Pl0ux8mtttLxDmOEgqTlc/sZoZa4 hG7HgdFSFinxVeo/Uui+n6v44ukby97Gnsxxlv38p6PqX9X6b/WGOXwZax7i5g/snn5rcAAAAEAc BXfiHxDHnxxx44yri4iZfkFkIEGy8v8A4waL7Oj1WVgmum4OtA7Atc0OPzK85XttlbLWOrsaHseC HNcJBB7ELCP1K+rxv9b7O6Jn0t7tn3TP4o8h8Rx4MXt5Iy0JMTHx7qlAk2Gl/i8ovr6ZkWvBFVtv 6Ke+0Q5w/J8l1ajVVXTW2qpoZWwQ1jRAAHYBSWfzGb3s08tcPGbpeBQpSSSSiS8d+xGf8/PU2/od n22I03fQ/wDPmqS6z7Oz7V9pj3+n6c+W7ckrv36fc/7m9j+1bw/9K0oIIBHB4SVPo2SMvpOHkAzv pZP9YCHfiFcVOcTGUoneJI+xKkkkkEqSSSSUpJJJJSkkkklKSSSSUrySWX+0m/8AOT9mz/2l9T+3 v4/zUlL7E+3+T93/AAUX+dOP/i+6kLsC3p7z+kxnb2D/AIN+v4O/KusXkHROq2dJ6lVmMktadtrB +dW76Q/u8165j305NFeRQ4PqtaHMcO4KufFOXOPOcgHoza/4XUftWwNiuzMkASeFiYv1u6Nk59mC LdjmO212v0rtPfa74+PK2yARB1BXKdc+ouLmOdkdNcMa86uqP804+UfR/Iq3LR5eRlHPKUOIeiQ2 B8Uyvo9WkvNmZv1u+rf6O1rzjt0AsHq0/wBl44+RWjj/AOMd4AGTggnu6uyP+i5p/Kp5fDM/zYjD PDpKEh+1HGOuj3CS41/+MfFA9mFYXeBeAPwBWfk/XzrOWfSwMdlLnaDaDbZ8u34IR+Gc2d4CA7yk K/BXHF7nP6jhdOoORmWtqrHE8uPg0ckqt0Tr2F1ql9mNLH1uh9T43Afmu07FcbifVP6wdavGT1Wx 1LDy+47rI8G19vnC7bpPRsDpFHo4dcE/zlrtXvP8pyGfDy2HGYjJ72e94fJHwSDInag3kznNY0uc Ya0SSeAAnXLfXnrgw8L9m0O/WcofpI5ZV3/zuPvVfBhlmyxxx/SO/YdSkmhbyv7fd/zp/bEn0/W4 /wCB/m4/zEliJLqfu2L93/Jez/gdmCz+NqXUfVH60fsx4wc1x+w2H2POvouPf+qe/wB65dJHNhhm xnHMWD9oPcKBINh9ta5r2h7CHNcJa4agg9wnXmH1f+tuZ0iKLQcjC/0RPuZ/xZ/gvQemda6b1Wvf h3B7vzqj7bG/FpXN81yOXlySRxw6TG317M0ZAt7nQqnf0bpORrdhUvJ7mts/eBKuJKrGUom4kx8j SXNZ9W+gsMjApnzbP5VeoxcbHEY9LKR4VtDf+pCIknSy5JfNOUv7xJVQUkmc5rGlzyGtGpJMABcv 1z684WG11HTYysnj1P8ABMPx/O+X3p2HBlzS4ccTL8h5lRIG7qdf6/i9FxfUsIfkvB9CidXHxPg0 LyzMzMjOybMrJdvutO5zv4DyCWZmZOdkOycqw23P+k535B4BBXR8lyUeWj+9kl80v2DwYZSvyUkk kri1SSSSSlIlHr+q37Pv9afZ6c758tuqSSB2P7dlPc9E/wCfm1vqbPR0j7b9KP7H6T711mP9q2D7 V6e/v6e6P+kkkuZ575z/ALm3/wAh+1nj9fql+Cy+p/8AOTaf2b9l/wCub9/y/NSSVfB84/m/+q/K k/X6PA9f/wCdO4/tj1vTnT/Q/L0/YsNJJdTy381H+a/6j8n0YDv1+qkkklMhSSSSSn//2Q==" preserveAspectRatio="xMinYMin meet" width="30" height="60"/>\n        </g>\n        <g transform="translate(50, 0)">\n          <text y="-5">*YMid</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMidYMid meet" width="30" height="60"/>\n        </g>\n        <g transform="translate(100, 0)">\n          <text y="-5">*YMax</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMaxYMax meet" width="30" height="60"/>\n        </g>\n      </g>\n      <g id="slice-group-1" transform="translate(120, 185)">\n        <text x="0" y="-20">---------- slice -------------------------</text>\n        <g>\n          <text y="-5">xMin*</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,/9j/4AAQSkZJRgABAgAAZABkAAD/7AARRHVja3kAAQAEAAAAHgAA/+4ADkFkb2JlAGTAAAAAAf/b AIQAEAsLCwwLEAwMEBcPDQ8XGxQQEBQbHxcXFxcXHx4XGhoaGhceHiMlJyUjHi8vMzMvL0BAQEBA QEBAQEBAQEBAQAERDw8RExEVEhIVFBEUERQaFBYWFBomGhocGhomMCMeHh4eIzArLicnJy4rNTUw MDU1QEA/QEBAQEBAQEBAQEBA/8AAEQgAZABkAwEiAAIRAQMRAf/EAT8AAAEFAQEBAQEBAAAAAAAA AAMAAQIEBQYHCAkKCwEAAQUBAQEBAQEAAAAAAAAAAQACAwQFBgcICQoLEAABBAEDAgQCBQcGCAUD DDMBAAIRAwQhEjEFQVFhEyJxgTIGFJGhsUIjJBVSwWIzNHKC0UMHJZJT8OHxY3M1FqKygyZEk1Rk RcKjdDYX0lXiZfKzhMPTdePzRieUpIW0lcTU5PSltcXV5fVWZnaGlqa2xtbm9jdHV2d3h5ent8fX 5/cRAAICAQIEBAMEBQYHBwYFNQEAAhEDITESBEFRYXEiEwUygZEUobFCI8FS0fAzJGLhcoKSQ1MV Y3M08SUGFqKygwcmNcLSRJNUoxdkRVU2dGXi8rOEw9N14/NGlKSFtJXE1OT0pbXF1eX1VmZ2hpam tsbW5vYnN0dXZ3eHl6e3x//aAAwDAQACEQMRAD8A8/SSR8LCyc/JZi4rDZdYYa0flPgAgSACSaA1 JKkLWuc4NaC5x0AGpJXT9J+onUcwC3Od9jpOoYRutI/q/m/P7l1X1f8Aqth9HYLXgX5xHuuI0b5V g8fHlbixOa+LSsw5fQf5w7/QMscfdxcL6n9BwwP1cXvH5953/wDR+j+C1qsbHoEU1MqHgxob+RES WVPNlyG5zlP+8bXgAbBRAIgiR4Knk9G6TlgjIw6Xz32AO/zhBVxJNjOUTcZGJ8DSnk+pf4v8C4F/ T7XY1nZj/fX/AOSH4rjOq9E6l0mzZmVFrSYZa33Vu+Dv4L19Qvx6Mmp1GRW22p4hzHCQQtDl/imf GQMh96Hj830P8VpgDto+KJLqPrR9UX9M3ZuCDZgzL2cupn8rfP71y63sObHmgJ4zYP2g9ixEEGip JJJSoXa1znBrQS5xgAckleo/Vb6vM6Phh9oBzrwDc790cisfDv5rlfqJ0kZnUXZ1rZpw4LJ4Nrvo /wCbz9y9GWH8W5o8X3eB0GuTz6Blxx6qSSVDrPWcTo2J9pyZcXHbVU36T3eA/iVkwhKchCAMpS0A C9vpLiKP8YxNwGRhbaCdSx8vA+BABXZ42TTl49eTjuD6bWhzHDuCpc/K5sFe7DhEtjdj8FCQOyRJ Vuo9Qxum4lmZlO21V+GpcTw1o8SuQP8AjHd62mCPQn/Se+P82EsHKZ8wMsUOIR62Br9UGQG73CSq 9M6li9Uw2ZmK6a36EHRzXDlrh4hWlDKJjIxkKMTRBXLOa17Sx4DmuBDmnUEHsV5j9bfq/wDsfMFt AP2LIJNX8h3ev+5enqj1rplfVem3Yb43PE1OP5tjdWlWuR5o8vlBJ9E9Jjw7/RbKNh8fSRPQu9f7 PtPrb/T2d987dv3pLqLHfx+jA+ofU/CGH0HHkQ+8G9/9v6P/AEYW0h41Qox6qRxUxrB/ZEIi4/NM 5Ms5n9ORl9rYAoAKXEf4xqLicLIAJoaHsJ7B5gj7wF26Hk42Pl0ux8mtttLxDmOEgqTlc/sZoZa4 hG7HgdFSFinxVeo/Uui+n6v44ukby97Gnsxxlv38p6PqX9X6b/WGOXwZax7i5g/snn5rcAAAAEAc BXfiHxDHnxxx44yri4iZfkFkIEGy8v8A4waL7Oj1WVgmum4OtA7Atc0OPzK85XttlbLWOrsaHseC HNcJBB7ELCP1K+rxv9b7O6Jn0t7tn3TP4o8h8Rx4MXt5Iy0JMTHx7qlAk2Gl/i8ovr6ZkWvBFVtv 6Ke+0Q5w/J8l1ajVVXTW2qpoZWwQ1jRAAHYBSWfzGb3s08tcPGbpeBQpSSSSiS8d+xGf8/PU2/od n22I03fQ/wDPmqS6z7Oz7V9pj3+n6c+W7ckrv36fc/7m9j+1bw/9K0oIIBHB4SVPo2SMvpOHkAzv pZP9YCHfiFcVOcTGUoneJI+xKkkkkEqSSSSUpJJJJSkkkklKSSSSUrySWX+0m/8AOT9mz/2l9T+3 v4/zUlL7E+3+T93/AAUX+dOP/i+6kLsC3p7z+kxnb2D/AIN+v4O/KusXkHROq2dJ6lVmMktadtrB +dW76Q/u8165j305NFeRQ4PqtaHMcO4KufFOXOPOcgHoza/4XUftWwNiuzMkASeFiYv1u6Nk59mC LdjmO212v0rtPfa74+PK2yARB1BXKdc+ouLmOdkdNcMa86uqP804+UfR/Iq3LR5eRlHPKUOIeiQ2 B8Uyvo9WkvNmZv1u+rf6O1rzjt0AsHq0/wBl44+RWjj/AOMd4AGTggnu6uyP+i5p/Kp5fDM/zYjD PDpKEh+1HGOuj3CS41/+MfFA9mFYXeBeAPwBWfk/XzrOWfSwMdlLnaDaDbZ8u34IR+Gc2d4CA7yk K/BXHF7nP6jhdOoORmWtqrHE8uPg0ckqt0Tr2F1ql9mNLH1uh9T43Afmu07FcbifVP6wdavGT1Wx 1LDy+47rI8G19vnC7bpPRsDpFHo4dcE/zlrtXvP8pyGfDy2HGYjJ72e94fJHwSDInag3kznNY0uc Ya0SSeAAnXLfXnrgw8L9m0O/WcofpI5ZV3/zuPvVfBhlmyxxx/SO/YdSkmhbyv7fd/zp/bEn0/W4 /wCB/m4/zEliJLqfu2L93/Jez/gdmCz+NqXUfVH60fsx4wc1x+w2H2POvouPf+qe/wB65dJHNhhm xnHMWD9oPcKBINh9ta5r2h7CHNcJa4agg9wnXmH1f+tuZ0iKLQcjC/0RPuZ/xZ/gvQemda6b1Wvf h3B7vzqj7bG/FpXN81yOXlySRxw6TG317M0ZAt7nQqnf0bpORrdhUvJ7mts/eBKuJKrGUom4kx8j SXNZ9W+gsMjApnzbP5VeoxcbHEY9LKR4VtDf+pCIknSy5JfNOUv7xJVQUkmc5rGlzyGtGpJMABcv 1z684WG11HTYysnj1P8ABMPx/O+X3p2HBlzS4ccTL8h5lRIG7qdf6/i9FxfUsIfkvB9CidXHxPg0 LyzMzMjOybMrJdvutO5zv4DyCWZmZOdkOycqw23P+k535B4BBXR8lyUeWj+9kl80v2DwYZSvyUkk kri1SSSSSlIlHr+q37Pv9afZ6c758tuqSSB2P7dlPc9E/wCfm1vqbPR0j7b9KP7H6T711mP9q2D7 V6e/v6e6P+kkkuZ575z/ALm3/wAh+1nj9fql+Cy+p/8AOTaf2b9l/wCub9/y/NSSVfB84/m/+q/K k/X6PA9f/wCdO4/tj1vTnT/Q/L0/YsNJJdTy381H+a/6j8n0YDv1+qkkklMhSSSSSn//2Q==" preserveAspectRatio="xMinYMin slice" width="30" height="60"/>\n        </g>\n        <g transform="translate(50,0)">\n          <text y="-5">xMid*</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMidYMid slice" width="30" height="60"/>\n        </g>\n        <g transform="translate(100,0)">\n          <text y="-5">xMax*</text><rect x=".5" y=".5" width="29" height="59" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMaxYMax slice" width="30" height="60"/>\n        </g>\n      </g>\n      <g id="slide-group-2" transform="translate(300, 155) translate(0, 30)">\n        <text x="0" y="-20">---------- slice ---------------------</text>\n        <g>\n          <text y="-5">*YMin</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMinYMin slice" width="50" height="30"/>\n        </g>\n        <g transform="translate(70,0)">\n          <text y="-5">*YMid</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMidYMid slice" width="50" height="30"/>\n        </g>\n        <g transform="translate(0,50)">\n          <text y="-5">*YMax</text><rect x=".5" y=".5" width="49" height="29" fill="none" stroke="blue"/>\n          <image xlink:href="data:image/jpeg;base64,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" preserveAspectRatio="xMaxYMax slice" width="50" height="30"/>\n        </g>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'coords-viewattr-03-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="BB" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: coords-viewattr-03-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/coords.html#ViewBoxAttribute">\n      <p>\n        This file tests the allowed syntax of the viewBox attribute.  The viewBox attribute is a list of\n        four numbers min-x, min-y, width and height, separated by whitespace and/or a comma.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>      \n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        In the rendered result, you should see 6 identical light blue shapes.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: coords-viewattr-03-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="20" x="240" y="28" text-anchor="middle">&lt;svg&gt; \'viewBox\' attribute</text>\n\n    <g fill="lightblue" stroke="black">\n\n      <svg x="35" y="50" width="100" height="100" viewBox="0 0 200 200" overflow="visible">\n        <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/>\n      </svg>\n      <text font-size="13.5" x="85" y="155" text-anchor="middle" fill="black" stroke="none">viewBox="0 0 200 200"</text>\n      <text font-size="13.5" x="85" y="170" text-anchor="middle" fill="black" stroke="none">overflow="visible" </text>\n\n      <svg x="35" y="180" width="100" height="100" viewBox="0 0 200 200" overflow="hidden">\n        <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/>\n      </svg>\n      <text font-size="13.5" x="85" y="285" text-anchor="middle" fill="black" stroke="none">viewBox="0 0 200 200"</text>\n      <text font-size="13.5" x="85" y="300" text-anchor="middle" fill="black" stroke="none">overflow="hidden" </text>\n\n      <svg x="190" y="50" width="100" height="100" viewBox="0,0,200,200" overflow="visible">\n        <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/>\n      </svg>\n      <text font-size="13.5" x="240" y="155" text-anchor="middle" fill="black" stroke="none">viewBox="0,0,200,200"</text>\n      <text font-size="13.5" x="240" y="170" text-anchor="middle" fill="black" stroke="none">overflow="visible" </text>\n\n      <svg x="190" y="180" width="100" height="100" viewBox="0,0,200,200" overflow="hidden">\n        <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/>\n      </svg>\n      <text font-size="13.5" x="240" y="285" text-anchor="middle" fill="black" stroke="none">viewBox="0,0,200,200"</text>\n      <text font-size="13.5" x="240" y="300" text-anchor="middle" fill="black" stroke="none">overflow="hidden" </text>\n\n      <svg x="345" y="50" width="100" height="100" viewBox="0,0,   200, 200" overflow="visible">\n        <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/>\n      </svg>\n      <text font-size="13.5" x="395" y="155" text-anchor="middle" fill="black" stroke="none">viewBox="0,0,   200, 200"</text>\n      <text font-size="13.5" x="395" y="170" text-anchor="middle" fill="black" stroke="none">overflow="visible" </text>\n\n      <svg x="345" y="180" width="100" height="100" viewBox="0,0,   200, 200" overflow="hidden">\n        <path fill-rule="evenodd" d="M20,20 Q180,20 180,180 Q20,180 20,20 Z M20,180 Q20,20 180,20 Q180,180 20,180 Z M100,40 L160,100 100,160 40,100 Z"/>\n      </svg>\n      <text font-size="13.5" x="395" y="285" text-anchor="middle" fill="black" stroke="none">viewBox="0,0,   200, 200"</text>\n      <text font-size="13.5" x="395" y="300" text-anchor="middle" fill="black" stroke="none">overflow="hidden" </text>\n\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'imp-path-01-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="reviewed" version="$Revision: 1.5 $" testname="$RCSfile: imp-path-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/implnote.html#PathElementImplementationNotes">\n			<p>\n        Tests that markers are drawn on zero-length \'path\' and \'line\' segments.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n			<p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there are two blue boxes, positioned as in the reference image.\n      </p>  \n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: imp-path-01-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <marker id="testMarker">\n            <rect width="96" height="96" fill="blue" />\n        </marker>\n    </defs>\n    <path d="m 0 0 L 0 0" stroke-width="25" marker-end="url(#testMarker)" />\n    <line x1="0" x2="0" y1="100" y2="100" stroke-width="25" marker-end="url(#testMarker)" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'masking-filter-01-f.svg', svg: '<svg version="1.1" baseProfile="full" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="CM" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: masking-filter-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#Introduction">\n      <p>\n        This tests that the \'filter\' property does not apply to \'mask\'.\n      </p>\n      <p>\n        The mask \'m\' covers a rectangular area (200 x 200) except for a window\n        (100 x 100) in the top left hand corner. Initially the mask window is\n        set on top of the green square. Hence, the green square is shown and\n        the red square is covered. If filters are supported the window within\n        the mask will be shifted by an offset of 100,100 placing it on top of\n        the red square.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test passes if a green square is shown.  If any\n        red shows, the test has failed.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-filter-01-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g shape-rendering="geometricPrecision">\n      <text font-size="18" x="10" y="35">Testing \'filter\' applied to \'mask\'</text>\n\n      <defs>\n        <filter id="f" x="0" y="0" width="200" height="200"\n                filterUnits="userSpaceOnUse" filterPrimitiveUnits="userSpaceOnUse">\n          <feOffset dx="100" dy="100"/>\n        </filter>\n        <mask id="m" x="0" y="0" width="200" height="200"\n              maskUnits="userSpaceOnUse" maskContentUnits="userSpaceOnUse"\n              filter="url(#f)">\n          <rect width="100" height="100" fill="white"/>\n        </mask>\n      </defs>\n\n      <g mask="url(#m)" transform="translate(10,50)">\n        <rect width="100" height="100" fill="green"/>\n        <rect x="101" y="101" width="99" height="99" fill="red"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-intro-01-f.svg', svg: '<svg version="1.1" baseProfile="full" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="BB" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: masking-intro-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#Introduction">\n      <p>\n        The rules are different regarding the geometry of a shape when clipping and masking.\n        For example, a clip-path does not take into account the stroke of the shape used for clipping.\n        It is however, used when masking.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are two identical darkblue circles at the top of the illustration, and\n        below those two circles, two more circles should appear. They are of lighter appearance,\n        the one on the left has a darker and thick stroke.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-intro-01-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g shape-rendering="geometricPrecision">\n      <title id="test-title">masking-mask-04-f.svg</title>\n      <desc id="test-desc">Tests the impact of strokes within clipPath and mask</desc>\n      <text font-size="18" x="240" y="35" text-anchor="middle">Testing stroke inclusion for \'clip-path\' and \'mask\'</text>\n\n      <defs>\n        <clipPath id="one" clipPathUnits="objectBoundingBox">\n          <circle cx="0.3" cy="0.5" r="0.2" stroke-width="0.15" fill="none" stroke="red"/>\n          <circle cx="0.7" cy="0.5" r="0.2" stroke-width="0.15" fill="none" stroke="none"/>\n        </clipPath>\n      </defs>\n\n      <rect x="150" y="0" width="200" height="200" fill="darkblue" clip-path="url(#one)"/>\n      <text x="50" y="110">With a \'clip-path\':</text>\n\n      <defs>\n        <mask id="two" maskUnits="objectBoundingBox" maskContentUnits="objectBoundingBox" color-interpolation="linearRGB">\n          <circle cx="0.3" cy="0.5" r="0.2" stroke-width="0.15" fill="blue" stroke="red"/>\n          <circle cx="0.7" cy="0.5" r="0.2" stroke-width="0.15" fill="blue" stroke="none"/>\n        </mask>\n      </defs>\n\n      <rect x="150" y="150" width="200" height="200" fill="darkblue" mask="url(#two)"/>\n      <text x="50" y="260">With a \'mask\':</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-mask-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: masking-mask-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#Masking">\n      <p>\n        Test to see if the masking features using the mask element and mask\n        property are available.\n      </p>\n      <p>\n        A red rectangle is displayed in the background to help view the result\n        of transparency and masking.\n      </p>\n      <p>\n        From top to bottom, the tests are as follows.\n      </p>\n      <p>\n        In the top test, a linear gradient is used inside the mask to change the opacity\n        of the rectangle from 1.0 (at the top) to 0.5 (at the bottom).\n      </p>\n      <p>\n        In the second test, a simple 50% opaque rectangle is used as a mask.\n      </p>\n      <p>\n        In the third test, no mask is used, but a rectangle is shown with 50% opacity.\n        The second and third test should look the same.\n      </p>\n      <p>\n        Lastly, a string of text has a mask applied to it. The mask only covers a partial\n        area of the text, so the text should only be half visible. Also the mask consists\n        of 4 rectangles with various levels of opacity.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image, except\n        variations are possible in the labelling text (per CSS2 rules).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-mask-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  <style type="text/css">\n  @font-face {\n     font-family: larabie-anglepoise;\n     src: url(woffs/anglepoi.woff) format("woff");\n     }\n  </style>\n    <defs>\n      <font horiz-adv-x="313">\n        <!-- Converted from Larabie Anglepoise by Batik ttf2svg -->\n        <font-face font-family="larabie-anglepoise" units-per-em="1000" panose-1="0 0 4 0 0 0 0 0 0 0" ascent="703" descent="-300" alphabetic="0"/>\n        <missing-glyph horiz-adv-x="500" d="M63 0V700H438V0H63ZM125 63H375V638H125V63Z"/>\n        <glyph unicode="S" glyph-name="S" horiz-adv-x="385" d="M371 1H29V144H264Q264 151 264 166Q265 180 265 188Q265 212 249 212H132Q83 212 55 247Q29 279 29 329V566H335V422H136V375Q136 360 144 356Q148 355 168 355H279Q327 355 352 309Q371 273 371 221V1Z"/>\n        <glyph unicode="V" glyph-name="V" horiz-adv-x="351" d="M365 563L183 -33L0 563H101L183 296L270 563H365Z"/>\n        <glyph unicode="G" glyph-name="G" horiz-adv-x="367" d="M355 1H18V564H355V420H125V144H248V211H156V355H355V1Z"/>\n        <hkern g1="V" g2="G" k="-40"/>\n      </font>\n    </defs>\n    <g font-family="SVGFreeSansASCII,sans-serif">\n    <text font-size="14" x="10" y="20">Test for mask support</text>\n    <!-- Draw a red rectangle in the background -->\n    <rect x="10" y="30" width="100" height="260" fill="red"/>\n    <!-- Apply a gradient ramp based opacity -->\n    <mask id="mask1" maskUnits="userSpaceOnUse" x="60" y="50" width="100" height="60" color-interpolation="linearRGB">\n      <defs>\n        <linearGradient gradientUnits="userSpaceOnUse" id="Grad1" x1="60" y1="50" x2="60" y2="120">\n          <stop stop-color="white" stop-opacity="1" offset="0"/>\n          <stop stop-color="white" stop-opacity="0.5" offset="1"/>\n        </linearGradient>\n      </defs>\n      <rect x="60" y="50" width="100" height="60" fill="url(#Grad1)"/>\n    </mask>\n    <rect x="60" y="50" width="100" height="60" fill="lime" mask="url(#mask1)"/>\n    <text font-size="12" x="200" y="65">Mask with linear gradient from</text>\n    <text font-size="12" x="200" y="80">opacity=1 to opactity=0.5</text>\n    <!-- Simulate a uniform opacity using a mask -->\n    <mask id="mask2" maskUnits="userSpaceOnUse" x="60" y="120" width="100" height="30" color-interpolation="linearRGB">\n      <rect x="60" y="120" width="100" height="30" fill-opacity="0.5" fill="white"/>\n    </mask>\n    <rect x="60" y="120" width="100" height="30" fill="lime" mask="url(#mask2)"/>\n    <text font-size="12" x="200" y="135">Mask with uniform opacity of 0.5</text>\n    <!-- Apply a uniform opacity -->\n    <rect x="60" y="160" width="100" height="30" fill="lime" fill-opacity="0.5"/>\n    <text font-size="12" x="200" y="175">Rectangle with uniform opacity of 0.5</text>\n    <!-- Apply a mask to text -->\n    <mask id="mask3" maskUnits="userSpaceOnUse" x="60" y="200" width="200" height="100" color-interpolation="linearRGB">\n      <rect x="60" y="200" width="200" height="25" fill="white" fill-opacity="0.5"/>\n      <rect x="60" y="225" width="200" height="25" fill="white" fill-opacity="0.2"/>\n      <rect x="60" y="250" width="200" height="25" fill="white" fill-opacity="1"/>\n      <rect x="60" y="275" width="200" height="25" fill="white" fill-opacity="0.7"/>\n    </mask>\n    <text x="60" y="280" font-family="larabie-anglepoise" font-size="110" fill="lime" mask="url(#mask3)">SVG</text>\n    <text  font-size="12" x="200" y="225">Text with mask containing rectangles</text>\n    <text  font-size="12" x="200" y="240">of various opacities</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-mask-02-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="accepted" version="$Revision: 1.3 $" testname="$RCSfile: masking-mask-02-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/masking.html#Masking">\n      <p>\n        If the \'mask\' property references a \'mask\' element containing no children, the element referencing it is not rendered.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n			<p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is a single green rectangle, with no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-mask-02-f.svg,v $</title>\n    <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <mask id="testMask" />\n    <rect x="100" y="100" width="250" height="150" fill="green" />\n    <rect x="100" y="100" width="250" height="150" fill="red" mask="url(#testMask)" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'masking-opacity-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: masking-opacity-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#ObjectAndGroupOpacityProperties">\n      <p>\n        Test to see the effect of applying an opacity property to a group.\n      </p>\n      <p>\n        A blue rectangle with a green rectangle on top are contained in a\n        group. This opacity of the group and the opacity of the rectangles are\n        changed in this test. A red rectangle is provided in the background so\n        that opacity changes are obvious visually.\n      </p>\n      <p>\n        From top to bottom, the tests are as follows.\n      </p>\n      <p>\n        In the top test, the opacities of the group and the individual rectangles are\n        all set to 1. \n      </p>\n      <p>\n        In the second test, the group is given an opacity of 0.5. \n      </p>\n      <p>\n        In the third test, the group maintains a group opacity of 1 whereas each individual\n        rectangle is given an opacity of 0.5 in the group. \n      </p>\n      <p>\n        Lastly, the group and individual rectangles are all given an opacity of 0.5.\n      </p>\n\n\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        In the top test, the green rectangle should appear on top of the blue\n        rectangle.\n      </p>\n      <p>\n        In the second test, the blue\n        rectangle should not show through in the region where the green and blue overlap.\n      </p>\n      <p>\n        In the third test, the blue rectangle\n        should show through in the overlap region.\n      </p>\n      <p>\n        Lastly, the\n        result should be similar to the previous test only fainter (because the opacity) is\n        resulting in less contribution.\n      </p>\n      <p>\n        The rendered picture should match the reference image exactly, except for possible\n        variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-opacity-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="24" x="50" y="27">Test for opacity property on a group.</text>\n    <rect x="10" y="30" width="100" height="260" fill="red"/>\n    <g opacity="1">\n      <rect x="60" y="50" width="80" height="40" fill="blue"/>\n      <rect x="70" y="60" width="80" height="40" fill="lime"/>\n    </g>\n    <text font-size="20" x="200" y="62">Group opacity: 1</text>\n    <text font-size="20" x="200" y="80">Blue rectangle opacity: 1</text>\n    <text font-size="20" x="200" y="98">Green rectangle opacity: 1</text>\n    <g opacity="0.5">\n      <rect x="60" y="110" width="80" height="40" fill="blue"/>\n      <rect x="70" y="120" width="80" height="40" fill="lime"/>\n    </g>\n    <text font-size="20" x="200" y="122">Group opacity: 0.5</text>\n    <text font-size="20" x="200" y="140">Blue rectangle opacity: 1</text>\n    <text font-size="20" x="200" y="158">Green rectangle opacity: 1</text>\n    <g opacity="1">\n      <rect x="60" y="170" width="80" height="40" fill="blue" opacity=".5"/>\n      <rect x="70" y="180" width="80" height="40" fill="lime" opacity=".5"/>\n    </g>\n    <text font-size="20" x="200" y="182">Group opacity: 1</text>\n    <text font-size="20" x="200" y="200">Blue rectangle opacity: 0.5</text>\n    <text font-size="20" x="200" y="218">Green rectangle opacity: 0.5</text>\n    <g opacity="0.5">\n      <rect x="60" y="230" width="80" height="40" fill="blue" opacity=".5"/>\n      <rect x="70" y="240" width="80" height="40" fill="lime" opacity=".5"/>\n    </g>\n    <text font-size="20" x="200" y="242">Group opacity: 0.5</text>\n    <text font-size="20" x="200" y="260">Blue rectangle opacity: 0.5</text>\n    <text font-size="20" x="200" y="278">Green rectangle opacity: 0.5</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="LH" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: masking-path-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#ClippingPaths">\n      <p>\n        Test to see if the basic clipping works using the clipPath element\n        and the clip-path property.\n      </p>\n      <p>\n        This test uses the following elements : &lt;clipPath&gt; and the following\n        properties : clip-path.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test at the top shows an orange rectangle (with black stroke) being clipped by another rectangle.\n        So only the middle portion of the orange rectangle should be visible. Also the black stroke should\n        only be visible along the top and bottom edge of the rectangle.\n      </p>\n      <p>\n        The example at the bottom has a group containing a text string and two rectangles. The group\n        has a clipping path defined using two  overlapping rectangles. Of concern is the overlapping area\n        shared by the two rectangles. There should not be holes in this overlapping area, the\n        clip region is the union of the two rectangles. For clarity,\n        guide rectangles in grey show the position of the clipping rectangles.\n      </p>\n      <p>\n        The rendered picture should match the reference image exactly, except for possible\n        variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g shape-rendering="geometricPrecision">\n      <!--text font-size="14"  x="10" y="20">Test for clipping using clipPath element</text-->\n      <defs>\n        <clipPath id="clip1">\n          <rect x="200" y="10" width="60" height="100"/>\n        </clipPath>\n        <clipPath id="clip2">\n          <rect x="90" y="150" width="175" height="100"/>\n          <rect x="225" y="160" width="95" height="75"/>\n        </clipPath>\n      </defs>\n      <rect x="20" y="20" width="440" height="60" fill="orange" stroke="black" stroke-width="5" clip-path="url(#clip1)"/>\n      <text font-size="30" x="20" y="130">Rectangle being clipped</text>\n      <g clip-path="url(#clip2)">\n        <rect x="115" y="190" width="225" height="40" fill="aqua" stroke="blue" stroke-width="5"/>\n        <rect x="115" y="240" width="225" height="40" fill="lime" stroke="green" stroke-width="5"/>\n        <text font-size="30" x="115" y="180">Line of text to be clipped</text>\n      </g>\n      <text font-size="30" x="20" y="280">Group being clipped</text>\n      <!--  show the two rects and the overlap area -->\n      <g fill="none" stroke="#999" stroke-width="2">\n        <rect x="90" y="150" width="175" height="100"/>\n        <rect x="225" y="160" width="95" height="75"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-02-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: masking-path-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#ClippingPaths">\n      <p>\n        Test to see if clipPathUnits attribute is handled properly on a\n        clipPath element. Only tests the userSpaceOnUse and\n        objectBoundingBox items of the clipPathUnits. userSpace has been\n        tested by the previous test as it is the default.\n      </p>\n      <p>\n        The test at the top shows a pink rectangle that has been clipped by a\n        rectangular clipping path. The clipping path is defined using clipPathUnits=objectBoundingBox.\n        \n      </p>\n      <p>\n        The example at the bottom a rotated blue rectangle that has been clipped by a\n        rectangular clipping path. The clipping path is defined using clipPathUnits=userSpaceOnUse.\n        \n      </p>\n      <p>\n        The rendered picture should match the reference image exactly, except for possible\n        variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test passes if the pink rectangle and blue diamond do not have any\n        color painted outside of their black borders.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-02-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g shape-rendering="geometricPrecision">\n      <clipPath id="clip1" clipPathUnits="objectBoundingBox">\n        <rect x=".25" y=".5" width=".6" height="1"/>\n      </clipPath>\n      <rect x="10" y="10" width="430" height="80" fill="#F08" clip-path="url(#clip1)"/>\n      <rect x="117" y="50" width="258" height="40" fill="none" stroke="black" stroke-width="4"/>\n      <text font-size="30" x="20" y="130">clipPathUnits=objectBoundingBox</text>\n      <clipPath id="clip2" clipPathUnits="userSpaceOnUse">\n        <rect x="60" y="60" width="80" height="80"/>\n      </clipPath>\n      <rect transform="translate(100 200) rotate(-45)" x="0" y="0" width="120" height="120" fill="blue" clip-path="url(#clip2)"/>\n      <rect transform="translate(100 200) rotate(-45)" x="60" y="60" width="60" height="60" fill="none" stroke="black" stroke-width="4"/>\n      <text font-size="30" x="20" y="280">clipPathUnits=userSpaceOnUse</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-03-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: masking-path-03-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#ClippingPaths">\n      <p>\n        Test \'overflow\'/\'clip\' on outermost and inner \'svg\' elements.\n      </p>\n      <p>\n        There are two parts to the test. The first part tests viewport clipping\n        on outermost \'svg\' elements. The second part tests viewport clipping\n        on inner \'svg\' elements.\n      </p>\n      <p>\n        The test case also tests the initial value of the \'overflow\' property\n        to ensure that it is set to \'hidden\' for all \'svg\' elements.\n        Tester should zoom out and/or pan to check this.\n      </p>\n      <p>\n        To test clipping to the outermost \'svg\' element,\n        a rectangle with a light blue interior, a light red border and a black\n        string that says "Clip to outer \'svg\'" is painted four times such that\n        it will overflow each of the top, left, right and bottom\n        sides of the bounds of the outermost \'svg\' element, respectively.\n      </p>\n      <p>\n        To test clipping to inner \'svg\' elements, a rectangle with a light red\n        interior, a light blue border and a black string that says "Clip to\n        inner \'svg\'" is painted four times such that it will overflow each of\n        the top, left, right and bottom sides of the bounds of an inner \'svg\'\n        element, respectively.  \n      </p>\n      <p>\n        Note that minor text layout differences, as are permissible under CSS2\n        rules, can lead to slightly different visual results regarding where\n        the text strings get clipped.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if:</p>\n      <ul>\n        <li>The four "Outer Clip" boxed strings must not render outside the\n        outermost \'svg\' element (the 480x360 rectangular viewport) and\n        must continue to be clipped to this viewport if the image is zoomed in or out,\n        or panned.</li>\n        <li>The four "Inner Clip" boxed strings must not render outside the\n        bounds of the green rectangle.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-03-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g shape-rendering="geometricPrecision">\n      <!--text font-size="18" text-anchor="middle" x="240" y="70">Test \'overflow\'/\'clip\' on outermost and inner \'svg\' elements</text-->\n      <text font-size="18" x="10" y="70">Test \'overflow\'/\'clip\' on outermost and inner \'svg\' elements</text>\n      <!-- Test initial value for \'overflow\' property (i.e., hidden)\n       on outermost \'svg\' -->\n      <g font-size="48" stroke-width="2">\n        <g transform="translate(115,-20)">\n          <rect width="250" height="60" fill="#ccccff" stroke="#ff8888"/>\n          <text x="15" y="45">Outer Clip</text>\n        </g>\n        <g transform="translate(-175,150)">\n          <rect width="250" height="60" fill="#ccccff" stroke="#ff8888"/>\n          <text x="15" y="45">Outer Clip</text>\n        </g>\n        <g transform="translate(405,150)">\n          <rect width="250" height="60" fill="#ccccff" stroke="#ff8888"/>\n          <text x="15" y="45">Outer Clip</text>\n        </g>\n        <g transform="translate(115,330)">\n          <rect width="250" height="60" fill="#ccccff" stroke="#ff8888"/>\n          <text x="15" y="45">Outer Clip</text>\n        </g>\n      </g>\n      <!-- Test initial value for \'overflow\' property (i.e., hidden)\n       on inner \'svg\' -->\n      <rect x="115" y="100" width="250" height="160" fill="none" stroke="#006600" stroke-width="5"/>\n      <svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" x="115" y="100" width="250" height="160">\n        <g font-size="32" stroke-width="2">\n          <g transform="translate(50,-15)">\n            <rect width="150" height="35" fill="#ffaaaa" stroke="#6666ff"/>\n            <text x="6" y="26">Inner Clip</text>\n          </g>\n          <g transform="translate(-50,62.5)">\n            <rect width="150" height="35" fill="#ffaaaa" stroke="#6666ff"/>\n            <text x="6" y="26">Inner Clip</text>\n          </g>\n          <g transform="translate(150,62.5)">\n            <rect width="150" height="35" fill="#ffaaaa" stroke="#6666ff"/>\n            <text x="6" y="26">Inner Clip</text>\n          </g>\n          <g transform="translate(50,140)">\n            <rect width="150" height="35" fill="#ffaaaa" stroke="#6666ff"/>\n            <text x="6" y="26">Inner Clip</text>\n          </g>\n        </g>\n      </svg>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-04-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: masking-path-04-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#ClippingPaths">\n      <p>\n        This test exercises basic user-specified clip paths, using a text\n        string (i.e., content of a \'text\' element) as the clip path.\n      </p>\n      <p>\n        There is a rectangular image of a swirly blue pattern with large\n        yellow text, "Clip Test" superimposed. The image is a PNG file,\n        imported into the picture via the \'image\' element.\n      </p>\n      <p>\n        The test uses the \'rect\' element, as well as basic fill (solid primary\n        colors), stroke (black 1-pixel lines), font-family (Arial and\n        Impact) and font-size properties.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image, except for\n        possible variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-04-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g shape-rendering="geometricPrecision">\n      <defs>\n        <clipPath id="sample" clipPathUnits="userSpaceOnUse">\n          <text x="45" y="270" font-size="100" font-family="Impact">Clip Test</text>\n        </clipPath>\n      </defs>\n\n      <g>\n        <image xlink:href="' + Images['bluesquidj.png'] + '" preserveAspectRatio="none" x="30" y="20" width="410" height="140"/>\n        <text x="55" y="130" font-size="100" font-family="Impact" fill="yellow">Clip Test</text>\n      </g>\n      <g>\n        <image xlink:href="' + Images['bluesquidj.png'] + '" preserveAspectRatio="none" x="20" y="170" width="410" height="160" clip-path="url(#sample)"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-05-f.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: masking-path-05-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#ClippingPaths">\n      <p>\n        Test to see if clip-rule property has been implemented properly.\n      </p>\n      <p>\n        The test at the top shows a red rectangle that has been clipped by a\n        clipping path that overlaps itself.\n      </p>\n      <p>\n        The test at the bottom shows a blue rectangle that has been clipped by a\n        clipping path that overlaps itself.\n      </p>\n      <p>\n        The rendered picture should match the reference image exactly, except for possible\n        variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        In the first rectangle, the clip-rule is defined to be evenodd so the overlap should have a hole in it.\n        The clip-rule is defined to be nonzero so the overlap should be filled.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-05-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g shape-rendering="geometricPrecision">\n      <text font-size="14" x="150" y="20">Test for clip-rule property.</text>\n      <clipPath id="clip1">\n        <path clip-rule="evenodd" d="M200,40l20,0 0,60 20,0 0,-20 -60,0 0,-20 80,0 0,60 -60,0 0,-80z"/>\n      </clipPath>\n      <rect x="50" y="30" width="350" height="100" fill="red" clip-path="url(#clip1)"/>\n      <text font-size="12" x="100" y="140">clip-rule=evenodd</text>\n      <clipPath id="clip2">\n        <path clip-rule="nonzero" d="M200,170l20,0 0,60 20,0 0,-20 -60,0 0,-20 80,0 0,60 -60,0 0,-80z"/>\n      </clipPath>\n      <rect x="50" y="160" width="350" height="100" fill="blue" clip-path="url(#clip2)"/>\n      <text font-size="12" x="100" y="270">cliprule=nonzero</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-07-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.3" reviewer="CM" author="ED" status="accepted"\n    version="$Revision: 1.11 $" testname="$RCSfile: masking-path-07-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#ClippingPaths">\n        <p>\n          This tests that \'clipPath\' elements can be used together and how the clipping paths are intersected.\n        </p>\n      <p>\n        There is a gray-white pattern as a background for the two subtest rectangles. This is to show that the holes that are cut out using clip-paths are transparent.\n        The first subtest verifies that when you use the \'clip-path\' property on a child element inside a \'clipPath\' element the child element is clipped correctly.\n        The second subtest verifies that when a \'clipPath\' element has a \'clip-path\' property the result is the intersection of the two clip paths.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if the following conditions are met:\n			</p>\n			<ul>\n				<li>There is no red visible.</li>\n				<li>No shapes extend outside of the rects that have a thick black border.</li>\n				<li>For the left subtest:\n					<ul>\n						<li>There must be a large blue rect with a transparent smaller rect in it, and the intersection of two circles.</li>\n						<li>The borders of the clipregions are shown with black stroke.</li>\n						<li>The blue shapes must be visible only inside of these stroked regions.</li>\n				 	</ul>\n				</li>\n				<li>For the right subtest:\n					<ul>\n						<li>The test on the right must show part of the large blue rect shape with a transparent rect in it, and part of a circle.</li>\n						<li>The blue shapes must only be visible inside of the circle that has black stroke.</li>\n					</ul>\n				</li>\n			</ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-07-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <defs>\n      <clipPath id="clipCircle1">\n        <circle id="c1" cx="100" cy="100" r="50"/>\n      </clipPath>\n\n      <clipPath id="clipCircle2">\n        <circle id="c2" cx="150" cy="150" r="50"/>\n      </clipPath>\n\n      <clipPath id="clipPath1">\n        <path id="p1" d="M10 10l100 0 0 100 -100 0ZM50 50l40 0 0 40 -40 0Z" clip-rule="evenodd"/>\n      </clipPath>\n\n      <!-- "If a valid \'clip-path\' reference is placed on one of the children of a \'clipPath\' element, \n		      then the given child element is clipped by the referenced clipping path before OR\'ing the \n			  silhouette of the child element with the silhouettes of the other child elements." -->\n      <clipPath id="clipRects1">\n        <rect x="50" y="30" width="25" height="100"/>\n        <rect x="25" y="50" width="10" height="10" clip-path="url(#clipTwoCircles)"/>\n      </clipPath>\n\n      <!-- Test use in a clipPath -->\n      <clipPath id="clipTwoCircles">\n        <use xlink:href="#c1"/>\n        <use xlink:href="#c2"/>\n      </clipPath>\n\n      <clipPath id="clipInClip1">\n        <use xlink:href="#c2" clip-path="url(#clipCircle1)"/>\n        <use xlink:href="#p1"/>\n      </clipPath>\n\n      <clipPath id="clipOnClip1" clip-path="url(#clipCircle1)">\n        <use xlink:href="#c2"/>\n        <use xlink:href="#p1"/>\n      </clipPath>\n\n      <pattern patternUnits="userSpaceOnUse" id="pattern" x="0" y="0" width="20" height="20">\n        <rect x="0" y="0" width="10" height="10" fill="gray"/>\n        <rect x="10" y="10" width="10" height="10" fill="gray"/>\n      </pattern>\n    </defs>\n\n    <rect x="20" y="70" width="210" height="210" fill="url(#pattern)" stroke="black" stroke-width="4"/>\n		<rect x="250" y="70" width="210" height="210" fill="url(#pattern)" stroke="black" stroke-width="4"/>\n\n    <text x="240" y="2em" text-anchor="middle">Test clip unions and intersections</text>\n\n    <g transform="translate(20, 70)">\n      <g id="subtest1">\n        <use xlink:href="#p1" fill="red" fill-rule="evenodd"/>\n        <use xlink:href="#c2" fill="red" clip-path="url(#clipCircle1)"/>\n        <use xlink:href="#c1" fill="red" clip-path="url(#clipCircle2)"/>\n\n        <rect width="200" height="200" fill="blue" clip-path="url(#clipInClip1)"/>\n\n        <use xlink:href="#c2" fill="none" clip-path="url(#clipCircle1)" stroke="black"/>\n        <use xlink:href="#c1" fill="none" clip-path="url(#clipCircle2)" stroke="black"/>\n        <use xlink:href="#p1" fill="none" stroke="black"/>\n      </g>\n\n      <g id="subtest2" transform="translate(230,0)">\n        <g clip-path="url(#clipCircle1)">\n          <use xlink:href="#c2" fill="red"/>\n          <use xlink:href="#p1" fill="red" fill-rule="evenodd"/>\n        </g>\n\n        <rect width="300" height="300" fill="blue" clip-path="url(#clipOnClip1)"/>\n\n        <use xlink:href="#c1" fill="none" stroke="black"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.11 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved --><!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-08-b.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.3" reviewer="CM" author="ED" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: masking-path-08-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#EstablishingANewClippingPath">\n        <p>\n          This tests a few \'clip-path\' cases to see that clipping paths are applied and constructed properly.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        There are nine subtests in this test. There should be a big stroked rectangle with nine smaller rectangles inside. If all of the smaller rectangles are green the test has passed.\n      </p>\n      <p>\n        The test has passed if:\n      </p>\n			<ul>\n				<li>There is no red visible.</li>\n				<li>Each of the nine small rectangles are green.</li>\n			</ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-08-b.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n	\n		<defs>\n			<clipPath id="emptyclip">\n			</clipPath>\n			<clipPath id="hiddenclip">\n				<rect width="100" height="100" visibility="hidden"/>\n			</clipPath>\n			<clipPath id="displayclip">\n				<rect width="100" height="100" display="none"/>\n			</clipPath>\n			<clipPath id="opacityclip">\n				<rect width="100" height="100" opacity="0"/>\n			</clipPath>\n			<clipPath id="strokefillclip">\n				<rect width="100" height="100" stroke="none" fill="none"/>\n			</clipPath>\n			<clipPath id="strokewidthclip">\n				<rect x="40" y="40" width="20" height="20" stroke="black" stroke-width="80"/>\n			</clipPath>\n			<clipPath id="strokeopacityclip">\n				<rect x="40" y="40" width="20" height="20" stroke="black" stroke-opacity="0" stroke-width="80"/>\n			</clipPath>\n			<clipPath id="fillopacityclip">\n				<rect width="100" height="100" fill-opacity="0"/>\n			</clipPath>\n		</defs>\n		\n		<text x="240" y="50" text-anchor="middle">Establishing a new clipping path</text>\n		\n		<g transform="scale(0.5) translate(320 200)">\n			<rect width="100" height="100" fill="lime"/>\n			<rect width="100" height="100" fill="red" clip-path="url(#emptyclip)"/>\n\n			<g transform="translate(110 0)">\n				<rect width="100" height="100" fill="lime"/>\n				<rect width="100" height="100" fill="red" clip-path="url(#hiddenclip)"/>\n			</g>\n			\n			<g transform="translate(220 0)">\n				<rect width="100" height="100" fill="lime"/>\n				<rect width="100" height="100" fill="red" clip-path="url(#displayclip)"/>\n			</g>\n\n			<!-- This has an intentionally broken clip-path url -->\n			<g transform="translate(0 110)">\n				<rect x="0.5" y="0.5" width="99" height="99" fill="red"/>\n				<rect width="100" height="100" fill="lime" clip-path="url(#unknown)"/>\n			</g>\n			\n			<g transform="translate(110 110)">\n				<rect x="0.5" y="0.5" width="99" height="99" fill="red"/>\n				<rect width="100" height="100" fill="lime" clip-path="url(#opacityclip)"/>\n			</g>\n			\n			<g transform="translate(220 110)">\n				<rect x="0.5" y="0.5" width="99" height="99" fill="red"/>\n				<rect width="100" height="100" fill="lime" clip-path="url(#strokefillclip)"/>\n			</g>\n			\n			<g transform="translate(0 220)">\n				<rect width="100" height="100" fill="lime"/>\n				<rect width="100" height="100" fill="red" clip-path="url(#strokewidthclip)"/>\n				<rect x="39" y="39" width="22" height="22" fill="lime"/>\n			</g>\n			\n			<g transform="translate(110 220)">\n				<rect width="100" height="100" fill="lime"/>\n				<rect width="100" height="100" fill="red" clip-path="url(#strokeopacityclip)"/>\n				<rect x="39" y="39" width="22" height="22" fill="lime"/>\n			</g>\n			\n			<g transform="translate(220 220)">\n				<rect x="0.5" y="0.5" width="99" height="99" fill="red"/>\n				<rect width="100" height="100" fill="lime" clip-path="url(#fillopacityclip)"/>\n			</g>\n			\n			<rect width="320" height="320" fill="none" stroke="black"/>\n		</g>\n		\n		\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved --><!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-10-b.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.3" reviewer="SVGWG" author="ED" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: masking-path-10-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#Masking">\n        <p>\n          This tests a few \'mask\' cases to see that masks are applied and constructed properly.\n        </p>\n      <p>\n          There are nine subtests in this test. There should be a big stroked rectangle with nine smaller rectangles inside. If all of the smaller rectangles are green the test has passed.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if:\n      </p>\n			<ul>\n				<li>There is no red visible.</li>\n				<li>Each of the nine small rectangles are green.</li>\n			</ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-10-b.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n	\n		<defs>\n			<mask id="emptymask"/>\n			<mask id="hiddenmask">\n				<rect width="100" height="100" visibility="hidden"/>\n			</mask>\n			<mask id="displaymask">\n				<rect width="100" height="100" display="none"/>\n			</mask>\n			<mask id="opacitymask">\n				<rect width="100" height="100" opacity="0"/>\n			</mask>\n			<mask id="strokefillmask">\n				<rect width="100" height="100" stroke="none" fill="none"/>\n			</mask>\n			<mask id="strokewidthmask">\n				<rect x="40" y="40" width="20" height="20" stroke="white" stroke-width="20"/>\n			</mask>\n			<mask id="strokeopacitymask">\n				<rect x="40" y="40" width="20" height="20" stroke="white" stroke-opacity="0" stroke-width="20"/>\n			</mask>\n			<mask id="fillopacitymask">\n				<rect width="100" height="100" fill-opacity="0"/>\n			</mask>\n		</defs>\n		\n		<text x="240" y="50" text-anchor="middle">Establishing a new masking path</text>\n		\n		<g transform="scale(0.5) translate(320 200)">\n			<rect width="100" height="100" fill="lime"/>\n			<rect width="100" height="100" fill="red" mask="url(#emptymask)"/>\n\n			<g transform="translate(110 0)">\n				<rect width="100" height="100" fill="lime"/>\n				<rect width="100" height="100" fill="red" mask="url(#hiddenmask)"/>\n			</g>\n			\n			<g transform="translate(220 0)">\n				<rect width="100" height="100" fill="lime"/>\n				<rect width="100" height="100" fill="red" mask="url(#displaymask)"/>\n			</g>\n\n			<!-- This has an intentionally broken mask url -->\n			<g transform="translate(0 110)">\n				<rect x="0.5" y="0.5" width="99" height="99" fill="red"/>\n				<rect width="100" height="100" fill="lime" mask="url(#unknown)"/>\n			</g>\n			\n			<g transform="translate(110 110)">\n				<rect x="0.5" y="0.5" width="99" height="99" fill="lime"/>\n				<rect width="100" height="100" fill="red" mask="url(#opacitymask)"/>\n			</g>\n			\n			<g transform="translate(220 110)">\n				<rect x="0.5" y="0.5" width="99" height="99" fill="lime"/>\n				<rect width="100" height="100" fill="red" mask="url(#strokefillmask)"/>\n			</g>\n			\n			<g transform="translate(0 220)">\n				<rect width="100" height="100" fill="lime"/>\n				<rect width="100" height="100" fill="red" mask="url(#strokewidthmask)"/>\n				<rect x="29" y="29" width="42" height="42" fill="lime"/>\n			</g>\n			\n			<g transform="translate(110 220)">\n				<rect width="100" height="100" fill="lime"/>\n				<rect width="100" height="100" fill="red" mask="url(#strokeopacitymask)"/>\n			</g>\n			\n			<g transform="translate(220 220)">\n				<rect x="0.5" y="0.5" width="99" height="99" fill="lime"/>\n				<rect width="100" height="100" fill="red" mask="url(#fillopacitymask)"/>\n			</g>\n			\n			<rect width="320" height="320" fill="none" stroke="black"/>\n		</g>\n		\n		\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-11-b.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="ED" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: masking-path-11-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/masking.html#Masking">\n      <p>\n        Test the mask element with child elements with white and black fills,\n        to create a mask that clips out some text in the middle.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if the letters \'ABC\' are visible inside a blue\n        circle, and the letters are transparent, showing the checkered\n        background image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-11-b.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <defs>\n      <mask id="maskedtext">\n        <circle cx="50%" cy="50%" r="50" fill="white"/>\n        <text x="50%" y="55%" text-anchor="middle" font-size="48">ABC</text>\n      </mask>\n    </defs>\n    \n    <image xlink:href="' + Images['DisplaceChecker.png'] + '" x="140" y="80" width="200" height="200"/>\n    <rect width="100" height="100" x="190" y="130" fill="blue" mask="url(#maskedtext)"/>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'masking-path-13-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="accepted" version="$Revision: 1.2 $" testname="$RCSfile: masking-path-13-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/masking.html#clipPath-geometry">\n      <p>\n        Test that the children of the \'clipPath\' element are not rendered directly.\n      </p>\n    </d:testDescription>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is a green rectangle, and no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-13-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  <rect x="100" y="100" width="200" height="100" fill="green" />\n    <clipPath id="testClip">\n        <rect x="100" y="100" width="200" height="100" fill="red" />\n    </clipPath>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>'},
  {name: 'masking-path-14-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="accepted" version="$Revision: 1.2 $" testname="$RCSfile: masking-path-14-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/masking.html#EstablishingANewClippingPath">\n      <p>\n        The \'clipPath\' element itself and its children elements do not inherit clipping paths from ancestors of the \'clipPath\' element.\n      </p>\n             <p>\n        Overlay a red \'rect\' with a black \'rect\' of a larger size. Define a \'clipPath\' with a \'rect\' of the same size as the red \'rect\', but different \'x\' and \'y\' offsets. Reference that \'clipPath\' from a \'g\' element containing another \'clipPath\' element. In this latter \'clipPath\', specify a \'rect\' of the same size and same \'x\' and \'y\' offsets as the red \'rect\', and reference it from the black \'rect\' element. Reference the same \'clipPath\' elements, but this time with a black \'rect\' which overlays a red \'rect\' of a larger size. If there is no red on the page, the first \'clipPath\' was not inherited by the second \'clipPath\'.\n      </p>\n    </d:testDescription>\n        <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there are two black rectangles, and there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: masking-path-14-f.svg,v $</title>\n    <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n        <clipPath id="testClipPathAncestor">\n        <rect x="50" y="50" width="50" height="50" />\n    </clipPath>\n    <g clip-path="url(#testClipPathAncestor)">\n        <clipPath id="testClipPath">\n            <rect x="0" y="0" width="50" height="50" />\n        </clipPath>\n    </g>\n    <svg x="0" y="0" width="200" height="200">\n        <rect x="0" y="0" width="50" height="50" fill="red" />\n        <rect x="0" y="0" width="200" height="200" fill="black" clip-path="url(#testClipPath)" />\n    </svg>\n    <svg x="200" y="0" width="200" height="200">\n        <rect x="0" y="0" width="200" height="200" fill="red" clip-path="url(#testClipPath)" />\n        <rect x="0" y="0" width="50" height="50" fill="black" />\n    </svg>\n  </g>\n   <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>'},
  {name: 'metadata-example-01-t.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: metadata-example-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/metadata.html#Example">\n        <p>\n          Check that metadata in a variety of namespaces, inside a metadata\n          element, does not affect rendering in any way. The file is not valid to \n          the SVG 1.1 DTD, but is well formed.\n        </p>\n        <p>The diagram on the table is, by the way, a visualization of the \n        RDF metadata in the graphic.</p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered result should match the reference image and there should be\n        no error messages or warnings\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: metadata-example-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  <metadata>\n    <rdf:RDF \n      xmlns:prism="http://prismstandard.org/namespaces/1.0/basic/"\n      xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"\n      xmlns:dc="http://purl.org/dc/elements/1.1/"\n      xmlns:rdfs="http://www.w3.org/2000/01/rdf-schema#">\n      <!-- The empty value for the rdf:about attribute means it is describing  \n            the file this is contained in. -->\n         <rdf:Description rdf:about="">\n           <dc:description>Line drawing of woman in antique attire, \n             which looks legal or perhaps mystical.</dc:description>\n           <dc:format>image/svg+xml</dc:format>\n           <dc:subject>Sibyll Trelawney</dc:subject>\n           <dc:type rdf:resource="http://prismstandard.org/vocabularies/1.0/resourcetype.xml#birdsEye"/>\n           <dc:type rdf:resource="http://prismstandard.org/vocabularies/1.0/resourcetype.xml#illustration"/>\n         </rdf:Description>\n       </rdf:RDF>\n    </metadata>\n    <g transform="scale(1.2)">\n      <g id="Sibyll" fill="#FFF" stroke="#000" stroke-miterlimit="4">\n        <g stroke="none">\n          <path fill="#000" d="M132.386,113.177c0.394-2.645,0.978-6.189,1.681-10.262c-7.597-5.655-19.264-14.488-26.764-25.988l-1.667-0.667c5.333,15.167,25,32.833,26.75,36.917l15.583,15.25c0,0,10,10.667,12.167,13.833c2.167,3.167,3.5,7.167,1.333,9.833     c-1.667-1-4.833-5.333-8-9.167c0,0-7-1.5-13.833-1.333c0,0,2.667,5.5,3.833,8c0.563,1.207,0.465,2.141,0.064,3.047c6.241,4.828,12.252,13.801,16.102,18.453c4,4.833,5.548,8.822,12.167,10.167c10.667,2.167,16.667,7.5,19.667,10s3,4,1.833,4.833     c0,0-4.167,1.5-11,2c-6.833,0.5-12.333-3.333-15.167-3.333c-4.333-0.167-6.333-3-7.833-6.333c-1.5-3.333-4.5-4.833-9.167-7.667c-4.293-2.606-14.858-7.894-19.053-14.174c-4.791,3.163-10.643,5.756-17.447,8.34l-1.333-1.333c-1.933,0.773-4.538,1.52-7.574,1.925     c2.113,6.17,7.926,15.123,10.157,16.908c2.5,2,4.25,4.25,4.25,6.5s-0.75,5.5-3.75,9.5c-0.5,13-6,19.75-12.5,22.25c-4.5-15-0.5-25.25,1.5-31.25c0,0-7.472-6.813-12.938-12.608c0.73,3.979,1.468,7.703,2.188,10.942c0,0-1.232,1.575-3.5,0.833     c-8.667-2.833-22.167-10.333-27.333-16.333c-2.667-7.833-6.5-33.667-7.667-44.333c0,0-5.167-1.333-10.167-2.667c0,0-0.667-0.333-1.5-3.5c0,0-5.667-1.667-11.833-3c-6.167-1.333-5.667-2.667-6.667-6.167s0.667-28.5,2.5-36.667c1.833-8.167,10.5-22.167,15.833-28     c0,0-1.006-0.135-1.833-2.5c-5.833-16.667-7.833-27.333-0.667-37.667c7.167-10.333,20.167-6,26.667-2.833c6.5,3.167,6.667,8.333,8.167,10.833s0.333,4.833,2,7.167c17.667,7,26.833,16.667,38.833,27.167c7.5,3.667,13.667,9.667,18.667,13.833     c1.124,0.937,2.323,2.151,3.556,3.525c1.444-7.663,2.858-14.936,3.944-20.275c3-14.75,9.5-47,10.25-49.25l3,0.25c29.25,0.25,69.75-1,69.75-1c0.25,20.25,0.25,62.5,0.25,74.25s0,39,0.25,42.25c0,0-3.75,2-8.333,2.75c1,0.167,1.667,2.5-0.167,3.333     c-3,0.167-25.333,0.167-33-1c-1.245-0.189-2.923-0.326-4.879-0.422c2.441,2.484,8.906,8.839,19.629,17.838l-0.25,8.25l-9,0.25l-31.952-26.426c-4.665,0.081-8.525,0.176-10.215,0.176l-15.583-15.25z"/>\n          <path fill="#000" d="M60.654,1.358c-0.844,0.915-1.808,2.263-2.857,3.938c-1.195-1.07-3.74-3.216-6.342-4.566l-1.904,2.413l6.058,5.882c-0.131,0.236-0.264,0.477-0.397,0.721C46.57,3.133,43.441,0.554,43.441,0.554l-2.39,2.766     c3.972,4.632,9.453,8.916,11.891,10.729c-0.211,0.413-0.423,0.831-0.636,1.255C39.417,5.651,34.449,0.917,34.449,0.917l-2.717,2.945c7.647,7.33,15.917,14.754,18.024,16.638c-0.204,0.425-0.408,0.854-0.613,1.284C36.8,12.691,27.994,4.367,25.422,0.449     l-2.39,2.765c8.104,8.539,20.319,19.211,24.227,22.583c-0.206,0.443-0.411,0.888-0.617,1.333c-9.527-6.31-14.627-11.31-18.931-15.432C23.201,7.377,17.976,1.917,15.896,0L13.02,3.119c7.717,8.503,25.108,24.004,31.619,28.399     c-0.243,0.537-0.485,1.073-0.726,1.607C30.32,22.46,10.721,5.175,6.985,2.362L4.901,4.448c8.872,9.074,31.669,29.336,36.615,34.038c-0.3,0.677-0.597,1.346-0.89,2.006C25.883,27.823,2.664,6.874,2.664,6.874L1.12,9.939c10.493,10.57,33.952,32.544,37.258,35.638     c-0.259,0.585-0.512,1.158-0.758,1.715C22.515,33.526,7.848,20.476,3.401,16.852l-2.237,2.426c11.139,10.986,30.478,28.518,34.581,32.227c-0.323,0.72-0.628,1.394-0.913,2.015C21.063,40.369,5.95,27.057,2.685,23.887l-2.383,2.932     c8.691,8.46,29.709,27.74,32.738,30.515c-0.304,0.651-0.648,1.404-1.029,2.247C18.259,46.584,5.606,34.76,2.869,32.553l-2.25,2.092c9.949,10.825,26.338,25.906,29.82,28.451c-0.32,0.724-0.656,1.485-1.006,2.28C16.333,52.826,2.679,40.233,2.679,40.233     l-2.224,2.759c9.067,9.678,23.141,23.04,27.343,26.12c-0.297,0.683-0.602,1.383-0.912,2.098C15.543,60.602,2.703,49.073,2.703,49.073C1.238,49.966,0,52.352,0,52.352C11.334,63.218,22.136,73.12,24.95,75.689c-0.261,0.606-0.525,1.22-0.792,1.841     C8.771,63.626,2.36,57.093,2.36,57.093l-1.884,2.912c8.419,8.851,18.809,19.06,21.778,21.963c-0.157,0.366-0.313,0.733-0.472,1.102C10.825,74.056,2.944,67.412,2.944,67.412l-1.737,2.405c8.374,8.123,16.46,14.983,18.948,17.065     c-0.242,0.567-0.484,1.137-0.728,1.709C10.261,82.019,3.115,75.745,3.115,75.745l-1.85,3.745c8.161,7.937,14.37,12.905,16.005,14.183c-0.244,0.576-0.488,1.152-0.732,1.729C7.159,87.785,4.131,84.377,4.131,84.377l-2.363,3.432     c5.442,5.678,11.379,9.753,13.319,11.023c-0.25,0.592-0.5,1.183-0.748,1.773l-10.71-8.035l-1.884,2.912l10.717,9.579c-0.152,0.362-0.303,0.723-0.455,1.083l-8.603-6.725l-1.724,2.738l8.792,7.647c-0.276,0.659-0.549,1.313-0.821,1.962l-6.45-5l-1.737,2.405     l6.509,6.618c-0.19,0.457-0.379,0.911-0.566,1.36l-5.095-3.509l-1.384,2.892l4.96,4.278c-0.144,0.347-0.286,0.69-0.427,1.031l-2.546-1.553l-1.211,3.051l2.199,2.281c-1.341,3.262-2.508,6.131-3.433,8.444l2.725,1.391c1.204-3.218,31.228-73.322,36-83.189     S60.577,7.7,62.173,1.797l-1.519-0.439z"/>\n          <path d="M142.803,106.261c-1,0.5-3,1-5-0.5c0,0-3.667,12.333-2.667,17.667c3.667,1.833,42.833,2.5,52.667,2.5c16.833,0,26.167,1,30,0.5c4.583-0.75,8.333-2.75,8.333-2.75c-0.25-3.25-0.25-30.5-0.25-42.25s1.333-54.354-0.25-74.25c0,0-40.5,1.25-69.75,1     c0.5,5.75-2.395,17.829-4,24.25c-1.5,6-5,25.25-9.929,48.894c3.256,4.04,6.499,8.469,9.012,11.273c0,0,0.089,1.697-0.189,3.521c3.856,1.062,6.481,3.062,7.981,5.312s2.25,5.625,1.375,7.875c0.625,3.125,0.5,5.375-0.875,5.75s-2.5,1-4.5,0.25     c-0.875,3.25-1.25,3.5-1.25,3.5c-1.75,0-2.375-0.125-2.375-0.125c-3-4.125-8.667-7.833-8.333-12.417z"/>\n          <path fill="#000" d="M207.303,18.594c0,0-19,6.167-39.167,13.333c0,0,0.716,6.012,1.617,11.404c-4.629,2.158-9.096,4.243-12.617,5.93c0,0,5,18,10.333,30.333c2.833-2.167,23-11.833,37.167-19.667c0,0-0.888-2.858-2.156-6.833     c1.809-0.587,7.883-2.55,9.156-2.833c1.5-0.333,1.5-2.833,1.5-2.833s-4.333-21.667-5.833-28.833z"/>\n          <path d="M133.469,159.427c-6.038,5.712-26.618,15.097-44.84,10.635c-1.833-11.777-3.345-23.232-3.993-29.635c-1.333-13.167-1.5-27.167-1.5-27.167c7,0.833,11.333-0.333,11.333-0.333c-0.333-4,0.5-9.5,0.5-9.5c2.5,3.167,7,5,8.333,1.833     c1.333-3.167,2.5-8.667,2.5-8.667c3.5,2.167,10,9.667,15.833,19c5.833,9.333,11.833,18.833,15.333,26.5c3.5,7.667,2.667,11.5-3.5,17.333z"/>\n          <path d="M150.303,98.094c-0.573,1.604-3.428,4.624-5.483,6.519c0.691,4.564,3.566,8.189,4.941,9.189s2.75,2,2.75,2c0.625-2.125-0.25-4.25-3.125-5.625c-0.375-1,0.75-3,1.75-2s2,0.375,2,0.375c1.875,2.75,2.125,4.125,2.125,4.125l2,0.5     c0-3.125-0.625-4.5,0.375-6.25c-1-3.75-2.292-7.042-7.333-8.833z"/>\n          <path d="M115.386,197.677c-1.5,7.25-3.25,13.25-4.5,16.25s-0.75,5.25-4.75,5c-3.25-1.5-3.5-3.75-2.25-8.5s3.5-9,3.5-12.25c-6.583-7.147-13.873-14.577-17.08-17.819c-0.354-2.073-0.703-4.181-1.043-6.295c4.057,1.386,8.024,1.841,11.607,1.757     c3.328,8.71,11.053,18.163,14.516,21.857z"/>\n          <path d="M141.636,155.761c0.054-0.094,0.108-0.187,0.164-0.277c7.517,8.107,12.258,14.859,14.67,17.111c2.5,2.333,6.5,8.667,10,9.833c3.5,1.167,11.833,4.167,14.333,5.333s2.667,1.833,2.167,3.667c-0.5,1.833-1.333,2.833-7,2.167     c-5.667-0.667-11.833-1.5-12.167-3.833c-0.333-2.333-7.333-9.5-11.833-11.5c-4.067-1.808-15.622-8.652-18.299-13.521c3.277-2.538,5.95-5.452,7.965-8.979z"/>\n          <path d="M193.136,150.927l-3,0.25c-13.131-11.256-23.025-19.555-27.146-22.997c1.969-0.023,3.993-0.039,5.991-0.041c9.588,10.269,24.155,22.788,24.155,22.788z"/>\n          <path d="M169.303,74.427c-4.667-11.833-7.833-23.667-7.833-23.667c13.333-6.333,32-15.167,32-15.167c2.5,9.167,7.333,23.333,7.333,23.333c-15.833,7.5-31.5,15.5-31.5,15.5z"/>\n          <path d="M201.697,50.65c-2.207-6.863-5.115-15.666-6.728-19.556c-2.217,1.478-12.056,6.098-21.979,10.728c-0.355-1.502-1.255-5.506-1.521-8.561c2.5-0.5,22.333-6.667,33.5-10.167c0.333,2.833,2.333,12.833,4.667,25.167c-1.124,0.75-5.709,1.873-7.938,2.389z"/>\n          <path d="M121.636,69.302l-0.333-2.333c5.333,3.333,20.667,18,26.167,25.667c0,2-1.833,1.333-2.833,0.333s-3.667-5.167-9-10.5c-5.333-5.333-12-13.333-14-13.167z"/>\n          <path d="M119.136,74.136c-0.667-6.833-3.333-11.333-12-18.5c-8.667-7.167-19.833-16.667-26.667-18.5c1.167,1.167,1.5,2.333,1.5,2.333c9.167,4.667,25.667,18.833,29.5,24.333s6.333,10,7.667,10.333z"/>\n          <path d="M68.441,165.532c-0.229-1.13-0.446-2.215-0.649-3.251c-1.987-0.381-3.908-1.266-5.172-1.943c0.2,1.172,0.399,2.327,0.595,3.453c1.945,0.734,3.919,1.353,5.227,1.741z"/>\n          <path d="M69.66,171.421c-2.355-0.877-4.315-1.616-5.454-2.046c0.217,1.205,0.426,2.347,0.622,3.412c2.266,0.833,4.26,1.692,5.618,2.308c-0.274-1.266-0.536-2.491-0.786-3.674z"/>\n          <path d="M61.589,154.129c2.229,0.848,3.901,1.444,4.997,1.822c-0.184-0.999-0.351-1.93-0.504-2.797c-1.253-0.34-2.919-0.923-4.952-1.916c0.151,0.962,0.304,1.927,0.46,2.891z"/>\n          <path d="M65.795,177.971c0.369,1.946,0.59,3.082,0.59,3.082s3.25,3.75,6.5,5c-0.317-1.384-0.622-2.732-0.916-4.042c-2.397-1.074-4.802-2.904-6.174-4.04z"/>\n          <path d="M64.884,145.852c-0.178-1.214-0.249-1.8-0.249-1.8l-4.75-1.25c0.093,0.678,0.189,1.366,0.288,2.06c1.966,0.497,3.552,0.803,4.711,0.99z"/>\n          <path d="M41.469,94.136c0.5,5.5,2.833,15.333,2.833,15.333l7.333,0.833l1.5,1.5c1-3.667,3.5-5.333,6.5-5.167s13.167,0,13.167,0c0.167-4.5,0.833-11,0.833-11c-2,4-3.5,4.833-6.333,4.167c-2.833-0.667-22.167-5.5-25.833-5.667z"/>\n          <path d="M44.303,90.636l2.167-2.833c11.667,1.5,25.333,5.667,25.333,5.667s-1,2.833-2.667,3.667c-12.333-2.667-24.833-6.5-24.833-6.5z"/>\n          <path d="M49.636,114.969c-0.5,2.167-0.5,8.5-0.5,8.5c3.333,0,4.833,0.5,4.667,1.833c1.5,0.167,2.833,1.5,2.833,1.5c2.833-0.333,5.167,1.333,9.167,1.5c4,0.167,5.5,2,8.5-0.667c-3.5,0.167-9.167-0.167-9.5-2.333c4.333-0.333,9.167,0.333,10.333-0.5     c0.833-1,0-1.667,0-1.667c-5.167,0-11.167-0.333-11-2c0.167-1.667,4.333-0.333,6.5-0.167c2.167,0.167,6,0.333,6.167-1.5c0.167-1.833-2.833-0.833-4.833-0.833s-7.5,0.167-7.333-1.5c0.167-1.667,2-1,5.5-0.833c3.5,0.167,6,0,6.167-1.333     c-3-0.5-7.5-1.333-9.833-1.667c-2.333-0.333-5.5-0.167-5.5-0.167c-0.5-1.667,1.333-2.833,4-2.167c2.667,0.667,5,0.667,5,0.667s3.5-0.667,2.5-1.667s-7.333-0.333-10.5-1c-3.167-0.667-6.167-0.333-6.833,2.167c-0.667,2.5-0.833,4.333-5.5,3.833z"/>\n          <path d="M52.969,128.302c-0.167,3-1.333,4.5-1.333,4.5c7,1.167,13.667,2,15.833,2.667c2.5-1.667,2.5-4,2.5-4c-6-0.167-11-1.167-17-3.167z"/>\n          <path d="M48.303,83.802c0.32-0.641,0.712-1.385,1.158-2.195c-3.615-2.958-6.491-4.972-6.491-4.972c0.531-1.044,1.041-2.015,1.535-2.927c2.657,2.698,5.046,4.441,6.417,5.345c0.384-0.646,0.789-1.311,1.211-1.984c-2.489-1.858-5.061-4.094-6.501-5.381     c0.501-0.871,0.986-1.675,1.458-2.414c2.28,2.454,5.479,4.286,6.863,5.014c0.36-0.527,0.728-1.049,1.1-1.563c-2.814-2.162-4.917-4.646-6.071-6.168c0.626-0.813,1.238-1.517,1.844-2.126c2.739,2.539,5.216,4.473,6.461,5.41c0.314-0.374,0.627-0.733,0.94-1.077     c-2.576-2.421-4.665-4.903-5.513-5.949c0.684-0.484,1.375-0.871,2.09-1.181c1.745,2.559,3.975,4.467,5.164,5.387c0.454-0.404,0.901-0.759,1.336-1.054l-3.5-4.167c0,0-4.5-1.167-11.167-2.333c-2.833,2.5-10.167,14-13.667,20.5s-5,22.5-5.167,28.167     c-0.167,5.667-0.833,12,0.5,15.333c0,0,0.506-0.025,1.369-0.083c0.068-3.272-0.202-6.251-0.202-6.251s0.64-0.07,1.667-0.163v6.307c0.644-0.051,1.375-0.113,2.167-0.188v-6.298c0.526-0.04,1.087-0.079,1.668-0.115l1.005,6.131c0.435-0.051,0.878-0.105,1.327-0.163     v-6.086c0.758-0.03,1.52-0.049,2.261-0.055l0.32,5.773c0.916-0.145,1.831-0.305,2.723-0.482l-0.111-5.215c0.679,0.048,1.292,0.12,1.806,0.223l0.974,4.384c0.064-0.017,0.129-0.034,0.192-0.051c0.167-2.667,0.333-6.333,1.667-8c0,0-4.333-0.833-7.833-1.667     c-3.5-0.833-7.167,1.333-7.167,1.333l-1-3.167c0,0,2.333-0.167,5.833-3.167c0,0,1.333-2.833,2.333-7c0,0,0.5-2.667-0.5-5c-1-2.333,0.167-4,1.667-4c0,0,1.667-1,2.833-4c-0.833-1-0.333-2.833-2.167-4.333l1-3.5c0,0,2.333,2.833,6.167,5.167z"/>\n          <path d="M72.469,87.636c-3-10-4.333-21.333-4.333-21.333c1.833,0.167,3-1.667,2.833-3.333c-0.167-1.667,0.167-3.833,0.167-3.833c2.5,0,6.833,2.667,6.5-2.167l1.833-0.5l-0.667,1.333c5.667,2.5,10.167,8,13,11c-0.167,3.167-1.333,4.833-1.333,4.833     c-7.5-8.5-10.667-11.667-17.5-13.5c-0.833-0.167-1.167,0.833-1.167,0.833c3.667,11.5,7.667,18.5,6.5,24.833c-1.167,1.833-5.833,1.833-5.833,1.833z"/>\n          <path d="M71.803,57.136c1.333-0.5,3.5-0.167,3.5-0.167v1c0,0-1.833,0.833-3.5-0.833z"/>\n          <path d="M69.303,59.469c-0.5,2-0.833,4.833-0.833,4.833c-2.833-0.5-7-2.167-8.333-5c-0.167-1.833-0.5-3.333-0.5-3.333c4.167,2.333,7.833,3.833,9.667,3.5z"/>\n          <path d="M61.041,22.638c1.264-0.02,4.413-0.208,7.262-1.502c-1.5-6.333-16.5-5.667-19-5.167s-6,3.833-7.333,6.667c0.407,0.078,0.821,0.147,1.241,0.209c0.353-0.971,0.765-1.43,0.967-1.61c0.539-0.141,1.064-0.269,1.579-0.386l-0.121,2.274     c0.448,0.038,0.897,0.069,1.347,0.094c0.278-0.639,0.836-1.885,1.368-2.879c0.916-0.149,1.796-0.258,2.648-0.325l-0.633,3.291c0.734-0.001,1.454-0.015,2.151-0.036l1.019-3.336c1.12,0.02,2.201,0.116,3.266,0.287v2.805c0.273-0.022,0.535-0.045,0.784-0.068     l1.205-2.329c0.706,0.176,1.409,0.385,2.118,0.627l0.132,1.386z"/>\n          <path d="M80.719,45.948c-1.216,1.93-3.617,3.119-4.833,3.229c0,0,1.265-2.633,3.503-5c0.58-0.479,0.58-1.229-0.12-1.646c-0.467,0.238-1.198,0.661-1.884,1.27c-1.125,1-2.75-0.25-3.25-1.5c0.781-1.45,3.351-1.408,4.961-1.827c0.622-0.527-0.128-1.34-0.128-1.34     c-2.833-3-7.167-4.333-7.167-6.833c0-1.414,0.373-2.507,0.697-3.191c-0.643,0.122-1.472-0.365-1.614-0.934c-0.201-0.805-0.323-1.369-1.407-2.732c-0.147,0.09-0.295,0.181-0.444,0.273c0.392,1.027,0.987,2.527,1.727,4.209c1.375,3.125-2.125,2.625-2.25,1.125     c-0.093-1.118-0.742-2.652-1.688-3.931c-0.119,0.078-0.237,0.157-0.356,0.236c0.75,1.878,1.31,4.497,1.793,6.819c0.625,3-2.375,2.25-2.625,1c-0.205-1.023-0.83-3.555-2.079-5.744c-0.127,0.098-0.253,0.196-0.379,0.296c0.56,2.288,0.947,5.64,1.333,7.573     c0.5,2.5-2.375,2.5-2.625,0.5c-0.212-1.696-0.245-2.944-1.242-5.878c-0.208,0.2-0.414,0.402-0.616,0.608c0.012,3.123-0.009,8.49-0.268,10.646c-0.375,3.125-2.875,2.375-2.75,1c0.109-1.197-0.161-3.154-0.068-7.767c-0.046,0.076-0.095,0.15-0.14,0.226     c-0.833,5.333-1.167,12.833,4.833,15.5s14.292,3.313,18,0.5c4.208-2.563,1.083-4.313,1.083-6.688z"/>\n          <g fill="#000">\n            <path d="M108.89,146.162c-0.826-0.792-1.639-1.586-2.431-2.375c-3.331,1.829-7.613,3.162-9.51,3.705c0.6,0.995,1.222,2.013,1.855,3.04c5.627-1.592,8.655-3.34,10.085-4.369z"/>\n            <path d="M101.191,138.181c-2.182,1.709-5.985,3.141-7.535,3.682c0.5,0.895,1.054,1.857,1.647,2.868c4.203-1.098,7.043-2.515,8.666-3.492c-0.993-1.046-1.926-2.07-2.778-3.058z"/>\n            <path d="M102.346,156.194c5.876-1.628,9.702-4.044,11.53-5.404c-0.834-0.752-1.673-1.518-2.508-2.293c-2.729,2.457-8.69,4.159-10.893,4.725c0.627,1.002,1.253,1.998,1.871,2.973z"/>\n            <path d="M123.275,158.893c-3.958,2.792-11.935,5.487-15.034,6.474c1.168,1.793,1.895,2.894,1.895,2.894s12.5-3.333,16.5-6.667c-0.892-0.694-2.039-1.613-3.361-2.701z"/>\n            <path d="M117.5,154c-3.033,2.28-10.208,4.545-13.112,5.402c0.657,1.026,1.285,2.002,1.869,2.907c6.353-1.963,11.13-4.771,13.516-6.351c-0.735-0.626-1.496-1.281-2.273-1.958z"/>\n            <path d="M99.333,135.915c-0.582-0.755-1.097-1.476-1.531-2.154c-2.333,1.5-6.667,3-6.667,3c0.173,0.519,0.483,1.221,0.902,2.066c2.759-0.008,4.985-0.774,7.296-2.913z"/>\n            <path d="M66.386,44.677c2.125-1.75,5.375-4.25,5.125-7.25l-1.25-0.625l-0.125-0.75c-5.125,3.25-7.75,4.375-8.5,5c0.875,1.875,2.5,1.375,2.5,1.375c2.125-1.125,4-2.375,4-2.375c-1.875,2.125-2.5,3.125-2.5,3.125s-0.125,0.875,0.75,1.5z"/>\n          </g>\n        </g>\n      </g>\n      <g id="vis" transform="translate(153,58) rotate(-27) scale(0.05)" stroke="rgb(66,105,66)" font-family="dialog, sans-serif" font-size="10">\n        <g fill="rgb(115,191,115)">\n          <ellipse cx="195" cy="210" rx="27" ry="18"/>\n          <ellipse cx="645" cy="102" rx="225" ry="18"/>\n          <ellipse cx="645" cy="156" rx="230" ry="18"/>\n        </g>\n        <g fill="rgb(255,223,123)" stroke="rgb(132,117,66)">\n          <rect height="36" width="100" x="595" y="192"/>\n          <rect height="36" width="276" x="507" y="246"/>\n          <rect height="36" width="106" x="592" y="300"/>\n        </g>\n        <g fill="none" stroke="rgb(90,89,206)">\n          <path d="M201 193C212 170 215 158 240 143 279 122 377 112 428 107"/>\n          <path d="M216 200C224 196 232 193 240 191 311 174 390 165 423 161"/>\n          <path d="M221 210C295 210 497 210 595 210"/>\n          <path d="M221 210C295 210 497 210 595 210"/>\n          <path d="M216 220C224 224 232 227 240 229 334 252 444 261 506 264"/>\n          <path d="M201 227C212 253 215 265 240 280 352 344 508 337 592 325"/>\n        </g>\n        <g fill="rgb(90,89,206)" stroke="none">\n          <polygon points="433,107 425,111 425,103"/>\n          <polygon points="428,160 421,165 420,157"/>\n          <polygon points="600,210 592,214 592,206"/>\n          <polygon points="511,264 503,268 503,260"/>\n          <polygon points="597,324 590,329 588,321"/>\n        </g>\n        <g fill="rgb(66,105,66)">\n          <text x="458" y="105">http://prismstandard.org/vocabularies/1.0/resourcetype.xml#birdsEye</text>\n          <text x="453" y="159">http://prismstandard.org/vocabularies/1.0/resourcetype.xml#illustration</text>\n          <text x="604" y="213">image/svg+xml</text>\n          <text x="530" y="267">Line drawing of woman in antique attire, ...</text>\n          <text x="177" y="213">online:</text>\n          <text x="601" y="321">Sibyll Trelawney</text>\n        </g>\n        <g stroke="rgb(90,89,206)" fill="rgb(90,89,206)">\n          <text x="256" y="158">http://purl.org/dc/elements/1.1/type</text>\n          <text x="250" y="206">http://purl.org/dc/elements/1.1/format</text>\n          <text x="250" y="276">http://purl.org/dc/elements/1.1/subject</text>\n          <text x="256" y="105">http://purl.org/dc/elements/1.1/type</text>\n          <text x="240" y="225">http://purl.org/dc/elements/1.1/description</text>\n        </g>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-control-01-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: painting-control-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#VisibilityControl">\n      <p>\n        Elements are rendered when the \'display\' attribute is set to any valid value other than \'none\'.\n      </p>\n      <p>\n        For each valid \'display\' value (except none), the test creates a \'rect\' element with that \'display\' value assigned. Under that \n        element, a red \'rect\' is placed at the exact same \'x\', \'y\' position with the same height and width. Test passes if the \'rect\' \n        with \'display\' covers the red \'rect\'.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n	<p>\n	Run the test. No interaction required.\n	</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if 16 black rectangles are shown and there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-control-01-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <rect width="48px" height="48px" fill="red" />\n    <rect width="48px" height="48px" display="inline" />\n\n    <rect x="50px" width="48px" height="48px" fill="red" />\n    <rect x="50px" width="48px" height="48px" display="block" />\n\n    <rect x="100px" width="48px" height="48px" fill="red" />\n    <rect x="100px" width="48px" height="48px" display="list-item" />\n\n    <rect x="150px" width="48px" height="48px" fill="red" />\n    <rect x="150px" width="48px" height="48px" display="run-in" />\n\n    <rect y="50px" width="48px" height="48px" fill="red" />\n    <rect y="50px" width="48px" height="48px" display="compact" />\n\n    <rect x="50px" y="50px" width="48px" height="48px" fill="red" />\n    <rect x="50px" y="50px" width="48px" height="48px" display="marker" />\n\n    <rect x="100px" y="50px" width="48px" height="48px" fill="red" />\n    <rect x="100px" y="50px" width="48px" height="48px" display="table" />\n\n    <rect x="150px" y="50px" width="48px" height="48px" fill="red" />\n    <rect x="150px" y="50px" width="48px" height="48px" display="inline-table" />\n\n    <rect y="100px" width="48px" height="48px" fill="red" />\n    <rect y="100px" width="48px" height="48px" display="table-row-group" />\n\n    <rect x="50px" y="100px" width="48px" height="48px" fill="red" />\n    <rect x="50px" y="100px" width="48px" height="48px" display="table-header-group" />\n\n    <rect x="100px" y="100px" width="48px" height="48px" fill="red" />\n    <rect x="100px" y="100px" width="48px" height="48px" display="table-footer-group" />\n\n    <rect x="150px" y="100px" width="48px" height="48px" fill="red" />\n    <rect x="150px" y="100px" width="48px" height="48px" display="table-row" />\n\n    <rect y="150px" width="48px" height="48px" fill="red" />\n    <rect y="150px" width="48px" height="48px" display="table-column-group" />\n\n    <rect x="50px" y="150px" width="48px" height="48px" fill="red" />\n    <rect x="50px" y="150px" width="48px" height="48px" display="table-column" />\n\n    <rect x="100px" y="150px" width="48px" height="48px" fill="red" />\n    <rect x="100px" y="150px" width="48px" height="48px" display="table-cell" />\n\n    <rect x="150px" y="150px" width="48px" height="48px" fill="red" />\n    <rect x="150px" y="150px" width="48px" height="48px" display="table-caption" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-control-02-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: painting-control-02-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n      <p>\n        \'Stroke\' attributes affected by directionality start at the point at which the graphics element starts.\n      </p>\n      <p>\n        The test creates two \'path\' elements that have the same \'stroke-dasharray\' assignment. The paths will create the same visual shape,\n        but the start and end points will be opposite. Test passes if the \'stroke-dasharray\' of each path is drawn differently.\n        Second subtest is the same but with stroke-dashoffset.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n	<p>\n	Run the test. No interaction required.\n	</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there are two lines, each composed of alternating black and orange boxes.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-control-02-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <path d="M 100 100 L 100 190" fill="none" stroke="orange" stroke-width="20" stroke-dasharray="10px 20px 20px" />\n    <path d="M 100 190 L 100 100" fill="none" stroke="black" stroke-width="20" stroke-dasharray="10px 20px 20px" />\n\n    <path d="M 200 100 L 200 190" fill="none" stroke="orange" stroke-width="20" stroke-dashoffset="5px" stroke-dasharray="10px 10px 10px" />\n    <path d="M 200 190 L 200 100" fill="none" stroke="black" stroke-width="20" stroke-dashoffset="5px" stroke-dasharray="10px 10px 10px" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-control-03-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: painting-control-03-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#FillProperties">\n      <p>\n        Open polyline and path elements are filled as if they were closed with the last point linked to the first point.\n      </p>\n      <p>\n        The test specifies two polylines and two paths on the page with five points each. One polyline/path closes the shape with the fifth\n        point linking to the first. One polyline/path is open (no link from fifth point to first). Both polylines/paths are filled.\n        The open subpath is placed over the closed one. Test passes if the open subpath fills over the closed path.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if two black shapes are shown and no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-control-03-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <path d="M 20 100 L 50 150 L 100 200 L 175 175 L 150 150 z" fill="red" />\n    <path d="M 20 100 L 50 150 L 100 200 L 175 175 L 150 150" fill="black" stroke="black" />\n\n    <polyline points="200 100 250 150 300 200 375 175 350 150 " fill="red" />\n    <polyline points="200 100 250 150 300 200 375 175 350 150 200 100" fill="black" stroke="black" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-control-04-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: painting-control-04-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n      <p>\n        A zero length subpath with \'stroke-linecap\' set to \'square\' or \'round\' is stroked, but not stroked when \'stroke-linecap\' is set to \'butt\'.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript> \n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is a blue circle, a blue square, and no red on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-control-04-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <path d="M 96 96 L 96 96" stroke="red" stroke-width="96" stroke-linecap="butt" />\n    <path d="M 196 96 L 196 96" stroke="blue" stroke-width="96" stroke-linecap="round" />\n    <path d="M 296 96 L 296 96" stroke="blue" stroke-width="96" stroke-linecap="square" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-control-05-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="ED" author="Microsoft" status="accepted" version="$Revision: 1.3 $" testname="$RCSfile: painting-control-05-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#VisibilityControl">\n      <p>\n        This tests setting the \'display\' property to \'none\' on an element that is a child of a \'mask\' or \'clipPath\' element, which should cause the element to not be\n        included in the \'mask\' or \'clip\' region.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are 8 green rectangles visible, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-control-05-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <rect id="displaynone_rect" width="100%" height="100%" display="none" />\n        <rect id="rect" width="100%" height="100%" />\n        <use id="displaynone_use_rect" xlink:href="#displaynone_rect"/>\n        \n        <!-- an empty mask where the basic shape element has display=none -->\n        <mask id="testMask1">\n            <rect width="100%" height="100%" display="none" fill="white" />\n        </mask>\n        <!-- an empty mask where display=none is inherited down to the basic shape -->\n        <mask id="testMask2">\n            <g display="none">\n              <rect width="100%" height="100%" fill="white" />\n            </g>\n        </mask>\n        <!-- an empty mask where the referenced element has display=none -->\n        <mask id="testMask3">\n            <use xlink:href="#displaynone_rect" fill="white"/>\n        </mask>\n        <!-- an empty mask by two levels of indirection -->\n        <mask id="testMask4">\n            <use xlink:href="#displaynone_use_rect" fill="white"/>\n        </mask>\n\n        <!-- an empty clip-path where the basic shape element has display=none -->\n        <clipPath id="testClip1">\n            <rect width="100%" height="100%" display="none" />\n        </clipPath>\n        <!-- an empty clip-path where the referenced element has display=none -->\n        <clipPath id="testClip2">\n            <use xlink:href="#displaynone_rect"/>\n        </clipPath>\n        <!-- an empty clip-path where the referencing element has display=none -->\n        <clipPath id="testClip3">\n            <use xlink:href="#rect" display="none"/>\n        </clipPath>\n        <!-- an empty clip-path by having both a display=none element and a non-rendered rect that\'s visible -->\n        <clipPath id="testClip4">\n            <rect width="100%" height="100%" display="none" />\n            <rect width="0" height="0"/>\n        </clipPath>\n    </defs>\n    \n    <g id="reference" fill="lime" stroke="black">\n      <rect x="50" y="50" width="100" height="100"/>\n      <rect x="150" y="50" width="100" height="100"/>\n      <rect x="250" y="50" width="100" height="100"/>\n      <rect x="350" y="50" width="100" height="100"/>\n      <rect x="50" y="200" width="100" height="100"/>\n      <rect x="150" y="200" width="100" height="100"/>\n      <rect x="250" y="200" width="100" height="100"/>\n      <rect x="350" y="200" width="100" height="100"/>\n    </g>\n    \n    <rect x="50" y="50" width="100" height="100" fill="red" mask="url(#testMask1)"/>\n    <rect x="150" y="50" width="100" height="100" fill="red" mask="url(#testMask2)"/>\n    <rect x="250" y="50" width="100" height="100" fill="red" mask="url(#testMask3)"/>\n    <rect x="350" y="50" width="100" height="100" fill="red" mask="url(#testMask4)"/>\n    \n    <rect x="50" y="200" width="100" height="100" fill="red" clip-path="url(#testClip1)"/>\n    <rect x="150" y="200" width="100" height="100" fill="red" clip-path="url(#testClip2)"/>\n    <rect x="250" y="200" width="100" height="100" fill="red" clip-path="url(#testClip3)"/>\n    <rect x="350" y="200" width="100" height="100" fill="red" clip-path="url(#testClip4)"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-control-06-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" \n    reviewer="ED" author="Microsoft" status="accepted" version="$Revision: 1.4 $" testname="$RCSfile: painting-control-06-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#VisibilityControl">\n      <p>\n        Setting the \'visibility\' property to \'hidden\' on a \'g\' tag will affect its children, unless the children of the \'g\' tag override the parent setting.\n      </p>\n      <p>\n        Have a \'g\' tag with an red filled shape as a child. Set \'visibility: hidden\' on the \'g\' tag.  Verify no red is on the page.\n        Also, have a \'g\' tag with a green filled shape as a child. Set \'visibility: hidden\' on the \'g\' tag. Set \'visibility: visible\' on\n        the child tag. Verify that the green \'rect\' renders on the page.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are two green squares visible on the page, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-control-06-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <rect x="96" y="96" width="96" height="96" fill="lime" />\n    <g visibility="hidden">\n        <rect x="96" y="96" width="96" height="96" fill="red" />\n    </g>\n    <rect x="196.5" y="196.5" width="95" height="95" fill="red"/>\n    <g visibility="hidden">\n        <rect x="196" y="196" width="96" height="96" fill="lime" visibility="visible" />\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-fill-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kevin McCluskey" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-fill-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#FillProperties">\n        <p>\n          Verify the basic capability to handle the fill properties fill:none,\n          and fill with a color			(fill:green)\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        There should be two rectangles, the rectangle on the left hollow (fill:none) and the rectangle on the right filled with green.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-fill-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="36" x="40" y="42">Basic paint: fill properties.</text>\n\n    <!-- ============================================================================= -->\n    <!-- Draw two simple rectangles. One without fill other with fill:green              -->\n    <!-- ============================================================================= -->\n\n    <rect id="fill-01" fill="none" stroke="#000000" x="75" y="70" width="100" height="160"/>\n\n    <rect id="fill-02" fill="green" stroke="#000000" x="275" y="70" width="100" height="160"/>\n\n    <text font-size="36" x="75" y="280">fill="none"</text>\n    <text font-size="36" x="275" y="280">fill="green"</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-fill-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kevin McCluskey" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: painting-fill-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#FillProperties">\n        <p>\n          The test uses the "currentColor" value for the "fill" attribute.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rectangle on the left should be green filled, the rectangle on the right should be blue.\n        The text above the rectangles should be black.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-fill-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g color="green">\n\n      <text font-family="Arial" font-size="36" x="30" y="42">Basic paint: fill properties.</text>\n      <text font-family="Arial" font-size="36" x="100" y="80">fill="currentColor"</text>\n\n      <!-- ====================================================================== -->\n      <!-- Second set of rectangles with fill:currentColor                        -->\n      <!-- ====================================================================== -->\n\n      <rect id="fill-03" fill="currentColor" stroke="#000000" x="75" y="110" width="100" height="140"/>\n      <rect id="fill-04" color="blue" fill="currentColor" stroke="#000000" x="275" y="110" width="100" height="140"/>\n\n      <text font-family="Arial" font-size="36" x="80" y="280">green</text>\n      <text font-family="Arial" font-size="36" x="290" y="280">blue</text>\n\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-fill-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kevin McCluskey" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-fill-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#FillProperties">\n        <p>\n          Verify the basic capability to handle the fill rule properties evenodd and nonzero\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        There should be two green filled stars, the leftmost star should be unfilled in the very center.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-fill-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="36" x="30" y="42">Basic paint: fill properties.</text>\n\n    <!-- ====================================================================== -->\n    <!-- Third test fill-rule:evenodd and fill-rule:nonzero                     -->\n    <!-- ====================================================================== -->\n\n    <path fill="lime" fill-rule="evenodd" d="M 110 75 l 50 160 l -130 -100 l 160 0 l -130 100 z"/>\n    <path fill="lime" fill-rule="nonzero" d="M 365 75 l 50 160 l -130 -100 l 160 0 l -130 100 z"/>\n    <text font-size="24" x="10" y="282">fill-rule="evenodd"</text>\n    <text font-size="24" x="260" y="282">fill-rule="nonzero"</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-fill-04-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Tim Thompson" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: painting-fill-04-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#FillProperties">\n        <p>\n          This tests inheritance of three properties: "fill", "stroke" and "stroke-width". There is a "g" element (id="G1") which\n          sets fill="blue", stroke="purple", and stroke-width="5". The first two rectangles on top should inherit all those\n          properties. The middle left rectangle has fill="yellow" and stroke-width="2", it should inherit the stroke="purple"\n          from the parent container. The middle rectangle on the right has stroke="yellow", it should inherit fill and\n          stroke-width from the parent "g". The bottom two rectangles are in another "g" element (id="G2") which is a child\n          of "G1". "G2" sets fill="yellow". It should inherit the stroke and stroke width from the parent "G1". The two\n          bottom rectangles set no fill or stroke properties, they should inherit through the parents, stroke="purple"\n          and stroke-width="5".\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image, except for possible\n        variations in the labeling text (per CSS2 rules).\n      </p>\n      <p>\n        The test uses the "rect" element, as well as basic fill (solid primary colors),\n        stroke (black 1-pixel lines), font-family (Arial) and font-size properties.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-fill-04-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="G1" fill="blue" stroke="purple" stroke-width="5" transform="translate(120,30)">\n      <rect x="0" y="0" width="90" height="70"/>\n      <rect x="100" y="0" width="90" height="70"/>\n      <rect x="0" y="80" width="90" height="70" fill="yellow" stroke-width="2"/>\n      <rect x="100" y="80" width="90" height="70" stroke="yellow"/>\n      <g id="G2" fill="yellow">\n        <rect x="0" y="160" width="90" height="70"/>\n        <rect x="100" y="160" width="90" height="70"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-fill-05-b.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="DJ" author="CN" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: painting-fill-05-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#FillProperties">\n        <p>\n          Test using "fill-opacity" values for "rect" element.\n          This test verifies that opacity is clamped to the\n          specified range.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The six rect elements on the left have varying \'fill-opacity\' values\n        within the valid range of 0 to 1.  The six elements on the right have\n        \'fill-opacity\' values outside the 0 to 1 range, and must be clamped.\n        The top three rect elements on the right must have their \'fill-opacity\'\n        clamped to 0, while the bottom three rect elements on the right must\n        be clamped to 1.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-fill-05-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <!-- Use multiple values for opacity -->\n    <rect x="20" y="20" width="60" height="60" fill-opacity="0.0" fill="#0000FF" stroke="black"/>\n    <rect x="50" y="50" width="60" height="60" fill-opacity="0.2" fill="#0000FF" stroke="black"/>\n    <rect x="80" y="80" width="60" height="60" fill-opacity="0.4" fill="#0000FF" stroke="black"/>\n    <rect x="110" y="110" width="60" height="60" fill-opacity="0.6" fill="#0000FF" stroke="black"/>\n    <rect x="140" y="140" width="60" height="60" fill-opacity="0.8" fill="#0000FF" stroke="black"/>\n    <rect x="170" y="170" width="60" height="60" fill-opacity="1.0" fill="#0000FF" stroke="black"/>\n    <!-- Values outside the range 0.0 - 1.0 should be clamped to this range -->\n    <rect x="200" y="20" width="60" height="60" fill-opacity="-100.0" fill="#0000FF" stroke="black"/>\n    <rect x="230" y="50" width="60" height="60" fill-opacity="-10.0" fill="#0000FF" stroke="black"/>\n    <rect x="260" y="80" width="60" height="60" fill-opacity="-0.1" fill="#0000FF" stroke="black"/>\n    <rect x="290" y="110" width="60" height="60" fill-opacity="1.1" fill="#0000FF" stroke="black"/>\n    <rect x="320" y="140" width="60" height="60" fill-opacity="10.0" fill="#0000FF" stroke="black"/>\n    <rect x="350" y="170" width="60" height="60" fill-opacity="100.0" fill="#0000FF" stroke="black"/>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-marker-01-f.svg', svg: '<svg version="1.1" baseProfile="full" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Dean Jackson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-marker-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#Markers">\n        <p>\n          Tests the basic support for markers. \n        </p>\n        <p>\n          The top test examines the basic support for the marker element and style. The markers are purple rectangles.\n        </p>\n        <p>\n          The middle test examines the support for the different styles of marker properties. The\n          "marker-start" property defines the marker to use at the first vertex of the marked path,\n          in this case a purple rectangle. The "marker-end" property defines the marker to use at the\n          last vertex of the marked path, in this case a blue triangle. The "marker-mid" property\n          defines the marker to use at all vertices, other than the first and last, of the marked path,\n          in this case a green circle.\n        </p>\n        <p>\n          The bottom test examines the support for marker orientation along the\n          path direction. The second vertex, the top right corner of the path, has a marker that\n          is rotated 45 degrees, since that is the average of the horizontal and vertical segments\n          each side. The last vertex, the bottom right corner of the path, has a marker rotated 90\n          degrees since that is the direction of the last path segment.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        For the three tests, there should be two identical paths with markers drawn. \n        The path on the left is rendered using the marker elements. The path on the \n        right is rendered using the equivalent SVG, showing what the marked path should \n        look like.\n      </p>\n      <p>\n        The rendered picture should match the reference image, except for possible\n        variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-marker-01-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <!-- ===================================================================== -->\n      <!-- Define a few simple marker elements                                   -->\n      <!-- ===================================================================== -->\n      <marker id="marker1" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">\n        <rect width="10" height="10" fill="purple" stroke="none"/>\n      </marker>\n      <marker id="marker2" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth" orient="auto">\n        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n      </marker>\n      <marker id="markerStart" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">\n        <rect width="10" height="10" fill="purple" stroke="none"/>\n      </marker>\n      <marker id="markerMiddle" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">\n        <circle cx="5" cy="5" r="5" fill="green" stroke="none"/>\n      </marker>\n      <marker id="markerEnd" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">\n        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n      </marker>\n    </defs>\n    <!-- ===================================================================== -->\n    <!-- Basic Marker Test                                                     -->\n    <!-- ===================================================================== -->\n    <text x="170" y="30" font-size="14">Basic Markers</text>\n    <path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker1)" marker-mid="url(#marker1)" marker-end="url(#marker1)" d="M 130 40 L 180 40 L 180 90"/>\n    <!-- ===================================================================== -->\n    <!-- Generate the equivalent SVG                                           -->\n    <!-- ===================================================================== -->\n    <g transform="translate(120,0)">\n      <path fill="none" stroke="black" stroke-width="8" d="M 130 40 L 180 40 L 180 90"/>\n      <g transform="translate(130,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <rect width="10" height="10" fill="purple" stroke="none"/>\n      </g>\n      <g transform="translate(180,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <rect width="10" height="10" fill="purple" stroke="none"/>\n      </g>\n      <g transform="translate(180,90) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <rect width="10" height="10" fill="purple" stroke="none"/>\n      </g>\n    </g>\n    <!-- ===================================================================== -->\n    <!-- Start, Middle and End Marker Test                                     -->\n    <!-- ===================================================================== -->\n    <text x="145" y="125" font-size="14">Start, Middle and End</text>\n    <path fill="none" stroke="black" stroke-width="8" marker-start="url(#markerStart)" marker-mid="url(#markerMiddle)" marker-end="url(#markerEnd)" d="M 130 135 L 180 135 L 180 185"/>\n    <!-- ===================================================================== -->\n    <!-- Generate the equivalent SVG                                           -->\n    <!-- ===================================================================== -->\n    <g transform="translate(120,0)">\n      <path fill="none" stroke="black" stroke-width="8" d="M 130 135 L 180 135 L 180 185"/>\n      <g transform="translate(130,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <rect width="10" height="10" fill="purple" stroke="none"/>\n      </g>\n      <g transform="translate(180,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <circle cx="5" cy="5" r="5" fill="green" stroke="none"/>\n      </g>\n      <g transform="translate(180,185) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n      </g>\n    </g>\n    <!-- ===================================================================== -->\n    <!-- Auto Orientation Marker Test                                          -->\n    <!-- ===================================================================== -->\n    <text x="145" y="220" font-size="14">Automatic Orientation</text>\n    <path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker2)" marker-mid="url(#marker2)" marker-end="url(#marker2)" d="M 130 230 L 180 230 L 180 280"/>\n    <!-- ===================================================================== -->\n    <!-- Generate the equivalent SVG                                           -->\n    <!-- ===================================================================== -->\n    <g transform="translate(120,0)">\n      <path fill="none" stroke="black" stroke-width="8" d="M 130 230 L 180 230 L 180 280"/>\n      <g transform="translate(130,230) rotate(0) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n      </g>\n      <g transform="translate(180,230) rotate(45) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n      </g>\n      <g transform="translate(180,280) rotate(90) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-marker-02-f.svg', svg: '<svg version="1.1" baseProfile="full" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Dean Jackson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-marker-02-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#Markers">\n        <p>\n          Tests the rendering of markers, specifically property inheritance. For the four tests, there should\n          be two identical paths with markers drawn. \n        </p>\n        <p>\n          The top two tests examine the rendering of markers when the marker and the path\n          referencing it share the same parent and all painting properties are specfied on\n          that parent. The first test show inheritance of the \'fill\' property and the\n          second the inheritance of the \'paint\' property. In both tests, the marker\n          is painting using the same properties as the referencing object. Because of\n          scaling transformations on the marker, the stroke on the second test is thinner\n          than on the referencing object.\n        </p>\n        <p>\n          The third and fourth tests examine the rendering of markers in a situation where the\n          marker and referencing path do NOT share the same parent and painting\n          properties are specified both on the parent of the marked path and on the contents\n          of the marker itself. In both cases, the marker\'s parent specifies\n          fill="green" stroke="blue" stroke-width="8". For the third test, the marker contents\n          override with stroke="black". For the fourth test, the marker contents\n          override with fill="black". In neither case should you see\n          fill="orange" or stroke="blue" or "stroke="purple" on the markers as these properties\n          are specified on the ancestor of the referencing object or the referencing object itself\n          and thus shouldn\'t affect the marker.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The path on the left is rendered using the marker elements. \n        The path on the right is rendered using the equivalent SVG, \n        showing what the marked path should look like.  These should be \n        identical and match the image to the right.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-marker-02-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <clipPath id="overflowHiddenClip1" clipPathUnits="userSpaceOnUse">\n        <rect x="0" y="0" width="2" height="2"/>\n      </clipPath>\n      <clipPath id="overflowHiddenClip" clipPathUnits="userSpaceOnUse">\n        <rect x="0" y="0" width="4" height="4"/>\n      </clipPath>\n    </defs>\n    <g fill="green">\n      <text x="125" y="30" font-size="14" fill="black">Marker Rendering Properties</text>\n      <!-- ===================================================================== -->\n      <!-- Fill property                                                         -->\n      <!-- ===================================================================== -->\n      <g fill="black" stroke="none" stroke-width="8">\n        <marker id="marker1" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">\n          <rect width="10" height="10"/>\n        </marker>\n        <text x="100" y="140" font-size="10" fill="black" stroke="none">Fill Property</text>\n        <path marker-start="url(#marker1)" marker-mid="url(#marker1)" marker-end="url(#marker1)" d="M 30 60 L 80 60 L 80 110 Z"/>\n        <!-- ===================================================================== -->\n        <!-- Generate the equivalent SVG                                           -->\n        <!-- ===================================================================== -->\n        <g transform="translate(120,0)">\n          <path d="M 30 60 L 80 60 L 80 110 Z"/>\n          <g transform="translate(30,60) scale(8) translate(-1, -1)">\n            <g clip-path="url(#overflowHiddenClip1)">\n              <g transform="scale(0.2, 0.2)">\n                <rect width="10" height="10"/>\n              </g>\n            </g>\n          </g>\n          <g transform="translate(80,60) scale(8) translate(-1, -1)">\n            <g clip-path="url(#overflowHiddenClip1)">\n              <g transform="scale(0.2, 0.2)">\n                <rect width="10" height="10"/>\n              </g>\n            </g>\n          </g>\n          <g transform="translate(80,110) scale(8) translate(-1, -1)">\n            <g clip-path="url(#overflowHiddenClip1)">\n              <g transform="scale(0.2, 0.2)">\n                <rect width="10" height="10"/>\n              </g>\n            </g>\n          </g>\n        </g>\n      </g>\n      <!-- ===================================================================== -->\n      <!-- Stroke property                                                       -->\n      <!-- ===================================================================== -->\n      <g fill="none" stroke="black" stroke-width="4">\n        <marker id="marker2" viewBox="0 0 20 20" markerWidth="4" markerHeight="4" refX="10" refY="10" markerUnits="strokeWidth">\n          <rect width="20" height="20"/>\n        </marker>\n        <text x="340" y="140" font-size="10" fill="black" stroke="none">Stroke Property</text>\n        <path marker-start="url(#marker2)" marker-mid="url(#marker2)" marker-end="url(#marker2)" d="M 270 60 L 320 60 L 320 110 Z"/>\n        <!-- ===================================================================== -->\n        <!-- Generate the equivalent SVG                                           -->\n        <!-- ===================================================================== -->\n        <g transform="translate(120,0)">\n          <path d="M 270 60 L 320 60 L 320 110 Z"/>\n          <!-- ===================================================================== -->\n          <!-- Generate the equivalent SVG                                           -->\n          <!-- ===================================================================== -->\n          <g transform="translate(270,60) scale(4) translate(-2, -2)">\n            <g clip-path="url(#overflowHiddenClip)">\n              <g transform="scale(0.2, 0.2)">\n                <rect width="20" height="20"/>\n              </g>\n            </g>\n          </g>\n          <g transform="translate(320,60) scale(4) translate(-2, -2)">\n            <g clip-path="url(#overflowHiddenClip)">\n              <g transform="scale(0.2, 0.2)">\n                <rect width="20" height="20"/>\n              </g>\n            </g>\n          </g>\n          <g transform="translate(320, 110) scale(4) translate(-2, -2)">\n            <g clip-path="url(#overflowHiddenClip)">\n              <g transform="scale(0.2, 0.2)">\n                <rect width="20" height="20"/>\n              </g>\n            </g>\n          </g>\n        </g>\n      </g>\n      <!-- ===================================================================== -->\n      <!-- Define marker element with parents setting painting properties        -->\n      <!-- ===================================================================== -->\n      <g fill="green" stroke="blue" stroke-width="8">\n        <marker id="marker3" viewBox="0 0 20 20" markerWidth="4" markerHeight="4" refX="10" refY="10" markerUnits="strokeWidth">\n          <rect width="20" height="20" stroke="black"/>\n        </marker>\n        <marker id="marker4" viewBox="0 0 10 10" markerWidth="4" markerHeight="4" refX="5" refY="5" markerUnits="strokeWidth">\n          <rect width="10" height="10" fill="black" stroke-width="4"/>\n        </marker>\n      </g>\n      <!-- ===================================================================== -->\n      <!-- Parent and specified properties                                       -->\n      <!-- ===================================================================== -->\n      <g fill="orange" stroke="blue">\n        <text x="90" y="270" font-size="10" fill="black" stroke="none">Mixed Properties</text>\n        <path stroke="purple" stroke-width="4" marker-start="url(#marker3)" marker-mid="url(#marker3)" marker-end="url(#marker3)" d="M 30 190 L 80 190 L 80 240 Z"/>\n        <!-- ===================================================================== -->\n        <!-- Generate the equivalent SVG                                           -->\n        <!-- ===================================================================== -->\n        <g transform="translate(120,0)">\n          <path stroke="purple" stroke-width="4" d="M 30 190 L 80 190 L 80 240 Z"/>\n          <g fill="green" stroke="black" stroke-width="8">\n            <g transform="translate(30,190) scale(4) translate(-2, -2)">\n              <g clip-path="url(#overflowHiddenClip)">\n                <g transform="scale(.2, .2)">\n                  <rect width="20" height="20"/>\n                </g>\n              </g>\n            </g>\n            <g transform="translate(80,190) scale(4) translate(-2, -2)">\n              <g clip-path="url(#overflowHiddenClip)">\n                <g transform="scale(0.2, 0.2)">\n                  <rect width="20" height="20"/>\n                </g>\n              </g>\n            </g>\n            <g transform="translate(80,240) scale(4) translate(-2, -2)">\n              <g clip-path="url(#overflowHiddenClip)">\n                <g transform="scale(0.2, 0.2)">\n                  <rect width="20" height="20"/>\n                </g>\n              </g>\n            </g>\n          </g>\n        </g>\n      </g>\n      <g fill="orange" stroke="green">\n        <text x="340" y="270" font-size="10" fill="black" stroke="none">Mixed Properties</text>\n        <path stroke="purple" stroke-width="4" marker-start="url(#marker4)" marker-mid="url(#marker4)" marker-end="url(#marker4)" d="M 270 190 L 320 190 L 320 240 Z"/>\n        <!-- ===================================================================== -->\n        <!-- Generate the equivalent SVG                                           -->\n        <!-- ===================================================================== -->\n        <g transform="translate(120,0)">\n          <path stroke="purple" stroke-width="4" d="M 270 190 L 320 190 L 320 240 Z"/>\n          <g fill="black" stroke="blue" stroke-width="4">\n            <g transform="translate(270,190) scale(4) translate(-2, -2)">\n              <g clip-path="url(#overflowHiddenClip)">\n                <g transform="scale(0.4, 0.4)">\n                  <rect width="10" height="10"/>\n                </g>\n              </g>\n            </g>\n            <g transform="translate(320,190) scale(4) translate(-2, -2)">\n              <g clip-path="url(#overflowHiddenClip)">\n                <g transform="scale(0.4, 0.4)">\n                  <rect width="10" height="10"/>\n                </g>\n              </g>\n            </g>\n            <g transform="translate(320,240) scale(4) translate(-2, -2)">\n              <g clip-path="url(#overflowHiddenClip)">\n                <g transform="scale(0.4, 0.4)">\n                  <rect width="10" height="10"/>\n                </g>\n              </g>\n            </g>\n          </g>\n        </g>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-marker-04-f.svg', svg: '<svg version="1.1" baseProfile="full" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="BB" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-marker-04-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#Markers">\n        <p>\n          The SVG specification defines three properties to reference markers: marker-start, marker-mid,\n          marker-end. It also provides a shorthand property,marker.  Using the marker property from a style sheet\n          is equivalent to using all three (start, mid, end). However, shorthand properties cannot be used as presentation attributes.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test passes if the shapes in the top row have no markers,\n        while the shapes in the bottom rom have small blue markers\n        (26 in total).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-marker-04-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <marker id="marker1" markerUnits="strokeWidth" refX="50" refY="50" markerWidth="5" markerHeight="5" viewBox="0 0 100 100">\n        <rect width="100" height="100" fill="royalblue" stroke="none"/>\n      </marker>\n      <marker id="marker2" markerUnits="strokeWidth" refX="100" refY="100" markerWidth="15" markerHeight="15" viewBox="0 0 200 200">\n        <rect width="200" height="200" fill="red" stroke="none"/>\n      </marker>\n    </defs>\n\n    <text font-size="20" x="240" y="28" text-anchor="middle">\'marker\' attribute test</text>\n\n    <text font-size="20" x="240" y="70" text-anchor="middle" fill="forestgreen">\'marker\' attribute</text>\n    <g marker="url(#marker2)" fill="gold" stroke="black" fill-rule="evenodd" transform="translate(50,20)" id="markme">\n      <path d="M10,60 Q90,60 90,140 Q10,140 10,60 Z M10,140 Q10,60 90,60 Q90,140 10,140 Z M50,70 L80,100 50,130 20,100 Z"/>\n      <polygon points="100,60 120,140 140,60 160,140 180,60 180,100 100,100"/>\n      <polyline points="190,60 210,140 230,60 250,140 270,60 270,100 190,100"/>\n      <line x1="280" x2="370" y1="60" y2="140"/>\n      <line x1="370" x2="280" y1="60" y2="140"/>\n    </g>\n\n    <text font-size="20" x="240" y="200" text-anchor="middle" fill="forestgreen">\'marker-start\', \'marker-mid\' &amp; \'marker-end\' attributes</text>\n    <g marker-mid="url(#marker1)" marker-end="url(#marker1)" marker-start="url(#marker1)" fill="gold" stroke="black" fill-rule="evenodd" transform="translate(50,150)">\n      <path d="M10,60 Q90,60 90,140 Q10,140 10,60 Z M10,140 Q10,60 90,60 Q90,140 10,140 Z M50,70 L80,100 50,130 20,100 Z"/>\n      <polygon points="100,60 120,140 140,60 160,140 180,60 180,100 100,100"/>\n      <polyline points="190,60 210,140 230,60 250,140 270,60 270,100 190,100"/>\n      <line x1="280" x2="370" y1="60" y2="140"/>\n      <line x1="370" x2="280" y1="60" y2="140"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-marker-06-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" \n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" \n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="ED" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: painting-marker-06-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#MarkerElement">\n        <p>\n          Tests the basic support for markers. For the three tests, there\n          should be two identical paths with markers drawn. The path on the left is\n          rendered using the marker elements. The path on the right is rendered using\n          the equivalent SVG, showing what the marked path should look like.\n        </p>\n        <p>\n          This test is similar to the painting-marker-01-f.svg test, but has some viewBox attributes\n          that have a non-zero offset.\n        </p>\n        <p>\n          The top test examines the basic support for the marker element and style. The markers are purple rectangles.\n        </p>\n        <p>\n          The middle test examines the support for the different styles of marker properties. The\n          "marker-start" property defines the marker to use at the first vertex of the marked path,\n          in this case a purple rectangle. The "marker-end" property defines the marker to use at the\n          last vertex of the marked path, in this case a blue triangle. The "marker-mid" property\n          defines the marker to use at all vertices, other than the first and last, of the marked path,\n          in this case a green circle.\n        </p>\n        <p>\n          The bottom test examines the support for marker orientation along the\n          path direction. The second vertex, the top right corner of the path, has a marker that\n          is rotated 45 degrees, since that is the average of the horizontal and vertical segments\n          each side. The last vertex, the bottom right corner of the path, has a marker rotated 90\n          degrees since that is the direction of the last path segment.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image, except for possible\n        variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-marker-06-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n		<!-- ===================================================================== -->\n		<!-- Define a few simple marker elements                                   -->\n		<!-- ===================================================================== -->\n    <marker id="marker1" viewBox="20 20 10 10" markerWidth="2" markerHeight="2" refX="25" refY="25" markerUnits="strokeWidth">\n      <rect x="20" y="20" width="10" height="10" fill="purple" stroke="none"/>\n    </marker>\n    <marker id="marker2" viewBox="-5 -5 10 10" markerWidth="2" markerHeight="2" markerUnits="strokeWidth" orient="auto">\n      <path d="M 0 -5 L 5 5 L -5 5 Z" fill="blue" stroke="none"/>\n    </marker>\n  	<marker id="markerStart" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">\n			<rect width="10" height="10" fill="purple" stroke="none"/>\n		</marker>\n		<marker id="markerMiddle" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">\n			<circle cx="5" cy="5" r="5" fill="green" stroke="none"/>\n		</marker>\n		<marker id="markerEnd" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" markerUnits="strokeWidth">\n			<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n		</marker>\n	</defs>\n		<!-- ===================================================================== -->\n		<!-- Basic Marker Test                                                     -->\n		<!-- ===================================================================== -->\n		<text x="170" y="30" font-size="14">Basic Markers</text>\n		<path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker1)" marker-mid="url(#marker1)" marker-end="url(#marker1)" d="M 130 40 L 180 40 L 180 90"/>\n		<!-- ===================================================================== -->\n		<!-- Generate the equivalent SVG                                           -->\n		<!-- ===================================================================== -->\n		<g transform="translate(120,0)">\n			<path fill="none" stroke="black" stroke-width="8" d="M 130 40 L 180 40 L 180 90"/>\n			<g transform="translate(130,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<rect width="10" height="10" fill="purple" stroke="none"/>\n			</g>\n			<g transform="translate(180,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<rect width="10" height="10" fill="purple" stroke="none"/>\n			</g>\n			<g transform="translate(180,90) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<rect width="10" height="10" fill="purple" stroke="none"/>\n			</g>\n		</g>\n		<!-- ===================================================================== -->\n		<!-- Start, Middle and End Marker Test                                     -->\n		<!-- ===================================================================== -->\n		<text x="145" y="125" font-size="14">Start, Middle and End</text>\n		<path fill="none" stroke="black" stroke-width="8" marker-start="url(#markerStart)" marker-mid="url(#markerMiddle)" marker-end="url(#markerEnd)" d="M 130 135 L 180 135 L 180 185"/>\n		<!-- ===================================================================== -->\n		<!-- Generate the equivalent SVG                                           -->\n		<!-- ===================================================================== -->\n		<g transform="translate(120,0)">\n			<path fill="none" stroke="black" stroke-width="8" d="M 130 135 L 180 135 L 180 185"/>\n			<g transform="translate(130,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<rect width="10" height="10" fill="purple" stroke="none"/>\n			</g>\n			<g transform="translate(180,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<circle cx="5" cy="5" r="5" fill="green" stroke="none"/>\n			</g>\n			<g transform="translate(180,185) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n			</g>\n		</g>\n		<!-- ===================================================================== -->\n		<!-- Auto Orientation Marker Test                                          -->\n		<!-- ===================================================================== -->\n		<text x="145" y="220" font-size="14">Automatic Orientation</text>\n		<path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker2)" marker-mid="url(#marker2)" marker-end="url(#marker2)" d="M 130 230 L 180 230 L 180 280"/>\n		<!-- ===================================================================== -->\n		<!-- Generate the equivalent SVG                                           -->\n		<!-- ===================================================================== -->\n		<g transform="translate(120,0)">\n			<path fill="none" stroke="black" stroke-width="8" d="M 130 230 L 180 230 L 180 280"/>\n			<g transform="translate(130,230) rotate(0) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n			</g>\n			<g transform="translate(180,230) rotate(45) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n			</g>\n			<g transform="translate(180,280) rotate(90) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" stroke-width="8">\n				<path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>\n			</g>\n		</g>    \n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n  <text id="revision" x="10" y="340" stroke="none" \n    fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" \n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-marker-07-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CL" author="Microsoft" status="accepted" version="$Revision: 1.3 $" testname="$RCSfile: painting-marker-07-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#Markers">\n      <p>\n        A \'marker\' element with \'display\' set to \'none\' on that\n        element or any ancestor is rendered when referenced by another element.\n      </p>\n    </d:testDescription>\n        <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there are two green triangles visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-marker-07-f.svg,v $</title>\n    <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <marker id="testMarker" markerWidth="100" markerHeight="100" display="none">\n            <path d="M 0 0 L 200 200 L 0 150 z" fill="green" />\n        </marker>\n        <g display="none">\n          <marker id="testMarker2" markerWidth="100" markerHeight="100">\n            <path d="M 0 0 L 200 200 L 0 150 z" fill="green" />\n          </marker>\n        </g>\n    </defs>\n    <path d="M 0 0 L 25 25" marker-end="url(#testMarker)" />\n    <path d="M 100 0 L 125 25" marker-end="url(#testMarker2)" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>'},
  {name: 'painting-stroke-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kevin McCluskey" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: painting-stroke-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n      <p>\n        Verify the basic capability to handle the stroke properties ("stroke")\n        in combination with the "rect" element .\n        The pair should be rendered as two blue rectangles,\n        the upper one without a stroke and the lower with a green stroke.\n      </p>\n      <p>\n        The test uses the "rect" element, as well as basic "fill" (solid primary colors),\n        "stroke", stroke="green", "font-family" and "font-size" attributes.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image, except for possible\n        variations in the labeling text (per CSS2 rules).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ============================================================================= -->\n    <!-- Draw two simple rectangles. One without stroke other with stroke:green          -->\n    <!-- ============================================================================= -->\n    <text font-size="36" x="10" y="40">Basic paint: stroke properties.</text>\n    <rect id="stroke-01" fill="blue" stroke="none" x="90" y="70" width="300" height="50"/>\n    <rect id="stroke-02" fill="blue" stroke-width="20" stroke="green" x="90" y="190" width="300" height="50"/>\n    <text font-size="30" x="140" y="150">stroke="none"</text>\n    <text font-size="30" x="148" y="280">stroke="green"</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kevin McCluskey" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-stroke-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n      <p>\n        Verify the basic capability to handle the stroke properties ("stroke", "stroke-width",\n        "stroke-linejoin") in combination with the "rect" element.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The pair should be rendered as two blue rectangles without an interior fill.\n        The upper rectangle should have a thick stroke and sharp corners.\n        The lower rectangle should have a thick stroke and round corners.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Set of rectangles with stroke-width:10 and stroke-linejoin:round-->\n    <!-- ====================================================================== -->\n    <text font-size="36" x="10" y="40">Basic paint: stroke properties.</text>\n    <rect id="stroke-01" fill="none" stroke="blue" stroke-width="20" x="90" y="70" width="300" height="50"/>\n    <rect id="stroke-02" fill="none" stroke="blue" stroke-width="20" stroke-linejoin="round" x="90" y="190" width="300" height="50"/>\n    <text font-size="40" x="120" y="160">stroke-width="20"</text>\n    <text font-size="40" x="58" y="290">stroke-linejoin="round"</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kevin McCluskey" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: painting-stroke-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n      <p>\n        This test checks the basic capability of handling the stroke properties ("stroke", "stroke-width"\n        "stroke-linejoin", "stroke-linecap", "stroke-miterlimit")\n        with straight-line path commands.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The two paths should be rendered as two blue line segments.\n        The upper segment should have round end caps. The lower segment\n        should be chopped off where the two line segments meet.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Test stroke-linecap:round and stroke-miterlimit:1                -->\n    <!-- ====================================================================== -->\n    <text font-size="36" x="10" y="40">Basic paint: stroke properties.</text>\n    <path fill="none" stroke="blue" stroke-width="30" stroke-linecap="round" d="M 160 70 l 200 20 l -200 20 "/>\n    <path fill="none" stroke="blue" stroke-width="30" stroke-linejoin="miter" stroke-miterlimit="1" d="M 160 190 l 200 20 l -200 20"/>\n    <text font-size="40" x="60" y="160">stroke-linecap="round"</text>\n    <text font-size="40" x="130" y="280">stroke-miterlimit="1"</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-04-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kevin McCluskey" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: painting-stroke-04-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n        <p>\n          This test checks the "stroke-dasharray" and "stroke-dashoffset" properties. Two lines are drawn, one blue\n        and one black. Both have a "stroke-dasharray" of "10,10" giving a dashed appearance\n        where the size of the gaps and the size of the dash is equal.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      Run the test. No interaction required.\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The black line is lower than but parallel to the blue line. The "stroke-dashoffset" on each line should make the dashes of each line line up with the gaps in the other line.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-04-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Test stroke-dasharray and stroke-dashoffset                            -->\n    <!-- ====================================================================== -->\n    <text font-size="36" x="10" y="60">Basic paint: stroke properties.</text>\n    <path id="stroke-7b" fill="none" stroke="blue" stroke-width="25" stroke-dashoffset="0" stroke-dasharray="10,10" d="M 50 120 L 430 120"/>\n    <path id="stroke-7c" fill="none" stroke="black" stroke-width="25" stroke-dashoffset="10" stroke-dasharray="10,10" d="M 50 140 L 430 140"/>\n    <text font-size="30" x="65" y="210">stroke-dasharray="10, 10"</text>\n    <text font-size="30" x="75" y="260">stroke-dashoffset="10"</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-05-t.svg', svg: '<svg version="1.1" baseProfile="tiny" shape-rendering="geometricPrecision" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="BB" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: painting-stroke-05-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n      <p>\n        User agents may render graphical primitives with different levels of accuracy.\n        This test is aimed at determining how a UA renders thin strokes.\n      </p>\n      <p>\n        The test file contains a number of vertical and horizontal lines.\n        The stroke width of the vertical lines increase from left to right.\n        The stroke width of the horizontal lines increase from top to bottom.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      Run the test. No interaction required.\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if user is able to see a smooth stroke width\n        increment for the vertical and horizontal lines. The top left hand\n        corner should contain strokes that are very thin in width and the bottom\n        right hand corner should contain thick strokes.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-05-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="20" x="240" y="30" text-anchor="middle">Rendering thin strokes</text>\n\n    <polyline points="030,50 030,300" stroke="black" stroke-width="0.001"/>\n    <polyline points="50,50 50,300" stroke="black" stroke-width="0.1"/>\n    <polyline points="70,50 70,300" stroke="black" stroke-width="0.2"/>\n    <polyline points="90,50 90,300" stroke="black" stroke-width="0.3"/>\n    <polyline points="110,50 110,300" stroke="black" stroke-width="0.4"/>\n    <polyline points="130,50 130,300" stroke="black" stroke-width="0.5"/>\n    <polyline points="150,50 150,300" stroke="black" stroke-width="0.6"/>\n    <polyline points="170,50 170,300" stroke="black" stroke-width="0.7"/>\n    <polyline points="190,50 190,300" stroke="black" stroke-width="0.8"/>\n    <polyline points="210,50 210,300" stroke="black" stroke-width="0.9"/>\n    <polyline points="230,50 230,300" stroke="black" stroke-width="1.0"/>\n    <polyline points="250,50 250,300" stroke="black" stroke-width="1.1"/>\n    <polyline points="270,50 270,300" stroke="black" stroke-width="1.2"/>\n    <polyline points="290,50 290,300" stroke="black" stroke-width="1.3"/>\n    <polyline points="310,50 310,300" stroke="black" stroke-width="1.4"/>\n    <polyline points="330,50 330,300" stroke="black" stroke-width="1.5"/>\n    <polyline points="350,50 350,300" stroke="black" stroke-width="1.6"/>\n    <polyline points="370,50 370,300" stroke="black" stroke-width="1.7"/>\n    <polyline points="390,50 390,300" stroke="black" stroke-width="1.8"/>\n    <polyline points="410,50 410,300" stroke="black" stroke-width="1.9"/>\n    <polyline points="430,50 430,300" stroke="black" stroke-width="2.0"/>\n    <polyline points="450,50 450,300" stroke="black" stroke-width="2.1"/>\n\n    <line x1="10" x2="470" y1="100" y2="100" stroke="darkblue" stroke-width="0.1"/>\n    <line x1="10" x2="470" y1="150" y2="150" stroke="darkblue" stroke-width="0.5"/>\n    <line x1="10" x2="470" y1="200" y2="200" stroke="darkblue" stroke-width="1"/>\n    <line x1="10" x2="470" y1="250" y2="250" stroke="darkblue" stroke-width="2"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-06-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="CN" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-stroke-06-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n        <p>\n          Test default effects of stroke-dasharray.\n        </p>\n        <p>\n          This specifically tests the values of none and 0.\n          This also tests an odd number of values in a dash-array attribute\n          and in combination with an offset.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      Run the test. No interaction required.\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The top two lines must be solid black. The next line shows a thick\n        black line with a thinner blue line on top; both must have the same\n        dash pattern. The bottom two lines, one black and one blue, must render\n        so that the gaps of one correspond to the dashes of the other.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-06-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="scale(1.8)">\n\n      <!-- No dasharray -->\n      <path stroke="black" stroke-width="10" fill="none" stroke-dasharray="none" d="   M  20 20   L  200 20"/>\n\n      <path stroke="black" stroke-width="10" fill="none" stroke-dasharray="0" d="   M  20 40   L  200 40"/>\n\n      <!-- Odd number, should repeat to make an even number -->\n      <path stroke="black" stroke-width="20" fill="none" stroke-dasharray="5,2,5,5,2,5" d="   M  20 60   L  200 60"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-dasharray="5,2,5" d="   M  20 60   L  200 60"/>\n\n      <!-- Odd number, with a dashoffset test -->\n      <path stroke="black" stroke-width="10" fill="none" stroke-dasharray="2" d="   M  20 80   L  200 80"/>\n\n      <path stroke="blue" stroke-width="10" fill="none" stroke-dasharray="2" stroke-dashoffset="2" d="         M  20 90   L  200 90"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-07-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="CN" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-stroke-07-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n        <p>\n          Test effect of different stroke-miterlimits. For this particular combination of\n          stroke width and angle, the cut off value of stroke-miterlimit is 18.028.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The first and second subtests should not truncate the stroke, and all the rest must truncate it.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-07-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="scale(1.2) translate(60, 30)">\n      <!-- test different miterlimits -->\n      <path stroke="black" stroke-width="10" stroke-linejoin="miter" stroke-miterlimit="20" fill="none" d="M  20 20   L  200 30  L  20 40"/>\n      <path stroke="black" stroke-width="10" stroke-linejoin="miter" stroke-miterlimit="18.1" fill="none" d="M  20 50   L  200 60  L  20 70"/>\n      <path stroke="black" stroke-width="10" stroke-linejoin="miter" stroke-miterlimit="17.9" fill="none" d="M  20 80   L  200 90  L  20 100"/>\n      <path stroke="black" stroke-width="10" stroke-linejoin="miter" stroke-miterlimit="17" fill="none" d="M  20 110   L  200 120  L  20 130"/>\n      <path stroke="black" stroke-width="10" stroke-linejoin="miter" stroke-miterlimit="4" fill="none" d="M  20 140   L  200 150  L  20 160"/>\n      <path stroke="black" stroke-width="10" stroke-linejoin="miter" stroke-miterlimit="1" fill="none" d="M  20 170   L  200 180  L  20 190"/>\n\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-08-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: painting-stroke-08-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n        <p>\n          Test effects of stroke-opacity range. Values\n          outside the range 0-1.0 must be clamped.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      Run the test. No interaction required.\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        There must be no blue bars visible beside the three pink dots.\n        Four semitransparent blue bars, increasingly more opaque,\n        must line up with the yellow dots. Three fully opaque\n        blue bars must line up with the green dots.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-08-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(50, 0) scale(1.7)">\n      <circle r="5" fill="#f66" cx="200" cy="20"/>\n      <circle r="5" fill="#f66" cx="200" cy="40"/>\n      <circle r="5" fill="#f66" cx="200" cy="60"/>\n      <circle r="5" fill="#f66" cx="200" cy="80"/>\n      <circle r="5" fill="#ff0" cx="200" cy="80"/>\n      <circle r="5" fill="#ff0" cx="200" cy="100"/>\n      <circle r="5" fill="#ff0" cx="200" cy="120"/>\n      <circle r="5" fill="#ff0" cx="200" cy="140"/>\n      <circle r="5" fill="#6f3" cx="200" cy="160"/>\n      <circle r="5" fill="#6f3" cx="200" cy="180"/>\n      <circle r="5" fill="#6f3" cx="200" cy="200"/>\n      <!-- Test range and values outside range (should be clamped to valid range) -->\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="-1.0" d="   M  20 20   L  200 20"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="-0.1" d="   M  20 40   L  200 40"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="0.0" d="   M  20 60   L  200 60"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="0.2" d="   M  20 80   L  200 80"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="0.4" d="   M  20 100   L  200 100"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="0.6" d="   M  20 120   L  200 120"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="0.8" d="   M  20 140   L  200 140"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="1.0" d="   M  20 160   L  200 160"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="1.1" d="   M  20 180   L  200 180"/>\n      <path stroke="blue" stroke-width="10" fill="none" stroke-opacity="2.0" d="   M  20 200  L  200 200"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved \n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-09-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.3" reviewer="CL" author="CM" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: painting-stroke-09-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeDasharrayProperty">\n      <p>\n        This tests that the "stroke-dasharray" property accepts values\n        that are separated by white space.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if it matches the reference rendering\n        by showing a thick stroke with alternating long and short\n        stroke dashes.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-09-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Test stroke-dasharray and stroke-dashoffset                            -->\n    <!-- ====================================================================== -->\n    <path fill="none" stroke="black" stroke-width="25" stroke-dasharray="25  5 , 5 5" d="M50,120 h385"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved --><!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'painting-stroke-10-t.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="CM" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: painting-stroke-10-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/painting.html#StrokeProperties">\n      <p>\n        This tests that stroking of zero length subpaths will result in\n        some rendering if the \'stroke-linecap\' property is set to\n        \'square\' or \'round\', but not if it is set to \'butt\'.\n      </p>\n      <p>\n        Simply load the test.  Two rows of shapes should be presented,\n        with a text label describing the row.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Simply load the test.  Two rows of shapes should be presented,\n        with a text label describing the row.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: painting-stroke-10-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <text x=\'10\' y=\'40\'>Test stroking of zero length subpaths</text>\n\n    <g stroke-width=\'50\' stroke=\'blue\' fill=\'none\'>\n      <path d=\'M190,170 L190,170\' stroke-linecap=\'round\'/>\n      <path d=\'M290,170 L290,170\' stroke-linecap=\'square\'/>\n      <path d=\'M390,170 L390,170\' stroke-linecap=\'butt\' stroke=\'red\'/>\n\n      <path d=\'M190,240 c0,0 0,0 0,0\' stroke-linecap=\'round\'/>\n      <path d=\'M290,240 c0,0 0,0 0,0\' stroke-linecap=\'square\'/>\n      <path d=\'M390,240 c0,0 0,0 0,0\' stroke-linecap=\'butt\' stroke=\'red\'/>\n    </g>\n\n    <g font-size=\'12\'>\n      <text x=\'10\' y=\'175\'>Using an \'L\' command:</text>\n      <text x=\'10\' y=\'245\'>Using a \'c\' command:</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Test that the viewer has the basic capability to handle the \'path\'\n          element and its data (d) attribute in combination with the cubic\n          Bezier curveto commands, C, c, S, s (plus Mm and Zz).\n        </p>\n        <p>\n          There are 8 subtests, each composed from the cubic Bezier path commands per\n          the label by the subtest.  On-curve control points (i.e., the curve position)\n          are marked by small blue squares.  Subtests are filled, or stroked, or\n          both, using simple style properties and colors.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- First Curve "X" that has subpath utilizing M, C, S, m, c, & s ======== -->\n    <!-- ====================================================================== -->\n    <text font-size="12" x="100" y="14">Cubic bezier curves drawn with commands:</text>\n    <path id="X_curve_MCSmcs" fill="#00FF00" stroke="#00C000" d="   M  210 130      C  145 130     110  80     110  80       S  75  25      10  25          m    0 105      c   65   0      100 -50     100 -50       s   35 -55     100 -55   "/>\n    <!-- ====================================================================== -->\n    <!-- Markers for path control points  ===================================== -->\n    <!-- ====================================================================== -->\n    <rect x="208" y="128" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="108" y="78" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="8" y="23" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="8" y="128" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="108" y="78" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="208" y="23" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <text font-size="12" x="5" y="82">M, C, S, m, c, s</text>\n    <!-- ====================================================================== -->\n    <!-- Infinity using M, c, c, c, C & z ===================================== -->\n    <!-- ====================================================================== -->\n    <path id="Infinity_McccCz" fill="none" stroke="#000000" d="   M 240  90      c 0  30    7  50    50  0       c 43  -50    50  -30    50  0       c 0  83    -68  -34    -90  -30       C 240  60    240  90    240  90   z  "/>\n    <!-- ====================================================================== -->\n    <!-- Markers for path control points ====================================== -->\n    <!-- ====================================================================== -->\n    <rect x="238" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="288" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="338" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="248" y="58" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <text font-size="12" x="253" y="50">M, c, c, c, C, z</text>\n    <!-- ====================================================================== -->\n    <!-- Horizontal line utilizing M, C & Z =================================== -->\n    <!-- ====================================================================== -->\n    <path id="Line_MCZ" fill="none" stroke="#000000" d="M80 170   C100 170 160 170 180 170Z"/>\n    <!-- ====================================================================== -->\n    <!-- Markers for path control points ====================================== -->\n    <!-- ====================================================================== -->\n    <rect x="78" y="168" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="178" y="168" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <text font-size="12" x="110" y="190">M, C, Z</text>\n    <!-- ====================================================================== -->\n    <!-- Inverted V using M, C, c & Z ========================================= -->\n    <!-- ====================================================================== -->\n    <path id="Inv_V_MCcZ" fill="#00C000" stroke="none" d="M5 260 C40 260 60 175  55 160 c  -5  15 15 100 50 100Z"/>\n    <!-- ====================================================================== -->\n    <!-- Markers for path control points ====================================== -->\n    <!-- ====================================================================== -->\n    <rect x="3" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="53" y="158" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="103" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <text font-size="12" x="85" y="220">M, C, c, Z</text>\n    <!-- ====================================================================== -->\n    <!-- Remembrance Ribbon using m, c & s ==================================== -->\n    <!-- ====================================================================== -->\n    <path id="Rem_Rib_mcs" fill="none" stroke="#000000" d="m 200 260      c  50 -40     50 -100     25 -100       s -25  60     25  100  "/>\n    <!-- ====================================================================== -->\n    <!-- Markers for path control points ====================================== -->\n    <!-- ====================================================================== -->\n    <rect x="198" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="223" y="158" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="248" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <text font-size="12" x="165" y="210">m, c, s</text>\n    <!-- ====================================================================== -->\n    <!-- 90 degree arc using M & C ============================================ -->\n    <!-- ====================================================================== -->\n    <path id="Arc_MC" fill="#0000FF" stroke="#000000" d="   M 360 100   C 420 90 460 140 450 190"/>\n    <!-- ====================================================================== -->\n    <!-- Markers for path control points ====================================== -->\n    <!-- ====================================================================== -->\n    <rect x="358" y="98" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="448" y="188" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <text font-size="12" x="360" y="150">M, C</text>\n    <!-- ====================================================================== -->\n    <!-- Circle using M, c, s, s, s & z ======================================= -->\n    <!-- ====================================================================== -->\n    <path id="Circle_Mcssz" fill="#FFFF00" stroke="#000000" d="M360 210      c   0  20    -16  36    -36  36       s -36 -16    -36 -36       s  16 -36     36 -36    s  36  16     36  36   z  "/>\n    <!-- ====================================================================== -->\n    <!-- Markers for path control points ====================================== -->\n    <!-- ====================================================================== -->\n    <rect x="358" y="208" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="322" y="244" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="286" y="208" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="322" y="172" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <text font-size="12" x="290" y="265">M, c, s, s, s, z</text>\n    <!-- ====================================================================== -->\n    <!-- Inverted horseshoe using m, c & z ==================================== -->\n    <!-- ====================================================================== -->\n    <path id="Horseshoe_Mcs" fill="#F0F0F0" stroke="#00AA00" d="m 360  325  c -40  -60     95 -100     80    0      z  "/>\n    <!-- ====================================================================== -->\n    <!-- Markers for path control points ====================================== -->\n    <!-- ====================================================================== -->\n    <rect x="358" y="323" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <rect x="438" y="323" width="4" height="4" fill="#4A83FF" stroke="none"/>\n    <text font-size="12" x="380" y="340">m, c, z</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Test that the viewer has the basic capability to handle the \'path\'\n          element and its data (d) attribute in combination with the quadratic\n          Bezier curveto commands, Q, q, T, t (plus Mm and Zz).\n        </p>\n        <p>\n          There are 7 subtests, each composed from the quadric Bezier path commands per\n          the label by the subtest.  On-curve control points (i.e., the curve position)\n          are marked by small colored squares.  Subtests are filled, or stroked, or\n          both, using simple style properties and colors.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="12" x="120" y="14">Quadric bezier curves drawn with commands:</text>\n    <!-- ====================================================================== -->\n    <!-- Quad Bezier with sub-path using M, Q, M, q, & z ====================== -->\n    <!-- ====================================================================== -->\n    <path id="Bez_MQMqz" fill="none" stroke="#0000FF" stroke-width="3" d="M  15   20      Q  30  120    130   30      M 180   80      q  -75 -100    -163  -60z"/>\n    <text font-size="12" x="80" y="86">M, Q, M, q, z</text>\n    <rect x="13" y="18" width="4" height="4" fill="#00C000" stroke="none"/>\n    <rect x="128" y="28" width="4" height="4" fill="#00C000" stroke="none"/>\n    <rect x="178" y="78" width="4" height="4" fill="#00C000" stroke="none"/>\n    <rect x="15" y="18" width="4" height="4" fill="#00C000" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Quad Bezier with sub-path using m, q, z, m, q, & z =================== -->\n    <!-- ====================================================================== -->\n    <path id="Bez_fill_MQzmqz" fill="#FFFF00" stroke="#0000CF" d="M372 130Q272 50 422 10zm70 0q50-150-80-90z"/>\n    <text font-size="12" x="352" y="150">m, q, z, m, q, z</text>\n    <rect x="370" y="128" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="420" y="8" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="440" y="128" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="360" y="38" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Simple Bezier using M, Q, & Z ======================================== -->\n    <!-- ====================================================================== -->\n    <path id="Bez_stroke_MQz" fill="none" stroke="#00FFFF" d="M224 103Q234 -12 304 33Z"/>\n    <text font-size="12" x="192" y="36">M, Q, Z</text>\n    <rect x="222" y="101" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="302" y="31" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Tri Bezier using M, Q, T, Q, & z ===================================== -->\n    <!-- ====================================================================== -->\n    <path id="Tri_MQTQz" fill="#00C000" stroke="#000000" d="M208 168Q258 268 308 168T258 118Q128 88 208 168z"/>\n    <text font-size="12" x="308" y="188">M, Q, T, Q, z</text>\n    <rect x="206" y="166" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="306" y="166" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="256" y="116" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="206" y="206" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Double Bezier using M, Q, Q, & z ===================================== -->\n    <!-- ====================================================================== -->\n    <path id="Inv_V_MCcZ" fill="#00CF00" stroke="none" d="   M   60 100      Q  -40 150      60 200      Q  160 150      60 100       z  "/>\n    <text font-size="12" x="80" y="200">M, Q, Q, z</text>\n    <rect x="58" y="98" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="58" y="198" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="58" y="98" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Sin Wave using M, q, t, t, t, t, & z ================================ -->\n    <!-- ====================================================================== -->\n    <path id="Sin_Mqttttz" fill="none" stroke="#40DD20" d="M240 296q25-100 47 0t47 0t47 0t47 0t47 0z"/>\n    <text font-size="12" x="380" y="236">M, q, t, t, t, t, z</text>\n    <rect x="238" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="285" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="332" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="379" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="426" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="473" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Double Spade using M, q, Q, q, Q, & z ================================ -->\n    <!-- ====================================================================== -->\n    <path id="Dbl_spd_MCcZ" fill="#0000C0" stroke="#00CF00" stroke-width="2" d="M172 193q-100 50 0 50Q72 243 172 293q100 -50 0 -50Q272 243 172 193z"/>\n    <text font-size="12" x="48" y="280">M, q, Q, q, Q, z</text>\n    <rect x="170" y="191" width="4" height="4" fill="#40DD20" stroke="none"/>\n    <rect x="170" y="241" width="4" height="4" fill="#40DD20" stroke="none"/>\n    <rect x="170" y="291" width="4" height="4" fill="#40DD20" stroke="none"/>\n    <rect x="170" y="241" width="4" height="4" fill="#40DD20" stroke="none"/>\n    <rect x="170" y="191" width="4" height="4" fill="#40DD20" stroke="none"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-03-f.svg', svg: '<svg version="1.1" baseProfile="full" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-03-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Test that the viewer has the basic capability to handle the \'path\'\n          element and its data (d) attribute in combination with the elliptical\n          arc curveto commands, A, a (plus Mm and Zz).\n        </p>\n        <p>\n          There are 6 subtests, each composed from the elliptical arc path commands per\n          the label by the subtest.  The curve positions\n          are marked by small colored squares.  Subtests are filled, or stroked, or\n          both, using simple style properties and colors.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-03-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="12" x="120" y="14">Elliptical arc curves drawn with commands:</text>\n    <!-- ====================================================================== -->\n    <!-- Simple circle using MAZ  ============================ -->\n    <!-- ====================================================================== -->\n    <path id="Arc_MAZ" fill="none" stroke="#03DD20" stroke-width="10" d="   M  25   70      A  40   40      0         1      0     25   69   Z    "/>\n    <text font-size="12" x="48" y="70">M, A, Z</text>\n    <rect x="23" y="68" width="4" height="4" fill="#00C000" stroke="none"/>\n    <rect x="23" y="67" width="4" height="4" fill="#00C000" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- filled arc using m, a, & z =================== -->\n    <!-- ====================================================================== -->\n    <path id="Arc_fill_maz" fill="#00FF00" stroke="#0000FF" d="   m  150   100      a  50    40       0          1       0      25   -70   z  "/>\n    <text font-size="12" x="124" y="45">m, a, z</text>\n    <rect x="148" y="98" width="4" height="4" fill="#CF0000" stroke="none"/>\n    <rect x="173" y="28" width="4" height="4" fill="#CF0000" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Unterminated arc using M & a ======================================== -->\n    <!-- ====================================================================== -->\n    <path id="Arc_Ma" fill="none" stroke="#000000" d="   M  350    245      a   40    40       0          1       0      80    60       "/>\n    <text font-size="12" x="390" y="300">M, a</text>\n    <rect x="348" y="243" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="428" y="303" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Triple Arc using M, A, a, a, & z ===================================== -->\n    <!-- ====================================================================== -->\n    <path id="Tri_MAaaz" fill="#0067C0" stroke="none" fill-rule="evenodd" d="   M   270   30      A   50    50       0          1       0     345   30         a   50    50       0          1       0      50    0         a   50    50       0          1       0      25    0    z  "/>\n    <text font-size="12" x="280" y="135">M, A, a, a, z</text>\n    <rect x="268" y="28" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="343" y="28" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="393" y="28" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="418" y="28" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Tripple arc using M, a, Z, m, A, Z, m, a & z ===================================== -->\n    <!-- ====================================================================== -->\n    <path id="Arc_MaZmAzmaz" fill="#609040" stroke="#000000" stroke-width="3" d="   M  30   150      a   40    40       0          0       1      65    50          Z                    m   30       30                         A   20       20              0              0              0             125   230        Z             m   40       24                         a   20       20              0              0              1              65    50        z "/>\n    <text font-size="12" x="25" y="270">M, a, Z, m, A, Z, m, a, z</text>\n    <rect x="28" y="148" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="93" y="198" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="58" y="178" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="123" y="228" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="98" y="202" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="163" y="252" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <!-- ====================================================================== -->\n    <!-- Sin Wave using M, q, t, t, t, t, & z ================================ -->\n    <!-- ====================================================================== -->\n    <path id="Sin_MAAAAA" fill="none" stroke="#40DD20" d="   M   215    190      A   40    200      10          0       0      265    190    A   40    200      20          0       1     315    190        A   40    200      30          0       0     365    190    A   40    200      40          0       1     415    190        A   40    200      50          0       0     465    190                     "/>\n    <text font-size="12" x="215" y="246">M, A, A, A, A</text>\n    <rect x="213" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="263" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="313" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="363" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="413" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>\n    <rect x="463" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-04-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-04-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Verify the basic capability to handle the \'path\' element, and its data attribute (d)\n          in combination with the straight-line path commands.\n          Two pairs of concentric equilateral triangles are drawn using respectively\n          M,L,Z and m,l,z.  The shapes are identical, with one stroked and\n          one filled.  The fill-mode default of "even-odd" means that\n          the inner triangle is hollow.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-04-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- First Group of Triangles using M, L & Z commands ===================== -->\n    <!-- ====================================================================== -->\n    <g transform="scale(1.8)">\n      <!--		<text font-size="12"  x="160" y="14">Lines drawn with commands:</text> -->\n      <text font-size="12" x="88" y="30">M, L, L, L, Z,</text>\n      <text font-size="12" x="98" y="46">subpath</text>\n      <text font-size="12" x="88" y="61">M, L, L, L, Z</text>\n      <path id="Triangle_stroke_MLZ" fill="none" stroke="#000000" d="   M   62.00000   56.00000    L  113.96152  146.00000   L   10.03848  146.00000    L   62.00000   56.00000   Z    M   62.00000  71.00000   L  100.97114  138.50000   L   23.02886  138.50000   L   62.00000  71.00000   Z  "/>\n      <rect x="60.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="111.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="8.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="60.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="98.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="21.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <text font-size="12" x="42" y="162">stroked</text>\n      <path id="Triangle_fill_MLZ" fill="#7FA" stroke="none" fill-rule="evenodd" d="   M  177.00000   56.00000    L  228.96152  146.00000   L  125.03848  146.00000    L  177.00000   56.00000   Z    M  177.00000  71.00000   L  215.97114  138.50000   L  138.02886  138.50000   L  177.00000  71.00000   Z  "/>\n      <rect x="175.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="226.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="123.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="175.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="213.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="136.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <text font-size="12" x="162" y="162">filled</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-05-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-05-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Verify the basic capability to handle the \'path\' element, and its data attribute (d)\n          in combination with the straight-line path commands.\n          Two pairs of concentric equilateral triangles are drawn using respectively\n          M,L,Z and m,l,z. The shapes in each pair are identical, with one stroked and\n          one filled.   The fill-mode default of "even-odd" means that\n          the inner triangle is hollow.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-05-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Second Group of Triangles using m, l & z commands===================== -->\n    <!-- ====================================================================== -->\n    <g transform="scale(1.8) translate(0, -150)">\n      <text font-size="12" x="96" y="180">m, l, l, l, z,</text>\n      <text font-size="12" x="100" y="194">subpath</text>\n      <text font-size="12" x="97" y="208">m, l, l, l, z</text>\n      <path id="Triangle_stroke_mlz" fill="none" stroke="#000000" d="   m   62.00000  190.00000    l   51.96152   90.00000   l -103.92304    0.00000    l   51.96152  -90.00000   z    m    0.00000   15.00000   l   38.97114   67.50000   l  -77.91228    0.00000   l   38.97114  -67.50000   z  "/>\n      <rect x="60.00000" y="188.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="111.96152" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="8.03848" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="60.00000" y="203.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="98.97114" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="21.02886" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <path id="Triangle_fill_mlz" fill="#006000" stroke="none" fill-rule="evenodd" d="   m  177.00000  190.00000    l   51.96152   90.00000   l -103.92304    0.00000    l   51.96152  -90.00000   z    m    0.00000   15.00000   l   38.97114   67.50000   l  -77.91228    0.00000   l   38.97114  -67.50000   z  "/>\n      <rect x="175.00000" y="188.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="226.96152" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="123.03848" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="175.00000" y="203.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="213.97114" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="136.02886" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-06-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-06-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Verify the basic capability to handle the \'path\' element, and its data attribute (d)\n          in combination with the straight-line path commands.\n          Two pairs of staircase figures are drawn using\n          respectively M,H,V,Z and m,h,v,z. The shapes in each pair are identical, with one stroked and\n          one filled.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-06-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="scale(1.8) translate(-200, 0)">\n      <!-- ====================================================================== -->\n      <!-- First Group of Stairs using M, H, V & Z commands====================== -->\n      <!-- ====================================================================== -->\n      <text font-size="12" x="288" y="30">M, H, V, H,</text>\n      <text font-size="12" x="288" y="46">V. H, V, H,</text>\n      <text font-size="12" x="304" y="62">V, Z</text>\n      <path id="Stairs_stroke_MHVZ" fill="none" stroke="#000000" d="   M  240.00000  56.00000    H  270.00000   V  86.00000    H  300.00000   V  116.00000    H  330.00000   V  146.00000    H  240.00000   V  56.00000    Z  "/>\n      <rect x="238.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="268.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="268.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="298.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="298.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="328.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="328.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="238.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <path id="Stairs_fill_MHVZ" fill="#0000FF" stroke="none" d="   M  350.00000  56.00000   H  380.00000   V  86.00000    H  410.00000   V  116.00000    H  440.00000   V  146.00000    H  350.00000   V  56.00000    Z  "/>\n      <rect x="348.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="378.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="378.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="408.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="408.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="438.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="438.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <rect x="348.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>\n      <!-- ====================================================================== -->\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-07-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-07-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Verify the basic capability to handle the \'path\' element, and its data attribute (d)\n          in combination with the straight-line path commands.\n          Two pairs of staircase figures are drawn using\n          respectively M,H,V,Z and m,h,v,z. The shapes in each pair are identical, with one stroked and\n          one filled.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-07-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="scale(1.8) translate(-200, -150)">\n      <!-- ====================================================================== -->\n      <!-- Second Group of Stairs using m, h, v & z commands====================== -->\n      <!-- ====================================================================== -->\n      <text font-size="12" x="288" y="180">m, h, v, h</text>\n      <text font-size="12" x="288" y="194">v, h, v, h</text>\n      <text font-size="12" x="304" y="208">v, z</text>\n      <path id="Stairs_stroke_mhvz" fill="none" stroke="#000000" d="   m  240.00000  190.00000    h   30.00000   v   30.00000    h   30.00000   v   30.00000    h   30.00000   v   30.00000    h  -90.00000   v  -90.00000    z  "/>\n      <rect x="238.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="268.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="268.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="298.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="298.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="328.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="328.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="238.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <path id="Stairs_fill_mhvz" fill="#FFFF00" stroke="none" d="   m  350.00000  190.00000    h   30.00000   v   30.00000    h   30.00000   v   30.00000    h   30.00000   v   30.00000    h  -90.00000   v  -90.00000    z  "/>\n      <rect x="348.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="378.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="378.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="408.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="408.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="438.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="438.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n      <rect x="348.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-08-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="SH" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-08-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Verify the basic capability to handle the \'path\' element, and its data attribute (d)\n          in combination with the straight-line path commands.\n          Two pairs of concentric equilateral triangles are drawn using\n          M and Z.  No L commands are used in this test as they are implied after\n          an M or Z command.  The shapes are identical, with one stroked and\n          one filled.  The fill-mode default of "even-odd" means that\n          the inner triangle is hollow.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-08-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- First Group of Triangles using M & Z commands ======================== -->\n    <!-- ====================================================================== -->\n    <text font-size="24" x="75" y="34">Lines drawn with commands:</text>\n    <text font-size="24" x="180" y="64">M and Z</text>\n\n    <g transform="scale(1.8)">\n      <path id="Triangle_stroke_MZ" fill="none" stroke="#000000" d="   M   62.00000   56.00000    113.96152  146.00000   10.03848  146.00000    62.00000   56.00000   Z    M   62.00000  71.00000   100.97114  138.50000   23.02886  138.50000   62.00000  71.00000   Z  "/>\n      <rect x="60.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="111.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="8.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="60.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="98.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="21.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <text font-size="12" x="42" y="162">stroked</text>\n      <path id="Triangle_fill_MZ" fill="#05D" stroke="none" fill-rule="evenodd" d="   M  177.00000   56.00000    228.96152  146.00000   125.03848  146.00000    177.00000   56.00000   Z    M  177.00000  71.00000   215.97114  138.50000   138.02886  138.50000   177.00000  71.00000   Z  "/>\n      <rect x="175.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="226.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="123.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="175.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="213.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <rect x="136.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>\n      <text font-size="12" x="162" y="162">filled</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-09-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="SH" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-09-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Verify the basic capability to handle the \'path\' element, and its data attribute (d)\n          in combination with the straight-line path commands.\n          Two pairs of concentric equilateral triangles are drawn using\n          m and z.  No l commands are used in this test as they are implied after\n          an m or z command.  The shapes are identical, with one stroked and\n          one filled.  The fill-mode default of "even-odd" means that\n          the inner triangle is hollow.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-09-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Second Group of Triangles using m & z commands   ===================== -->\n    <!-- ====================================================================== -->\n    <text font-size="24" x="75" y="34">Lines drawn with commands:</text>\n    <text font-size="24" x="180" y="64">m and z</text>\n    <g transform="scale(1.8) translate(0, -150)">\n      <path id="Triangle_stroke_mz" fill="none" stroke="#000000" d="   m   62.00000  190.00000    51.96152   90.00000   -103.92304    0.00000    51.96152  -90.00000   z    m    0.00000   15.00000   38.97114   67.50000   -77.91228    0.00000   38.97114  -67.50000   z  "/>\n      <rect x="60.00000" y="188.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="111.96152" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="8.03848" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="60.00000" y="203.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="98.97114" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="21.02886" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <path id="Triangle_fill_mz" fill="#006000" stroke="none" fill-rule="evenodd" d="   m  177.00000  190.00000    51.96152   90.00000   -103.92304    0.00000    51.96152  -90.00000   z    m    0.00000   15.00000   38.97114   67.50000   -77.91228    0.00000   38.97114  -67.50000   z  "/>\n      <rect x="175.00000" y="188.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="226.96152" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="123.03848" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="175.00000" y="203.00000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="213.97114" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>\n      <rect x="136.02886" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-10-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="SH" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-10-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Verify that the viewer renders the line caps and line joins for\n          open and closed paths properly.\n          Verify that the open triangular paths are stroked differently at\n          ends of the path than they are at their intermediate corners.\n          In contrast, the corners of a closed path should all appear the\n          same.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-10-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="translate(10,10)">\n      <text font-size="18" x="10" y="20">open</text>\n      <text font-size="18" x="10" y="38">join=round</text>\n      <text font-size="18" x="10" y="56">cap=butt</text>\n      <text font-size="18" x="10" y="74">M, L</text>\n      <g transform="translate(115,0)">\n        <path id="triangle-01" fill="green" stroke="#39D" stroke-width="15" stroke-linecap="butt" stroke-linejoin="round" d="M 100 0 L 100 80 0 40 100 0"/>\n      </g>\n    </g>\n    <g transform="translate(10,115)">\n      <text font-size="18" x="10" y="20">open</text>\n      <text font-size="18" x="10" y="38">join=bevel</text>\n      <text font-size="18" x="10" y="56">cap=round</text>\n      <text font-size="18" x="10" y="74">m, l</text>\n      <g transform="translate(115,0)">\n        <path id="triangle-02" fill="green" stroke="#39D" stroke-width="15" stroke-linecap="round" stroke-linejoin="bevel" d="m 100 0 l 0 80 -100 -40 100 -40"/>\n      </g>\n    </g>\n    <g transform="translate(10,220)">\n      <text font-size="18" x="10" y="20">open</text>\n      <text font-size="18" x="10" y="38">join=miter</text>\n      <text font-size="18" x="10" y="56">cap=square</text>\n      <text font-size="18" x="10" y="74">M, L</text>\n      <g transform="translate(115,0)">\n        <path id="triangle-03" fill="green" stroke="#39D" stroke-width="15" stroke-linecap="square" stroke-linejoin="miter" d="M 100 0 L 100 80 0 40 100 0"/>\n      </g>\n    </g>\n    <g transform="translate(250,10)">\n      <text font-size="18" x="125" y="20">closed</text>\n      <text font-size="18" x="125" y="38">join=round</text>\n      <text font-size="18" x="125" y="56">cap=butt</text>\n      <text font-size="18" x="125" y="74">M, L, Z</text>\n      <g transform="translate(0,0)">\n        <path id="triangle-04" fill="green" stroke="#39D" stroke-width="15" stroke-linecap="butt" stroke-linejoin="round" d="M 0 0 L 100 40 0 80 Z"/>\n      </g>\n    </g>\n    <g transform="translate(250,115)">\n      <text font-size="18" x="125" y="20">closed</text>\n      <text font-size="18" x="125" y="38">join=bevel</text>\n      <text font-size="18" x="125" y="56">cap=round</text>\n      <text font-size="18" x="125" y="74">m, l, z</text>\n      <g transform="translate(0,0)">\n        <path id="triangle-05" fill="green" stroke="#39D" stroke-width="15" stroke-linecap="round" stroke-linejoin="bevel" d="m 0 0 l 100 40 -100 40 z"/>\n      </g>\n    </g>\n    <g transform="translate(250,220)">\n      <text font-size="18" x="125" y="20">closed</text>\n      <text font-size="18" x="125" y="38">join=miter</text>\n      <text font-size="18" x="125" y="56">cap=square</text>\n      <text font-size="18" x="125" y="74">M, L, Z</text>\n      <g transform="translate(0,0)">\n        <path id="triangle-06" fill="green" stroke="#39D" stroke-width="15" stroke-linecap="square" stroke-linejoin="miter" d="M 0 0 L 100 40 0 80 Z"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-12-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CN" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: paths-data-12-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Test using multiple coord sets to build a polybeizer, and implicit values for initial S.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image exactly, except for possible variations in the labelling text (per CSS2 rules).\n      </p>\n\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-12-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- Use multiple coord sets to build a polybeizer-->\n    <path fill="none" stroke="black" stroke-width="3" d="M  100 100    C  100 20   200 20   200 100   S   300 180   300 100"/>\n    <rect x="100" y="100" width="4" height="4" fill="blue" stroke="none"/>\n    <rect x="200" y="100" width="4" height="4" fill="blue" stroke="none"/>\n    <rect x="300" y="100" width="4" height="4" fill="blue" stroke="none"/>\n    <!-- Test if S not preceeded by either C or S ,  first control point is coincident with the current point.-->\n    <path fill="none" stroke="black" stroke-width="3" d="M  100 250    S  200 200   200 250     300 300   300 250"/>\n    <rect x="100" y="250" width="4" height="4" fill="blue" stroke="none"/>\n    <rect x="200" y="200" width="4" height="4" fill="blue" stroke="none"/>\n    <rect x="200" y="250" width="4" height="4" fill="blue" stroke="none"/>\n    <rect x="200" y="300" width="4" height="4" fill="blue" stroke="none"/>\n    <rect x="300" y="300" width="4" height="4" fill="blue" stroke="none"/>\n    <rect x="300" y="250" width="4" height="4" fill="blue" stroke="none"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-13-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CN" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: paths-data-13-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Test multiple coordinates for V and H. \n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n      Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test is passed if there is one horizontal green line and one vertical blue line.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-13-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- Use multiple coords to H, should get a straight horizontal line -->\n    <path stroke="green" stroke-width="5" d="   M  240.00000  56.00000    H  270.00000         300.00000 320.00000 400.00000   "/>\n\n    <!-- Use multiple coords to V, should get a straight vertical line -->\n    <path stroke="blue" stroke-width="5" d="   M  240.00000  156.00000    V  180.00000         200.00000 260.00000 300.00000   "/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-14-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-14-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Test implicit values for moveto. If the first command is \'m\' it should be taken as an absolute moveto, plus implicit lineto.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test is passed if the three triangles are shown: two concentric, unfilled\n      triangles with black strokes on the left, and one unfilled triangle with\n      a thick blue stroke on the right.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-14-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="scale(1.8)">\n      <!-- If the first command is \'m\' it should be taken as an absolute moveto, plus implicit lineto. -->\n      <path fill="none" stroke="#000000" d="   m   62.00000  56.00000    51.96152   90.00000   -103.92304         0.00000    51.96152  -90.00000   z    m    0.00000   15.00000   38.97114   67.50000   -77.91228         0.00000   38.97114  -67.50000   z  "/>\n      <!-- Test implicit lineto. -->\n      <path fill="#0000FF" stroke="none" fill-rule="evenodd" d="   M  177.00000   56.00000    228.96152         146.00000   125.03848  146.00000    177.00000   56.00000   Z    M  177.00000  71.00000   215.97114         138.50000   138.02886  138.50000   177.00000  71.00000   Z  "/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-15-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-15-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n        <p>\n          Test using multiple coord sets to build a polybezier, then T with no preceding Q or T.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, apart from any allowable font selection differences due to CSS2.</p>\n      <p>A purple wavy line above a short, blue horizontal line must be shown.\n      Small black triangles pointing to the start, middle and end of the blue\n      line must also be shown.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-15-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="scale(1.8) translate(20 50)">\n      <!-- Use multiple coord sets to build a polybezier-->\n      <path fill="none" stroke="purple" stroke-width="3" d="M  20 20    Q  50 10   80 20   110 30   140 20         170 10   200 20"/>\n      <!-- Test if T not preceded by either Q or T , control point should be coincident with the current point.-->\n      <path fill="none" stroke="blue" stroke-width="3" d="M  20 50    T  50 50   80 50"/>\n      <path d="M 20,52 l-2,4 h4 z"/>\n      <path d="M 50,52 l-2,4 h4 z"/>\n      <path d="M 80,52 l-2,4 h4 z"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-16-t.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CM" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: paths-data-16-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathData">\n      <p>\n        This tests that any implicit lineto commands that result from an\n        \'M\' or \'m\' command with more than one pair of coordinates are absolute\n        if the moveto was specified with \'M\' and relative if the moveto was\n        specified with \'m\'.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        After loading the test, the test is passed if two yellow\n        triangles with black borders are shown.  Otherwise, the\n        test has failed.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-16-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <text x=\'10\' y=\'40\' font-size=\'13\'>Test relative-ness of implicit lineto path commands</text>\n\n    <g fill=\'red\' stroke=\'red\' stroke-width=\'16\' stroke-linejoin=\'round\'>\n      <path d=\'M100,120 L160,220 L40,220 z\'/>\n      <path d=\'M350,120 L410,220 L290,220 z\'/>\n    </g>\n    <g fill=\'gold\' stroke=\'black\' stroke-width=\'16\' stroke-linejoin=\'round\'>\n      <path d=\'M100,120 160,220 40,220 z\'/>\n      <path d=\'m350,120 60,100 -120,0 z\'/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-17-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="Microsoft" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: paths-data-17-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathDataClosePathCommand">\n      <p>\n        Test that the \'z\' and \'Z\' command have the same effect.\n      </p>\n      <p>\n        Specify four \'path\' elements that each use three \'L\' commands to draw three sides of a square. The fourth line of each\n        square is drawn via a \'closepath\' command. A red square closed via \'z\' is covered with a black square closed via \'Z\' and\n        vice versa.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if two black-stroked, unfilled squares are visible and\n	there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-17-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <path d="M 50 50 L 50 150 L 150 150 L 150 50 z" stroke-width="5" stroke="red" fill="none" />\n    <path d="M 50 50 L 50 150 L 150 150 L 150 50 Z" stroke-width="6" stroke="black" fill="none" />\n    <path d="M 250 50 L 250 150 L 350 150 L 350 50 Z" stroke-width="5" stroke="red" fill="none" />\n    <path d="M 250 50 L 250 150 L 350 150 L 350 50 z" stroke-width="6" stroke="black" fill="none" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved \n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'paths-data-18-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-18-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathDataGeneralInformation">\n      <p>\n        The \'path\' element\'s \'d\' attribute ignores additional whitespace, newline characters, and commas, and BNF processing consumes as much content as possible, stopping as soon as a character that doesn\'t satisfy the production is encountered.\n      </p>\n      <p>\n        Various black path segments are rendered that each demonstrate one of the parsing rules. Each path segment is placed on top\n        of a similar path segment that lacks the particular parsing rule that is being tested. Test passes if no red is visible.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test passes if seven thick black horizontal lines are shown with corresponding\n        gold horizontal lines just above them, and the black and gold lines are all of the\n        same length and horizontal position.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-18-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g fill="gold">\n      <rect x="220" y="40" width="160" height="8"/>\n      <rect x="220" y="80" width="160" height="8"/>\n      <rect x="220" y="120" width="160" height="8"/>\n      <rect x="220" y="160" width="160" height="8"/>\n      <rect x="64.6" y="200" width="319.5" height="8"/>\n      <rect x="140" y="240" width="160" height="8"/>\n      <rect x="220" y="280" width="160" height="8"/>\n    </g>\n\n    <g transform="translate(60,-30) scale(8,2)">\n      <path d="M 20 40 H 40" stroke-width="2" stroke="red" />\n      <path d="M 20 40\n                 H 40" stroke-width="4" stroke="black" />\n  \n      <path d="M 20 60 H 40" stroke-width="2" stroke="red" />\n      <path d="\n                  M\n                  20\n                  60\n                  H\n                  40\n                  " stroke-width="4" stroke="black" />\n  \n      <path d="M 20 80 H40" stroke-width="2" stroke="red" />\n      <path d="M       20,80          H    40" stroke-width="4" stroke="black" />\n  \n      <path d="M 20 100 H 40#90" stroke-width="2" stroke="red" />\n      <path d="M 20 100 H 40" stroke-width="4" stroke="black" />\n  \n      <path d="M 20 120 H 40.5 0.6" stroke-width="2" stroke="red" />\n      <path d="M 20 120 H 40.5.6" stroke-width="4" stroke="black" />\n  \n      <path d="M 20 140 h 10 -20" stroke-width="2" stroke="red" />\n      <path d="M 20 140 h 10-20" stroke-width="4" stroke="black" />\n  \n      <path d="M 20 160 H 40" stroke-width="2" stroke="red" />\n      <path d="M 20 160 H 40#90" stroke-width="4" stroke="black" />\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved \n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g> -->\n</svg>\n'},
  {name: 'paths-data-19-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: paths-data-19-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathDataGeneralInformation">\n      <p>\n        Test that additional parameters to pathdata commands are treated as additional calls to the most recent command.\n      </p>\n      <p>\n        Each of the applicable \'pathdata\' commands are used in separate \'path\' elements. Each command is repeated in red and\n        overlayed with another \'path\' element with identical coordinates specified but without the repeated command in black.\n        Commands that do not render or do not take parameters are omitted.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-19-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <path d="M20 20 H40 H60" stroke-width="3" stroke="red" fill="none" />\n    <path d="M20 20 H40 60" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M20 40 h20 h20" stroke-width="3" stroke="red" fill="none" />\n    <path d="M20 40 h20 20" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M120 20 V40 V60" stroke-width="3" stroke="red" fill="none" />\n    <path d="M120 20 V40 60" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M140 20 v20 v20" stroke-width="3" stroke="red" fill="none" />\n    <path d="M140 20 v20 20" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M220 20 L 240 20 L260 20" stroke-width="3" stroke="red" fill="none" />\n    <path d="M220 20 L 240 20 260 20 " stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M220 40 l 20 0 l 20 0" stroke-width="3" stroke="red" fill="none" />\n    <path d="M220 40 l 20 0 20 0" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M50 150 C50 50 200 50 200 150 C200 50 350 50 350 150" stroke-width="3" stroke="red" fill="none" />\n    <path d="M50 150 C50 50 200 50 200 150 200 50 350 50 350 150" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M50, 200 c0,-100 150,-100 150,0 c0,-100 150,-100 150,0" stroke-width="3" stroke="red" fill="none" />\n    <path d="M50, 200 c0,-100 150,-100 150,0 0,-100 150,-100 150,0" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M50 250 S125 200 200 250 S275, 200 350 250" stroke-width="3" stroke="red" fill="none" />\n    <path d="M50 250 S125 200 200 250 275, 200 350 250" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M50 275 s75 -50 150 0 s75, -50 150 0" stroke-width="3" stroke="red" fill="none" />\n    <path d="M50 275 s75 -50 150 0 75, -50 150 0" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M50 300 Q 125 275 200 300 Q 275 325 350 300" stroke-width="3" stroke="red" fill="none" />\n    <path d="M50 300 Q 125 275 200 300 275 325 350 300" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M50 325 q 75 -25 150 0 q 75 25 150 0" stroke-width="3" stroke="red" fill="none" />\n    <path d="M50 325 q 75 -25 150 0 75 25 150 0" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M425 25 T 425 75 T 425 125" stroke-width="3" stroke="red" fill="none" />\n    <path d="M425 25 T 425 75 425 125" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M450 25 t 0 50 t 0 50" stroke-width="3" stroke="red" fill="none" />\n    <path d="M450 25 t 0 50 0 50" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M400,200 A25 25 0 0 0 425 150 A25 25 0 0 0 400 200" stroke-width="3" stroke="red" fill="none" />\n    <path d="M400,200 A25 25 0 0 0 425 150 25 25 0 0 0 400 200" stroke-width="3" stroke="black" fill="none" />\n\n    <path d="M400,300 a25 25 0 0 0 25 -50 a25 25 0 0 0 -25 50" stroke-width="3" stroke="red" fill="none" />\n    <path d="M400,300 a25 25 0 0 0 25 -50 25 25 0 0 0 -25 50" stroke-width="3" stroke="black" fill="none" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved \n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g> -->\n</svg>\n'},
  {name: 'paths-data-20-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="ED" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: paths-data-20-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/paths.html#PathDataEllipticalArcCommands">\n      <p>\n        Tests parsing of the elliptical arc path syntax.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if the image looks as if there are eight green circles that have\n        two white rectangles overlapping them, like in the reference image. If any red is visible\n        the test has failed.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: paths-data-20-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <!-- no commawsp between arc flags --> \n    <path d="M120,120 h25 a25,25 0 1,0 -25,25 z" fill="red" stroke="lime"/>\n    <path d="M120,120 h25 a25,25 0 10 -25,25z" fill="lime"/>\n\n    <!-- no commawsp between arc flags and no commawsp after arc flags -->\n    <path d="M200,120 h-25 a25,25 0 1,1 25,25 z" fill="red" stroke="lime"/>\n    <path d="M200,120 h-25 a25,25 0 1125,25 z" fill="lime"/>\n  \n    <!-- out of range large-arc-flag value -->\n    <path d="M280,120 h25 a25,25 0 1,0 -25,25 z" fill="lime" stroke="lime"/>\n    <path d="M280,120 h25 a25,25 0 6 0 -25,25 z" fill="red"/>\n  \n    <!-- negative sweep-flag value -->\n    <path d="M360,120 h-25 a25,25 0 1,1 25,25 z" fill="lime" stroke="lime"/>\n    <path d="M360,120 h-25 a25,25 0 1 -1 25,25 z" fill="red"/>\n   \n    <!-- no commawsp between sweep-flag and following coordinate-pair -->\n    <path d="M120,200 h25 a25,25 0 1,1 -25,-25 z" fill="red" stroke="lime"/>\n    <path d="M120,200 h25 a25,25 0 1 1-25,-25 z" fill="lime"/>\n  \n    <!-- no commawsp before arc flags -->\n    <path d="M200,200 h-25 a25,25 0 1,0 25,-25 z" fill="lime" stroke="lime"/>\n    <path d="M200,200 h-25 a25,2501 025,-25 z" fill="red"/>\n\n    <!-- out of range sweep-flag value -->\n    <path d="M280,200 h25 a25,25 0 1,1 -25,-25 z" fill="lime" stroke="lime"/>\n    <path d="M280,200 h25 a25 25 0 1 7 -25 -25 z" fill="red"/>\n\n    <!-- negative large-arc-flag value -->\n    <path d="M360,200 h-25 a25,25 0 1,0 25,-25 z" fill="lime" stroke="lime"/>\n    <path d="M360,200 h-25 a25,25 0 -1 0 25,-25 z" fill="red"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g> -->\n</svg>\n'},
  {name: 'pservers-grad-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: pservers-grad-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n        <p>\n          Test that the viewer can handle the xlink:href attribute on\n          linear gradients. The top rectangle has a simple\n        blue (left) to lime (right) linear gradient. The lower one\n        has a different gradient definition, but\n        should look the same as the one above, because the gradient makes a\n        reference to the first gradient, without modifying any attribute.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are two rectangles, both with a blue to lime gradient. \n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Linear Gradient using a xlink:href to another linear gradient          -->\n    <!-- ====================================================================== -->\n    <linearGradient id="Grad1a" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0">\n      <stop stop-color="blue" offset="0"/>\n      <stop stop-color="lime" offset="1"/>\n    </linearGradient>\n    <linearGradient id="Grad1b" xlink:href="#Grad1a"/>\n    <rect x="20" y="20" width="440" height="80" fill="url(#Grad1a)"/>\n    <text font-size="30" x="20" y="130">Linear gradient.</text>\n    <rect x="20" y="150" width="440" height="80" fill="url(#Grad1b)"/>\n    <text font-size="30" x="20" y="260">Referencing gradient below.</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-02-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: pservers-grad-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer can handle the xlink:href attribute on\n        radial gradients.\n      </p>\n      <p>\n        There are two rectangles. The top one has\n        a radial gradient (black to orange) that should appear elliptical\n        to fit the aspect ratio of the rectangle. The units are\n        specified in objectBoundingBox space. The gradient\n        on the lower one\n        references the gradient of the top rectangle, but modifies\n        the units to use userSpace instead. So it is only using the\n        stops from the gradient to the left, with a different geometry. The radial gradient appears circular.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, except\n      for any differences in text due to CSS2 rules.  Specifically:</p>\n      <ul>\n        <li>The top rectangle is filled with an elliptical radial gradient,\n        with black in the center and orange at the outside edges of the rectangle.</li>\n        <li>The bottom rectangle is filled with a circular radial gradient,\n        with black in the center and orange at the top and bottom edges of the rectangle.\n        Outside the circular area, the rectangle is filled with plain orange.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-02-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Radial Gradient using a xlink:href to another radial gradient          -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad2a" gradientUnits="objectBoundingBox" cx=".5" cy=".5" fx=".5" fy=".5" r=".5">\n      <stop stop-color="black" offset="0"/>\n      <stop stop-color="rgb(255,165,0)" offset="1"/>\n    </radialGradient>\n    <radialGradient id="Grad2b" xlink:href="#Grad2a" gradientUnits="userSpaceOnUse" cx="240" cy="190" fx="240" fy="190" r="40"/>\n    <rect x="20" y="20" width="440" height="80" fill="url(#Grad2a)"/>\n    <text font-size="30" x="20" y="130">Radial gradient.</text>\n    <rect x="20" y="150" width="440" height="80" fill="url(#Grad2b)"/>\n    <text font-size="30" x="20" y="260">Referencing gradient below.</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-03-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: pservers-grad-03-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer can handle the xlink:href attribute on\n        patterns.\n      </p>\n      <p>\n        There are two rectangles with a pattern fill made\n        up of 4 rectangles. The pattern definition of the lower one references the pattern definition\n        of the upper one, using the xlink:href attribute. Because\n        the particular way that the patterns and rectangles are\n        defined in this test case, the two fills will appear the\n        same - the rectangles are positioned on pattern-size\n        boundaries, so that the offsets into the pattern at the left\n        edges of the respective rectangles is identical.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, except\n      for any differences in text due to CSS2 rules.  Note that the top rectangle must\n      look identical to the bottom rectangle.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-03-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Pattern filled rectangles using a xlink:href to another pattern fill   -->\n    <!-- ====================================================================== -->\n    <pattern id="Pat3a" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse">\n      <rect x="0" y="0" width="10" height="10" fill="#93D"/>\n      <rect x="10" y="0" width="10" height="10" fill="green"/>\n      <rect x="0" y="10" width="10" height="10" fill="blue"/>\n      <rect x="10" y="10" width="10" height="10" fill="yellow"/>\n    </pattern>\n    <pattern id="Pat3b" xlink:href="#Pat3a" width="20" height="20"/>\n    <rect x="20" y="20" width="440" height="80" fill="url(#Pat3a)"/>\n    <text font-size="30" x="20" y="130">Pattern fill.</text>\n    <rect x="20" y="160" width="440" height="80" fill="url(#Pat3b)"/>\n    <text font-size="30" x="20" y="270">Referencing pattern fill below.</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-04-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: pservers-grad-04-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that checks the capability of the stop element in linear and radial\n        gradients.\n      </p>\n      <p>\n        The first rectangle has a linear gradient fill with a vector starting at top left\n        and going to bottom right. The stop colors are at 20% spacing apart and are in the\n        following order : violet, blue, lime, yellow, orange, green.\n        Because the gradient vector vector goes from (0,0) to (1,1) in object bounding box space\n        and because the object bounding box has a larger width than height, the gradient vector\n        is skewed off of a pure 45 degree angle. The gradient stripes are also skewed\n        so that they are no longer perpendicular to the gradient vector.\n      </p>\n      <p>\n        The next rectangle has a radial gradient fill with a multi-color stops from innermost\n        to outermost in the following order: black, yellow, orange, blue, white, green.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">           \n      <p>\n				Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, except for\n      any differences in text due to CSS2 rules.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-04-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <linearGradient id="Grad1" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="1">\n      <stop stop-color="rgb(238,130,238)" offset="0"/>\n      <stop stop-color="blue" offset="0.2"/>\n      <stop stop-color="lime" offset="0.4"/>\n      <stop stop-color="yellow" offset="0.6"/>\n      <stop stop-color="rgb(255,165,0)" offset="0.8"/>\n      <stop stop-color="green" offset="1"/>\n    </linearGradient>\n    <rect x="20" y="20" width="440" height="80" fill="url(#Grad1)"/>\n    <text font-size="30" x="20" y="130">Multi-color linear gradient.</text>\n    <!-- ====================================================================== -->\n    <!-- Radial gradient on the stroke of a rectangle                  ======== -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad2" gradientUnits="userSpaceOnUse" cx="240" cy="210" r="220" fx="240" fy="210">\n      <stop stop-color="black" offset="0"/>\n      <stop stop-color="yellow" offset="0.2"/>\n      <stop stop-color="orange" offset="0.4"/>\n      <stop stop-color="blue" offset="0.6"/>\n      <stop stop-color="white" offset="0.8"/>\n      <stop stop-color="green" offset="1"/>\n    </radialGradient>\n    <rect x="20" y="150" width="440" height="80" fill="url(#Grad2)" stroke-width="40"/>\n    <text font-size="30" x="20" y="260">Multi-color radial gradient.</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-05-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: pservers-grad-05-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that checks the capability of the stop opacity in linear and radial\n        gradients.\n      </p>\n      <p>\n        There are two tests which contain rectangles with gradients using stop-opacity properties.\n        A cyan color text string "Background" is put behind both of the rectangles to help\n        demonstrate the opacity concept.\n      </p>\n      <p>\n        From top-down the appearance of objects is as follows.\n      </p>\n      <p>\n        The first rectangle has a linear gradient fill with a vector starting at top left\n        and going to bottom right. The stop colors are at 20% spacing apart and are in the\n        following order : violet, blue, lime, yellow, orange, black.\n        Also a stop opacity is given to the colors in the following order: 1, 0.2, 0.5, 0, 0.8, 1\n        Because the gradient vector vector goes from (0,0) to (1,1) in object bounding box space\n        and because the object bounding box has a larger width than height, the gradient vector\n        is skewed off of a pure 45 degree angle. The gradient stripes are also skewed\n        so that they are no longer perpendicular to the gradient vector.\n      </p>\n      <p>\n        The next rectangle has a radial gradient fill with a multi-color stops from innermost\n        to outermost in the following order: black, yellow, red, blue, white, green.\n        Also a stop opacity is given to the colors in the following order: 1, 0.2, 0.5, 0, 0.8, 1\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, except for\n      any differences in text due to CSS2 rules.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-05-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="60" fill="aqua" x="70" y="80">Background</text>\n    <linearGradient id="Grad1" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="1">\n      <stop stop-color="rgb(238,130,238)" stop-opacity="1" offset="0"/>\n      <stop stop-color="blue" stop-opacity="0" offset="0.2"/>\n      <stop stop-color="lime" stop-opacity="0.5" offset="0.4"/>\n      <stop stop-color="yellow" stop-opacity="0.2" offset="0.6"/>\n      <stop stop-color="rgb(255,165,0)" stop-opacity="0.8" offset="0.8"/>\n      <stop stop-color="black" stop-opacity="1" offset="1"/>\n    </linearGradient>\n    <rect x="20" y="20" width="440" height="80" fill="url(#Grad1)"/>\n\n    <text font-size="60" fill="aqua" x="70" y="210">Background</text>\n    <radialGradient id="Grad2" gradientUnits="userSpaceOnUse" cx="240" cy="210" r="220" fx="240" fy="210">\n      <stop stop-color="black" stop-opacity="1" offset="0"/>\n      <stop stop-color="yellow" stop-opacity="0" offset="0.2"/>\n      <stop stop-color="red" stop-opacity="0.5" offset="0.4"/>\n      <stop stop-color="blue" stop-opacity="0.2" offset="0.6"/>\n      <stop stop-color="white" stop-opacity="0.8" offset="0.8"/>\n      <stop stop-color="green" stop-opacity="1" offset="1"/>\n    </radialGradient>\n    <rect x="20" y="150" width="440" height="80" fill="url(#Grad2)" stroke-width="40"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-06-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: pservers-grad-06-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer can handle the gradientTransform and the patternTransform\n        attribute on gradients and patterns respectively.\n      </p>\n      <p>\n        From top-down the appearance of objects is as follows.\n      </p>\n      <p>\n        The top rectangle has a linear gradient whose coordinate system has been scaled down by\n        a half. So the gradient travelling from left to right (from blue to green to lime) should\n        only occuply the left half the rectangle.\n      </p>\n      <p>\n        The next rectangle has radial gradient that has been translated to the center and skewed\n        in the positive X direction by 45 degrees. Therefore the gradient should appear\n        ellipltical and rotated around the center.\n      </p>\n      <p>\n        The last row contains a rectangle with pattern on the fill. The transformation on the\n        pattern moves the coordinate system to the top left of the rectangle and then scales it\n        by a factor of 2 and then skew\'s it in the X direction by 45 degrees. The pattern\n        consists of a 2 by 2 array of colored rectangles.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, apart\n      from any differences in font choice due to CSS2 rules.  Specifically:</p>\n      <ul>\n        <li>The top rectangle is filled with a linear gradient from blue on the left,\n        to lime in the middle.  The right half of the rectangle is filled with plain lime.</li>\n        <li>The middle rectangle is filled with an elliptical radial gradient with\n        black on the inside and orange on the outside.  The center point of the gradient\n        is near the center-bottom of the rectangle.  The gradient is skewed, so that it appears\n        as a rotated elliptical gradient.</li>\n        <li>The bottom rectangle is filled with a repeating pattern of tiled\n        red, green, yellow and blue parallelograms.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-06-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Linear Gradient with gradientTransforms                                -->\n    <!-- ====================================================================== -->\n    <linearGradient id="Grad1" gradientUnits="userSpaceOnUse" x1="0" y1="0" x2="430" y2="0" gradientTransform="translate(25 35) scale(0.5)">\n      <stop stop-color="blue" offset="0"/>\n      <stop stop-color="green" offset="0.5"/>\n      <stop stop-color="lime" offset="1"/>\n    </linearGradient>\n    <rect x="20" y="20" width="440" height="50" fill="url(#Grad1)"/>\n    <text font-size="30" x="20" y="100">scale(0.5) on gradient</text>\n    <!-- ====================================================================== -->\n    <!-- Radial Gradiant with a gradientTransform                               -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad2" gradientUnits="userSpaceOnUse" cx="0" cy="0" fx="0" fy="0" r="60" gradientTransform="translate(240,155) skewX(45)">\n      <stop stop-color="black" offset="0"/>\n      <stop stop-color="rgb(255,165,0)" offset="1"/>\n    </radialGradient>\n    <rect x="20" y="110" width="440" height="50" fill="url(#Grad2)"/>\n    <text font-size="30" x="20" y="190">skewX(45) on gradient</text>\n    <!-- ====================================================================== -->\n    <!-- Pattern filled rectangles with a patternTransform.                     -->\n    <!-- ====================================================================== -->\n    <pattern patternUnits="userSpaceOnUse" id="Pat3" x="0" y="0" width="20" height="20" patternTransform="translate(25 215) scale(2) skewX(45)">\n      <rect x="0" y="0" width="10" height="10" fill="maroon"/>\n      <rect x="10" y="0" width="10" height="10" fill="green"/>\n      <rect x="0" y="10" width="10" height="10" fill="blue"/>\n      <rect x="10" y="10" width="10" height="10" fill="yellow"/>\n    </pattern>\n    <rect x="20" y="210" width="440" height="50" fill="url(#Pat3)"/>\n    <text font-size="30" x="20" y="290">scale(2), skewX(45) on pattern</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-07-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: pservers-grad-07-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer has basic capability to handle linear gradients\n        on fills and stroke of objects and text.\n      </p>\n      <p>\n        This test uses the following elements : &lt;linearGradient&gt;, &lt;stop&gt;\n        and the following properties : stop-color, fill:url(#  ), stroke(url# )\n      </p>\n      <p>\n        Both elements in this test use the same simple gradient. It is a linear gradient from\n        blue (left) to lime (right). From top-down the appearance of objects is as follows.\n      </p>\n      <p>\n        The top rectangle should be filled with the gradient.\n      </p>\n      <p>\n        The next rectangle has no fill, but has a thick stroke on which the gradient is\n        applied.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, apart\n      from any differences in font choice due to CSS2 rules.  Specifically:</p>\n      <ul>\n        <li>The top rectangle is filled with a gradient from blue on the left to lime on the right.</li>\n        <li>The bottom rectangle is unfilled and stroked with a thick stroke using a gradient from blue on the left to lime on the right.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-07-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g transform="scale(1, 1.5)">\n      <!-- ====================================================================== -->\n      <!-- Very simple blue to red linear gradient from left to right  ========== -->\n      <!-- ====================================================================== -->\n      <linearGradient id="Gradient" gradientUnits="userSpaceOnUse" x1="10" y1="10" x2="440" y2="10">\n        <stop stop-color="blue" offset="0"/>\n        <stop stop-color="lime" offset="1"/>\n      </linearGradient>\n      <!-- ====================================================================== -->\n      <!-- Linear gradient on the fill of a rectangle                    ======== -->\n      <!-- ====================================================================== -->\n      <rect x="10" y="10" width="430" height="60" fill="url(#Gradient)"/>\n      <text font-size="24" x="10" y="90">Linear gradient filled rectangle</text>\n      <!-- ====================================================================== -->\n      <!-- Linear gradient on the stroke of a rectangle                  ======== -->\n      <!-- ====================================================================== -->\n      <rect x="25" y="110" width="400" height="30" fill="none" stroke="url(#Gradient)" stroke-width="20"/>\n      <text font-size="24" x="10" y="170">Linear gradient on stroke of rectangle</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-08-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.13 $" testname="$RCSfile: pservers-grad-08-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer has basic capability to handle linear gradients\n        on fills and stroke of text.\n      </p>\n      <p>\n        Both elements in this test use the same simple gradient. It is a linear gradient from blue (left) to lime (right). From top-down the appearance of objects is as follows.\n      </p>\n      <p>\n        The first item is a text string "Gradient on fill" with the gradient on the fill of the text.\n      </p>\n      <p>\n        The second item is a text string that is not filled. It has a 2 user unit stroke on which the gradient is applied.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, apart\n      from any differences in font choice due to CSS2 rules.  Specifically:</p>\n      <ul>\n        <li>The text string "Gradient on fill" must be filled with a gradient\n        from blue on the left to lime on the right.</li>\n        <li>The text string "Gradient on stroke" must be unfilled and stroked with\n        a gradient from blue on the left to lime on the right.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-08-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  <style type="text/css">\n    @font-face {\n      font-family: Blocky;\n      src: url(woffs/Blocky.woff) format("woff");\n  </style>\n  <defs>\n      <font-face font-family="Blocky" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/Blocky.svg#Blocky"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n    <g transform="scale(1, 1.5)">\n      <!-- ====================================================================== -->\n      <!-- Very simple blue to red linear gradient from left to right  ========== -->\n      <!-- ====================================================================== -->\n      <linearGradient id="Gradient" gradientUnits="userSpaceOnUse" x1="10" y1="10" x2="440" y2="10">\n        <stop stop-color="blue" offset="0"/>\n        <stop stop-color="lime" offset="1"/>\n      </linearGradient>\n      <!-- ====================================================================== -->\n      <!-- Gradient on fill of text                                      ======== -->\n      <!-- ====================================================================== -->\n      <text font-family="Blocky" font-size="68" fill="url(#Gradient)" x="20" y="70">Gradient on fill</text>\n      <!-- ====================================================================== -->\n      <!-- Gradient on stroke of text                                    ======== -->\n      <!-- ====================================================================== -->\n      <text font-family="Blocky" x="20" y="160" font-size="55" fill="none" stroke="url(#Gradient)" stroke-width="3">Gradient on stroke</text>\n\n    </g>\n      <g font-family="SVGFreeSansASCII,sans-serif" font-size="28">\n        <text  x="40" y="145">Linear gradient on filled text</text>\n        <text  x="30" y="280">Linear gradient on stroke of text</text>\n      </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.13 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-09-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: pservers-grad-09-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer can handle the gradientUnits attribute on linear gradients.\n        It tests the following values of gradientUnits: default (userSpace), objectBoundingBox,\n        and userSpaceOnUse.\n      </p>\n      <p>\n        From top-down the appearance of objects is as follows.\n      </p>\n      <p>\n        The first rectangle uses the default attributes on the linearGradient element.\n        Therefore the linear gradient should default to objectBoundingBox. It should appear\n        from the left edge of the rectangle (blue) to the right edge of the rectangle (lime).\n        The rectangle is smaller than the viewport, because a previous version of the SVG spec had the default value be \'viewport\'.\n        The test fails if only a portion of the gradient is shown.\n      </p>\n      <p>\n        The next rectangle uses gradientUnits=objectBoundingBox. The linear gradient should\n        travel from blue (top) to lime (bottom).\n      </p>\n      <p>\n        The last rectangle uses gradientUnits=userSpaceOnUse. The rectangle element is given it\'s\n        own transformation and the gradient is assumed to be in this user space.\n        The gradient should appear as a linear gradient from lime (left) to blue (right).\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, apart\n      from any differences in font choice due to CSS2 rules.  Specifically:</p>\n      <ul>\n        <li>The top rectangle is filled with a linear gradient from lime on the left to blue on the right.</li>\n        <li>The middle rectangle is filled with a linear gradient from blue on the top to lime on the bottom.</li>\n        <li>The bottom rectangle is filled with a linear gradient from lime on the left to blue on the right.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-09-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="15" x="10" y="25">Testing gradientUnits attribute</text>\n    <!-- ====================================================================== -->\n    <!-- Linear gradient with default attributes on <linear gradient> element.  -->\n    <!-- ====================================================================== -->\n    <linearGradient id="Grad1">\n      <stop stop-color="lime" offset="0"/>\n      <stop stop-color="blue" offset="1"/>\n    </linearGradient>\n    <rect x="125" y="35" width="200" height="50" fill="url(#Grad1)"/>\n    <!--<text font-size="12" x="10" y="100">Linear gradient with default attributes (thus, same as objectBoundingBox)</text>-->\n    <!--text font-size="12"  x="10" y="125">Gradient is from the viewport left edge (lime) to viewport right edge (blue)</text-->\n    <!--<text font-size="12" x="10" y="115">Gradient is from the object left edge (lime) to object right edge (blue)</text>-->\n    <!-- ====================================================================== -->\n    <!-- Linear gradient with gradientUnits=objectBoundingBox          ======== -->\n    <!-- ====================================================================== -->\n    <linearGradient id="Grad2" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="0" y2="1">\n      <stop stop-color="blue" offset="0"/>\n      <stop stop-color="lime" offset="1"/>\n    </linearGradient>\n    <rect x="10" y="125" width="430" height="50" fill="url(#Grad2)"/>\n    <!--<text font-size="12" x="10" y="190">gradientUnits=objectBoundingBox</text>-->\n    <!--<text font-size="12" x="10" y="205">Gradient is from the object top edge (blue) to object bottom edge (lime)</text>-->\n    <!-- ====================================================================== -->\n    <!-- Gradient using gradientUnits="userSpaceOnUse"                          -->\n    <!-- ====================================================================== -->\n    <linearGradient id="Grad3" x1="0" y1="0" x2="0" y2="430" gradientUnits="userSpaceOnUse">\n      <stop stop-color="lime" offset="0"/>\n      <stop stop-color="blue" offset="1"/>\n    </linearGradient>\n    <rect transform="translate(10, 260) rotate(-90)" x="0" y="0" width="50" height="430" fill="url(#Grad3)"/>\n    <!--<text font-size="12" x="10" y="275">gradientUnits=userSpaceOnUse</text>-->\n    <!--<text font-size="12" x="10" y="290">Gradient is from the object left edge (lime) to object right edge (blue)</text>-->\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-10-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: pservers-grad-10-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer can handle the spreadMethod attribute on linear gradients.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>\n				Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, apart\n      from any differences in font choice due to CSS2 rules.  Each of the\n      three rectangles is filled with a linear gradient from blue on the left\n      to lime on the right.  The width of the gradient is only a fifth of\n      the width of the rectangle, so:</p>\n      <ul>\n        <li>The top rectangle is filled with plain blue in the left two-fifths\n        and with plain lime in the right two-fifths.</li>\n        <li>The middle rectangle is filled with alternating copies of the blue-to-lime\n        gradient.  Thus, from left to right, the rectangle is filled with\n        a gradient that goes from blue to lime to blue to lime to blue to lime.</li>\n        <li>The bottom rectangle is filled with five copies of the blue-to-lime\n        gradient.  Thus, from left to right, the rectangle is filled with\n        a gradient that goes from blue to lime, abruptly changing back to blue\n        then smoothly changing to lime, etc.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-10-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="15" x="10" y="25">Testing spreadMethod attribute</text>\n    <!-- ====================================================================== -->\n    <!-- Linear Gradient with spreadMethod=pad                                  -->\n    <!-- ====================================================================== -->\n    <linearGradient id="Grad1" gradientUnits="objectBoundingBox" x1=".4" y1="0" x2=".6" y2="0" spreadMethod="pad">\n      <stop stop-color="blue" offset="0"/>\n      <stop stop-color="lime" offset="1"/>\n    </linearGradient>\n    <rect x="10" y="35" width="460" height="55" fill="url(#Grad1)"/>\n    <text font-size="12" x="10" y="105">spreadMethod=pad</text>\n    <!-- ====================================================================== -->\n    <!-- Linear Gradient with spreadMethod=reflect                              -->\n    <!-- ====================================================================== -->\n    <linearGradient id="Grad2" gradientUnits="objectBoundingBox" x1=".4" y1="0" x2=".6" y2="0" spreadMethod="reflect">\n      <stop stop-color="blue" offset="0"/>\n      <stop stop-color="lime" offset="1"/>\n    </linearGradient>\n    <rect x="10" y="120" width="460" height="55" fill="url(#Grad2)"/>\n    <text font-size="12" x="10" y="190">spreadMethod=reflect</text>\n    <!-- ====================================================================== -->\n    <!-- Linear Gradient with spreadMethod=repeat                               -->\n    <!-- ====================================================================== -->\n    <linearGradient id="Grad3" gradientUnits="objectBoundingBox" x1=".4" y1="0" x2=".6" y2="0" spreadMethod="repeat">\n      <stop stop-color="blue" offset="0"/>\n      <stop stop-color="lime" offset="1"/>\n    </linearGradient>\n    <rect x="10" y="205" width="460" height="55" fill="url(#Grad3)"/>\n    <text font-size="12" x="10" y="275">spreadMethod=repeat</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="lime" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-11-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: pservers-grad-11-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer has basic capability to handle radial gradients\n        on fills and stroke of objects and text.\n      </p>\n      <p>\n        This test uses the following elements : &lt;radialGradient&gt;, &lt;stop&gt;\n        and the following properties : stop-color, fill:url(#  ), stroke(url# )\n      </p>\n      <p>\n        From top-down (left to right) the appearance of objects is as follows.\n      </p>\n      <p>\n        The top left rectangle  should be a radial gradient from dark blue (in) to lime (outside).\n        The gradient is applied to the fill of the rectangle.\n      </p>\n      <p>\n        The next rectangle has no fill, but has a thick stroke on which the gradient is\n        applied. The gradient goes from dark orange(in) to pale yellow (out).\n      </p>\n      <p>\n        The next item is a text with a radial gradient on the fill. The gradient goes\n        from green (in) to yellow (out).\n      </p>\n      <p>\n        The last item is a text with a 2 user unit stroke on which a black (in) to magenta\n        (out) linear gradient is applied.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering matches the reference image, apart\n      from any differences in font choice due to CSS2 rules.  Specifically:</p>\n      <ul>\n        <li>The top-left rectangle must be filled with a circular radial gradient\n        with dark blue inside and lime outside.  The center point of the gradient\n        is in the lower-left quadrant of the rectangle.</li>\n        <li>The top-right rectangle has no fill, but a thick stroke which is painted\n        with a radial gradient with dark orange inside and yellow outside.  The\n        center point of this gradient is in the lower-left quadrant of the\n        rectangle.</li>\n        <li>The "Gradient on text fill" text must be filled with a circular radial\n        gradient with green inside and yellow outside.  The center point of the\n        gradient is the center of the text.</li>\n        <li>The "Gradient on text stroke" has no fill, but a stroke which is painted with\n        a circular radial gradient with black inside and pink outside.  The center point of the\n        gradient is the center of the text.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-11-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Very simple black to red radial gradient                      ======== -->\n    <!-- ====================================================================== -->\n    <radialGradient gradientUnits="userSpaceOnUse" id="Grad1" cx="75" cy="100" r="130" fx="75" fy="100">\n      <stop stop-color="#009" offset="0"/>\n      <stop stop-color="#2e2" offset="1"/>\n    </radialGradient>\n    <rect x="10" y="10" width="210" height="140" fill="url(#Grad1)"/>\n    <text font-family="Arial" font-size="12" x="10" y="165">Radial gradient on fill of rectangle</text>\n    <!-- ====================================================================== -->\n    <!-- Radial gradient on the stroke of a rectangle                  ======== -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad2" gradientUnits="userSpaceOnUse" cx="295" cy="100" r="150" fx="295" fy="100">\n      <stop stop-color="#e22" offset="0"/>\n      <stop stop-color="#ff6" offset="1"/>\n    </radialGradient>\n    <rect x="250" y="30" width="170" height="100" fill="none" stroke="url(#Grad2)" stroke-width="40"/>\n    <text font-family="Arial" font-size="12" x="230" y="165">Radial gradient on stroke of rectangle</text>\n    <!-- ====================================================================== -->\n    <!-- Gradient on fill of text                                      ======== -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad3" gradientUnits="userSpaceOnUse" cx="225" cy="180" r="90" fx="225" fy="180">\n      <stop stop-color="#060" offset="0"/>\n      <stop stop-color="yellow" offset="1"/>\n    </radialGradient>\n    <text font-family="Arial" font-size="50" fill="url(#Grad3)" x="10" y="210">Gradient on text fill</text>\n    <text font-family="Arial" font-size="12" x="10" y="225">Radial gradient on text, black to yellow</text>\n    <!-- ====================================================================== -->\n    <!-- Gradient on stroke of text                                    ======== -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad4" gradientUnits="userSpaceOnUse" cx="225" cy="245" r="90" fx="225" fy="245">\n      <stop stop-color="black" offset="0"/>\n      <stop stop-color="#D6D" offset="1"/>\n    </radialGradient>\n    <text font-family="Arial" font-size="45" fill="none" stroke="url(#Grad4)" stroke-width="2" x="10" y="270">Gradient on text stroke</text>\n    <text font-family="Arial" font-size="12" x="10" y="285">Radial gradient on stroke of text, black to red</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-12-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: pservers-grad-12-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test that the viewer can handle the gradientUnits attribute on radial gradients.\n        It tests the following values of gradientUnits: default (objectBoundingBox), objectBoundingBox,\n        and userSpaceOnUse.\n      </p>\n      <p>\n        From top-down the appearance of objects is as follows.\n      </p>\n      <p>\n        The first rectangle uses the default attributes on the radialGradient element.\n        Therefore the radial gradient should be relative to the object bounding box. It should appear\n        from the center of the viewport (blue) to the edges of the viewport (lime).\n        The rectangle is wider than tall so it the gradient should be elliptical, not circular.\n      </p>\n      <p>\n        The next rectangle uses gradientUnits=objectBoundingBox. The radial gradient should\n        travel from a center of 20%, 20% of the rectangle with a radius of 50%.\n      </p>\n      <p>\n        The last rectangle uses gradientUnits=userSpaceOnUse. The rectangle element is given it\'s\n        own transformation and the gradient is assumed to be in this user space.\n        The gradient should appear in the center of the rectangle as a radial gradient from yellow (center) to blue (edge).\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendering of the three rectangles matches those\n      in the reference image.  Specifically:</p>\n      <ul>\n        <li>The upper rectangle is filled with an elliptical radial gradient\n        with blue at the center and lime at its edges.</li>\n        <li>The middle rectangle is also filled with an elliptical radial\n        gradient with blue inside and lime outside, but with the center\n        point of the gradient in the top-left quadrant of the rectangle.</li>\n        <li>The bottom rectangle is filled with a circular radial gradient\n        with yellow at the center and blue at its edges.  Since it is circular,\n        most of the rectangle is filled with plain blue.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-12-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="15" x="10" y="25">Testing gradientUnits attribute</text>\n    <!-- ====================================================================== -->\n    <!-- Radial gradient with default attributes on <radial gradient> element.  -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad1">\n      <stop stop-color="#009" offset="0"/>\n      <stop stop-color="lime" offset="1"/>\n    </radialGradient>\n    <rect x="10" y="35" width="460" height="50" fill="url(#Grad1)"/>\n    <text font-size="12" x="10" y="100">Radial gradient with default attributes (from blue to yellow)</text>\n    <text font-size="12" x="10" y="115">Gradient is blue at the object center and lime at the object edges</text>\n    <!-- ====================================================================== -->\n    <!-- Radial gradient with gradientUnits=objectBoundingBox          ======== -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad2" gradientUnits="objectBoundingBox" cx=".2" cy=".2" fx=".2" fy=".2" r=".5">\n      <stop stop-color="#009" offset="0"/>\n      <stop stop-color="lime" offset="1"/>\n    </radialGradient>\n    <rect x="10" y="125" width="460" height="50" fill="url(#Grad2)"/>\n    <text font-size="12" x="10" y="190">gradientUnits=objectBoundingBox</text>\n    <text font-size="12" x="10" y="205">cx=.2, cy=.2, r=.5, fx=.2 fy=.2</text>\n    <!-- ====================================================================== -->\n    <!-- Gradient using gradientUnits="userSpaceOnUse"                          -->\n    <!-- ====================================================================== -->\n    <radialGradient id="Grad3" cx="25" cy="215" r="25" fx="25" fy="215" gradientUnits="userSpaceOnUse">\n      <stop stop-color="yellow" offset="0"/>\n      <stop stop-color="blue" offset="1"/>\n    </radialGradient>\n    <rect transform="translate(10, 260) rotate(-90)" x="0" y="0" width="50" height="460" fill="url(#Grad3)"/>\n    <text font-size="12" x="10" y="275">gradientUnits=userSpaceOnUse</text>\n    <text font-size="12" x="10" y="290">Gradient is yellow to blue radial gradient from center to horizontal bounds</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-13-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="BB" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: pservers-grad-13-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n        <p>\n          The purpose of this file is to test several values for focal points of radial gradients.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendered image matches the reference image, except\n      for any differences in font choice due to CSS2.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-13-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="240" y="30" font-size="20" text-anchor="middle">Radial gradient focal point</text>\n    <defs>\n      <g id="alpha">\n        <rect x="00" y="0" width="100" height="60" fill="yellow"/>\n        <rect x="00" y="0" width="10" height="60" fill="gold"/>\n        <rect x="15" y="0" width="10" height="60" fill="orange"/>\n        <rect x="30" y="0" width="10" height="60" fill="sienna"/>\n        <rect x="45" y="0" width="10" height="60" fill="gold"/>\n        <rect x="60" y="0" width="10" height="60" fill="sienna"/>\n        <rect x="75" y="0" width="10" height="60" fill="orange"/>\n        <rect x="90" y="0" width="10" height="60" fill="gold"/>\n        <rect x="00" y="0" width="100" height="60"/>\n        <!-- inherits a radial gradient -->\n      </g>\n    </defs>\n    <defs>\n      <radialGradient id="grad1a" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="00.00%" fy="00%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad2a" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="16.66%" fy="00%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad4a" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="50.00%" fy="00%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad6a" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="83.33%" fy="00%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n\n      <radialGradient id="grad1b" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="00.00%" fy="25%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad2b" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="16.66%" fy="25%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad4b" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="50.00%" fy="25%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad6b" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="83.33%" fy="25%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n\n      <radialGradient id="grad1c" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="00.00%" fy="50%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad2c" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="16.66%" fy="50%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad4c" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="50.00%" fy="50%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad6c" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="83.33%" fy="50%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n\n      <radialGradient id="grad1d" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="00.00%" fy="75%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad2d" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="16.66%" fy="75%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad4d" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="50.00%" fy="75%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad6d" gradientUnits="objectBoundingBox" cx="10%" cy="10%" r="75%" fx="83.33%" fy="75%">\n        <stop offset="0" stop-opacity="0"/>\n        <stop offset=".5" stop-color="darkblue"/>\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n    </defs>\n\n    <g id="group1" stroke="black" stroke-width="0.5">\n      <use xlink:href="#alpha" x="017.5" y="045" fill="url(#grad1a)"/>\n      <use xlink:href="#alpha" x="130" y="045" fill="url(#grad2a)"/>\n      <use xlink:href="#alpha" x="242.5" y="045" fill="url(#grad4a)"/>\n      <use xlink:href="#alpha" x="355" y="045" fill="url(#grad6a)"/>\n\n      <use xlink:href="#alpha" x="017.5" y="110" fill="url(#grad1b)"/>\n      <use xlink:href="#alpha" x="130" y="110" fill="url(#grad2b)"/>\n      <use xlink:href="#alpha" x="242.5" y="110" fill="url(#grad4b)"/>\n      <use xlink:href="#alpha" x="355" y="110" fill="url(#grad6b)"/>\n\n      <use xlink:href="#alpha" x="017.5" y="175" fill="url(#grad1c)"/>\n      <use xlink:href="#alpha" x="130" y="175" fill="url(#grad2c)"/>\n      <use xlink:href="#alpha" x="242.5" y="175" fill="url(#grad4c)"/>\n      <use xlink:href="#alpha" x="355" y="175" fill="url(#grad6c)"/>\n\n      <use xlink:href="#alpha" x="017.5" y="240" fill="url(#grad1d)"/>\n      <use xlink:href="#alpha" x="130" y="240" fill="url(#grad2d)"/>\n      <use xlink:href="#alpha" x="242.5" y="240" fill="url(#grad4d)"/>\n      <use xlink:href="#alpha" x="355" y="240" fill="url(#grad6d)"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-14-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="BB" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: pservers-grad-14-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        The intent of this file is to test the 4 allowed spread methods for linear and radial gradients.\n        The 4 values (pad, reflect, repeat and default) are available for both types of gradients.\n        On the left side are the linear gradient results, and on the right, the radial results.\n        The UA should render a result equivalent to the reference image.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the rendered image matches the reference image, except\n      for any differences in font choice due to CSS2.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-14-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <linearGradient id="lgSpreadPad" gradientUnits="userSpaceOnUse" y1="0" x1="50" y2="0" x2="100" spreadMethod="pad">\n        <stop offset="000%" stop-color="black"/>\n        <stop offset="100%" stop-color="gold"/>\n      </linearGradient>\n\n      <linearGradient id="lgSpreadReflect" gradientUnits="userSpaceOnUse" y1="0" x1="50" y2="0" x2="100" spreadMethod="reflect">\n        <stop offset="000%" stop-color="black"/>\n        <stop offset="100%" stop-color="gold"/>\n      </linearGradient>\n\n      <linearGradient id="lgSpreadRepeat" gradientUnits="userSpaceOnUse" y1="0" x1="50" y2="0" x2="100" spreadMethod="repeat">\n        <stop offset="000%" stop-color="black"/>\n        <stop offset="100%" stop-color="gold"/>\n      </linearGradient>\n\n      <linearGradient id="lgSpreadDefault" gradientUnits="userSpaceOnUse" y1="0" x1="50" y2="0" x2="100">\n        <stop offset="000%" stop-color="black"/>\n        <stop offset="100%" stop-color="gold"/>\n      </linearGradient>\n\n      <radialGradient id="rgSpreadPad" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.2" spreadMethod="pad">\n        <stop offset="000%" stop-color="black"/>\n        <stop offset="100%" stop-color="gold"/>\n      </radialGradient>\n\n      <radialGradient id="rgSpreadReflect" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.2" spreadMethod="reflect">\n        <stop offset="000%" stop-color="black"/>\n        <stop offset="100%" stop-color="gold"/>\n      </radialGradient>\n\n      <radialGradient id="rgSpreadRepeat" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.2" spreadMethod="repeat">\n        <stop offset="000%" stop-color="black"/>\n        <stop offset="100%" stop-color="gold"/>\n      </radialGradient>\n\n      <radialGradient id="rgSpreadDefault" gradientUnits="objectBoundingBox" cx="0.5" cy="0.5" r="0.2">\n        <stop offset="000%" stop-color="black"/>\n        <stop offset="100%" stop-color="gold"/>\n      </radialGradient>\n    </defs>\n\n    <text font-size="20" x="240" y="30" text-anchor="middle">Gradient \'spreadMethod\' values</text>\n\n    <rect x="10" y="060" width="225" height="40" fill="url(#lgSpreadPad)" stroke="none"/>\n    <text font-size="16" x="10" y="55">spreadMethod="pad"</text>\n\n    <rect x="10" y="130" width="225" height="40" fill="url(#lgSpreadReflect)" stroke="none"/>\n    <text font-size="16" x="10" y="125">spreadMethod="reflect"</text>\n\n    <rect x="10" y="200" width="225" height="40" fill="url(#lgSpreadRepeat)" stroke="none"/>\n    <text font-size="16" x="10" y="195">spreadMethod="repeat"</text>\n\n    <rect x="10" y="270" width="225" height="40" fill="url(#lgSpreadDefault)" stroke="none"/>\n    <text font-size="16" x="10" y="265">spreadMethod="default"</text>\n\n\n    <rect x="245" y="060" width="225" height="40" fill="url(#rgSpreadPad)" stroke="none"/>\n    <text font-size="16" x="245" y="55">spreadMethod="pad"</text>\n\n    <rect x="245" y="130" width="225" height="40" fill="url(#rgSpreadReflect)" stroke="none"/>\n    <text font-size="16" x="245" y="125">spreadMethod="reflect"</text>\n\n    <rect x="245" y="200" width="225" height="40" fill="url(#rgSpreadRepeat)" stroke="none"/>\n    <text font-size="16" x="245" y="195">spreadMethod="repeat"</text>\n\n    <rect x="245" y="270" width="225" height="40" fill="url(#rgSpreadDefault)" stroke="none"/>\n    <text font-size="16" x="245" y="265">spreadMethod="default"</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-15-b.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: pservers-grad-15-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n        <p>\n          Test linear and radial gradient defaults. Includes\n          testing defaults for linear grad x1,y1,y2 = 0%, x2 = 100%.\n          and testing defaults for radial grad cx,cy,r = 50%, fx,fy = cx,cy.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The top rectangle must be blue at the lefthand side and fuchsia at the right\n        hand side, fading smoothly accross. The lower rectangle must be fuchsia at\n        the edges with a black centre to the radial gradient at the centre of the\n        rectangle, and the gradient occupying the whole rectangle.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-15-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- Test defaults for linear grad x1,y1,y2 = 0%, x2 = 100%. -->\n    <linearGradient id="defs1" gradientUnits="objectBoundingBox">\n      <stop stop-color="blue" offset="0"/>\n      <stop stop-color="fuchsia" offset="1"/>\n    </linearGradient>\n    <!-- Test defaults for radial grad cx,cy,r = 50%, fx,fy = cx,cy. -->\n    <radialGradient id="defs2" gradientUnits="objectBoundingBox">\n      <stop stop-color="black" offset="0"/>\n      <stop stop-color="fuchsia" offset="1"/>\n    </radialGradient>\n\n    <rect x="20" y="20" width="440" height="80" fill="url(#defs1)"/>\n    <rect x="20" y="150" width="440" height="80" fill="url(#defs2)"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-16-b.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="CN" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: pservers-grad-16-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n        <p>\n          Test gradient stop rules. Including:\n          No stops, like fill = none.\n          One stop, like fill = black.\n          If a stop less than all previous stops, it is set equal to the largest stop.\n          If two stops are equal the last stop controls the color at the overlap point.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        [[\n        Describe how to use the here. The instructions should specify any\n        steps requied to run the test or any manual operation that need\n        to be performed to run the test.\n        ]]\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The top rectangle must have a pink outline and no fill. The middle rectangle must have a\n        solid black fill. The lower rectangle must have a yellow to pink to green\n        linear gradient on the left-hand half and a solid blue fill for the right hand half.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-16-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- No stops, like fill = none -->\n    <linearGradient id="defs1" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0">\n    </linearGradient>\n    <!-- One stop, like fill = black -->\n    <linearGradient id="defs2" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0">\n      <stop stop-color="black" offset="1"/>\n    </linearGradient>\n    <!-- If a stop less than all previous stops, it is set equal to the largest stop-->\n    <!-- This also tests if two stops are equal the last stop controls the color at the overlap point-->\n    <linearGradient id="defs3" gradientUnits="objectBoundingBox" x1="0" y1="0" x2="1" y2="0">\n      <stop stop-color="yellow" offset="0"/>\n      <stop stop-color="#f48" offset=".25"/>\n      <stop stop-color="green" offset=".5"/>\n      <stop stop-color="blue" offset=".1"/>\n    </linearGradient>\n\n    <rect x="20" y="10" width="440" height="80" fill="url(#defs1)" stroke="#f48"/>\n    <rect x="20" y="110" width="440" height="80" fill="url(#defs2)"/>\n    <rect x="20" y="210" width="440" height="80" fill="url(#defs3)"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-17-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AE" author="ED" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: pservers-grad-17-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n        <p>\n          This test has a gradient with gradientUnits=\'objectBoundingBox\' which is a fade from black to white.\n          The gradient is used for the stroke of a line. Vertical and horizontal lines don\'t have a boundingbox,\n          since they are one-dimensional, even though the\n          stroke-width makes it look like they should have a boundingbox with non-zero width and height.\n          See the coordinate chapter, last paragraph of 7.11.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        [[\n        Describe how to use the here. The instructions should specify any\n        steps requied to run the test or any manual operation that need\n        to be performed to run the test.\n        ]]\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The left rectangle has four \'line\' elements rotated in different ways. The stroke for the lines have a green solid stroke fallback which\n        should be used if the gradient should be ignored. For this sub-test to pass there must be three lines with solid green stroke, and one line\n        (from bottom left to top right) with a gradient stroke, visible in the rectangle.\n      </p>\n      <p>\n        The right rectangle is the same as the left rectangle except that the stroke paintservers don\'t have a fallback specified.\n        For this sub-test to pass only the line from bottom left to top right must be visible in the rectangle, and it must have a gradient stroke.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-17-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <linearGradient id="grad">\n        <stop offset="0" stop-color="black"/>\n        <stop offset="1" stop-color="white"/>\n      </linearGradient>\n    </defs>\n\n    <!-- sub-test 1: stroke with solid color fallback -->\n    <g transform="translate(50, 100) scale(0.3)">\n      <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad) #0f0" stroke-width="20"/>\n      <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad) #0f0" stroke-width="20" transform="rotate(45 240 180)"/>\n      <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad) #0f0" stroke-width="20" transform="rotate(90 240 180)"/>\n      <line x1="410" y1="10" x2="70" y2="350" stroke="url(#grad) #0f0" stroke-width="20"/>\n      <rect x="0" y="-60" width="480" height="480" fill="none" stroke="black"/>\n    </g>\n    <text x="120" y="250" text-anchor="middle">With fallback</text>\n\n    <!-- sub-test 2: stroke without a fallback -->\n    <g transform="translate(280,100) scale(0.3)">\n      <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stroke-width="20"/>\n      <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stroke-width="20" transform="rotate(45 240 180)"/>\n      <line x1="0" y1="180" x2="480" y2="180" stroke="url(#grad)" stroke-width="20" transform="rotate(90 240 180)"/>\n      <line x1="410" y1="10" x2="70" y2="350" stroke="url(#grad)" stroke-width="20"/>\n      <rect x="0" y="-60" width="480" height="480" fill="none" stroke="black"/>\n    </g>\n    <text x="350" y="250" text-anchor="middle">Without fallback</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-18-b.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CC" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: pservers-grad-18-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n        <p>\n          This test shows rectangles filled with gradient.\n          Several gradients are defined, with two stops:\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n        For the top-left rectangle\'s gradient:\n        The first stop defines a fully-opaque green color.\n        The second stop explicitly inherits (i.e. using the \'inherit\' keyword) its stop-color.        \n      </p>\n      <p>\n        For the top-right rectangle\'s gradient:\n        The first stop defines a fully-opaque green color.\n        The second stop defines a green stop-color but explicitly inherits (i.e. using the \'inherit\' keyword) the stop-opacity.        \n      </p>\n      <p>\n        For the bottom-left rectangle\'s gradient:\n        The first stop defines a fully-opaque green color.\n        The second stop does not specify the stop-color and the stop-opacity.\n        Since both properties are not inherited, the initial value should be used.        \n      </p>\n      <p>\n        For the bottom-right rectangle\'s gradient:\n        The first stop defines a fully-opaque green color.\n        The second stop specifies the stop-color using the \'currentColor\' keyword.        \n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The result should be:\n      </p>\n      <p>\n        The top-left rectangle is filled with a gradient from green to pink since\n        the stop-color is inherited from the location of the gradient definition.\n      </p>\n      <p>\n        The top-right rectangle filled in green with a gradient opacity.\n      </p>\n      <p>\n        The lower-left rectangle filled with a gradient going from fully-opaque green to fully-opaque black.\n      </p>\n      <p>\n        The lower-right rectangle filled with a gradient going from fully-opaque green to fully-opaque yellow.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-18-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="g0" stop-color="#f48" stop-opacity="0.5" color="yellow">\n      <linearGradient id="MyGradient1" stop-color="inherit">\n        <stop offset="0" stop-color="green" stop-opacity="1"/>\n        <stop offset="1" stop-color="inherit" stop-opacity="1"/>\n      </linearGradient>\n      <linearGradient id="MyGradient2" stop-opacity="inherit">\n        <stop offset="0" stop-color="green" stop-opacity="1"/>\n        <stop offset="1" stop-color="green" stop-opacity="inherit"/>\n      </linearGradient>\n      <linearGradient id="MyGradient3">\n        <stop offset="0" stop-color="green" stop-opacity="1"/>\n        <stop offset="1"/>\n      </linearGradient>\n      <linearGradient id="MyGradient4">\n        <stop offset="0" stop-color="green" stop-opacity="1"/>\n        <stop offset="1" stop-color="currentColor" stop-opacity="1"/>\n      </linearGradient>\n    </g>\n    <g id="g1" stop-color="blue">\n      <rect id="r1" fill="url(#MyGradient1)" width="100" height="100" x="50" y="50"/>\n    </g>\n    <g id="g2" stop-opacity="1">\n      <rect id="r2" fill="url(#MyGradient2)" width="100" height="100" x="200" y="50"/>\n    </g>\n    <g id="g3" stop-opacity="1" stop-color="blue">\n      <rect id="r3" fill="url(#MyGradient3)" width="100" height="100" x="50" y="200"/>\n    </g>\n    <g id="g4" color="blue">\n      <rect id="r4" fill="url(#MyGradient4)" width="100" height="100" x="200" y="200"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-20-b.svg', svg: '<svg id="svg-root" width="100%" height="100%" \n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" \n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="ED" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: pservers-grad-20-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/animate.html#InterfaceSVGAnimationElement">\n        <p>\n          This test has a gradient with gradientUnits=\'objectBoundingBox\' which is a fade from black to white.\n          The gradient is used for the stroke of a line. Vertical and horizontal lines don\'t have a boundingbox, since they are one-dimensional, even though the\n          stroke-width makes it look like they should have a boundingbox with non-zero width and height.\n          See the coordinate chapter, last paragraph of 7.11.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The left rectangle has four \'line\' elements rotated in different ways. The stroke for the lines have a green solid stroke fallback which\n        should be used if the gradient should be ignored.\n\n        The right rectangle is the same as the left rectangle except that the stroke paintservers don\'t have a fallback specified.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if\n      </p>\n      <ul>\n        <li>\n          there are three lines with solid green stroke, and one line\n          (from bottom left to top right) with a gradient stroke, visible in the left rectangle.\n        </li>\n        <li>there is a line from bottom left to top right with a gradient stroke, visible in the right rectangle.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-20-b.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <linearGradient id="grad">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-color="white" />\n      </linearGradient>\n    </defs>\n    \n    <!-- sub-test 1: stroke with solid color fallback -->\n    <g transform="translate(50, 100) scale(0.3)">\n      <path d="M0 180L480 180" stroke="url(#grad) #0f0" stroke-width="20"/>\n      <path d="M0 180L480 180" stroke="url(#grad) #0f0" stroke-width="20" transform="rotate(45 240 180)"/>\n      <path d="M0 180L480 180" stroke="url(#grad) #0f0" stroke-width="20" transform="rotate(90 240 180)"/>\n      <path d="M410 10L70 350" stroke="url(#grad) #0f0" stroke-width="20"/>\n      <rect x="0" y="-60" width="480" height="480" fill="none" stroke="black"/>\n    </g>\n    <text x="120" y="250" text-anchor="middle">With fallback</text>\n    \n    <!-- sub-test 2: stroke without a fallback -->\n    <g transform="translate(280,100) scale(0.3)">\n      <path d="M0 180L480 180"	stroke="url(#grad)" stroke-width="20"/>\n      <path d="M0 180L480 180" stroke="url(#grad)" stroke-width="20" transform="rotate(45 240 180)"/>\n      <path d="M0 180L480 180" stroke="url(#grad)" stroke-width="20" transform="rotate(90 240 180)"/>\n      <path d="M410 10L70 350" stroke="url(#grad)" stroke-width="20"/>\n      <rect x="0" y="-60" width="480" height="480" fill="none" stroke="black"/>\n    </g>\n    <text x="350" y="250" text-anchor="middle">Without fallback</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n  <text id="revision" x="10" y="340" stroke="none" \n    fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" \n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-21-b.svg', svg: '<svg id="svg-root" width="100%" height="100%" \n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" \n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="ED" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: pservers-grad-21-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Gradients">\n      <p>\n        Test the inheritance of radial gradient attributes. The test has six ellipses with blue stroke, each filled\n        with two gradients. \n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if:\n      </p>\n      <ul>\n        <li>the gradient fills don\'t extend outside the blue ellipses</li>\n        <li>the gradient fills in the left column exactly match the corresponding reference gradient fills in the right column</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-21-b.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <radialGradient id="grad1" cx="100%" r="20%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad2" xlink:href="#grad1" cx="0%"/>\n      <radialGradient id="grad3" cx="100%" r="20%" fx="0%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad4" xlink:href="#grad3" cx="0%"/>\n      <radialGradient id="grad5" cx="100%" r="20%" fx="25%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad6" xlink:href="#grad5" cx="0%"/>\n      \n      <radialGradient id="grad1-ref" cx="100%" r="20%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad2-ref" cx="0%" r="20%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad3-ref" cx="100%" r="20%" fx="0%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad4-ref" cx="0%" r="20%" fx="0%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad5-ref" cx="100%" r="20%" fx="25%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n      <radialGradient id="grad6-ref" cx="0%" r="20%" fx="25%">\n        <stop offset="0" stop-color="black" />\n        <stop offset="1" stop-opacity="0"/>\n      </radialGradient>\n    </defs>\n    \n    <g transform="translate(100 60)">\n      <!-- first line of tests -->\n      <rect fill="url(#grad1)" x="-60" width="120" height="90"/>\n      <rect fill="url(#grad2)" x="60" width="120" height="90"/>\n      <ellipse cx="60" cy="45" rx="24" ry="18" fill="none" stroke="blue"/>\n\n      <!-- reference for first line -->\n      <g transform="translate(100 0)">\n        <rect fill="url(#grad1-ref)" x="-60" width="120" height="90"/>\n        <rect fill="url(#grad2-ref)" x="60" width="120" height="90"/>\n        <ellipse cx="60" cy="45" rx="24" ry="18" fill="none" stroke="blue"/>\n      </g>\n\n      <!-- second line of tests -->\n      <g transform="translate(0 50)">\n        <rect fill="url(#grad3)" x="-60" width="120" height="90"/>\n        <rect fill="url(#grad4)" x="60" width="120" height="90"/>\n        <ellipse cx="60" cy="45" rx="24" ry="18" fill="none" stroke="blue"/>\n      </g>\n      \n      <!-- reference for second line -->\n      <g transform="translate(100 50)">\n        <rect fill="url(#grad3-ref)" x="-60" width="120" height="90"/>\n        <rect fill="url(#grad4-ref)" x="60" width="120" height="90"/>\n        <ellipse cx="60" cy="45" rx="24" ry="18" fill="none" stroke="blue"/>\n      </g>\n\n      <!-- third line of tests -->\n      <g transform="translate(0 100)">\n        <rect fill="url(#grad5)" x="-60" width="120" height="90"/>\n        <rect fill="url(#grad6)" x="60" width="120" height="90"/>\n        <ellipse cx="60" cy="45" rx="24" ry="18" fill="none" stroke="blue"/>\n      </g>\n      \n      <!-- reference for third line -->\n      <g transform="translate(100 100)">\n        <rect fill="url(#grad5-ref)" x="-60" width="120" height="90"/>\n        <rect fill="url(#grad6-ref)" x="60" width="120" height="90"/>\n        <ellipse cx="60" cy="45" rx="24" ry="18" fill="none" stroke="blue"/>\n      </g>\n      \n      <rect x="120" y="20" width="80" height="200" fill="none" stroke="green"/>\n      <text y="200" x="160" text-anchor="middle" font-size="12">Reference</text> \n    </g>\n    \n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n  <text id="revision" x="10" y="340" stroke="none" \n    fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" \n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-22-b.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="AG" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: pservers-grad-22-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/master/pservers.html#Gradients">\n      <p>\n        Tests that transforms affect the rendering of a gradient.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n   </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test passes if each of the two gradient-filled rectangles\n        towards the top of the test slide is identical to the one below it.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-22-b.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <linearGradient id="g1" x1="0" y1="0" x2="400" y2="50" gradientUnits="userSpaceOnUse" >\n        <stop offset="0" stop-color="blue"/>\n        <stop offset="0.5" stop-color="yellow"/>\n        <stop offset="1.0" stop-color="blue"/>\n      </linearGradient>\n\n      <linearGradient id="g2" x1="0" y1="0" x2="200" y2="12.5" gradientUnits="userSpaceOnUse">\n        <stop offset="0" stop-color="blue"/>\n        <stop offset="0.5" stop-color="yellow"/>\n        <stop offset="1.0" stop-color="blue"/>\n      </linearGradient>\n\n      <linearGradient id="g3" x1="0" y1="0" x2="400" y2="50" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-37) scale(0.89 1)">\n        <stop offset="0" stop-color="blue"/>\n        <stop offset="0.5" stop-color="yellow"/>\n        <stop offset="1.0" stop-color="blue"/>\n      </linearGradient>\n\n      <linearGradient id="g4" x1="0" y1="0" x2="200" y2="12.5" gradientUnits="userSpaceOnUse" gradientTransform="rotate(-20)">\n        <stop offset="0" stop-color="blue"/>\n        <stop offset="0.5" stop-color="yellow"/>\n        <stop offset="1.0" stop-color="blue"/>\n      </linearGradient>\n    </defs>\n\n    <g transform="translate(20,50)">\n      <g transform="scale(0.5,1)">\n        <rect width="400" height="50" fill="url(#g1)" />\n      </g>\n    </g>\n\n    <g transform="translate(20,120)">\n      <rect width="200" height="50" fill="url(#g2)" />\n    </g>\n\n    <g transform="translate(250,80)">\n      <rect width="400" height="50" fill="url(#g3)" transform="scale(0.5,1)"/>\n    </g>\n\n    <g transform="translate(250,150)">\n      <rect width="200" height="50" fill="url(#g4)" />\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-grad-23-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="[reviewer]" author="Microsoft" status="created" version="$Revision: 1.3 $" testname="$RCSfile: pservers-grad-23-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/pservers.html#Gradients">\n      <p>\n        <!--[[\n        Properties do not inherit from elements referencing \'linearGradient\' or \'radialGradient\' elements.\n        ]]-->\n      </p>\n      <p>\n        <!--[[\n        Specify a \'stop-color\' attribute equal to \'red\' on a \'g\' element ancestor of a \'rect\' element. Specify a \'linearGradient\' with a single \n        \'stop\' that has a \'stop-color\' of \'inherit\'. Reference the \'linearGradient\' from the \'rect\' element and verify that the \'rect\' is not red. \n        Repeat the same process with a sibling \'rect\' element referencing a \'radialGradient\' element.\n        ]]-->\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required\n      </p>\n      <p>\n        <!--[[\n        \n        ]]-->\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        <!--[[\n        Test passes if there is no red visible on the page.\n        ]]-->\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-23-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-size="18">\n    <defs>\n        <linearGradient id="testLinear" stop-color="inherit">\n            <stop offset="100%" stop-color="inherit" />\n        </linearGradient>\n        <radialGradient id="testRadial" stop-color="inherit">\n            <stop offset="100%" stop-color="inherit" />\n        </radialGradient>\n    </defs>\n    <g stop-color="red">\n        <rect x="30" y="30" width="100" height="100" fill="url(#testLinear)" stop-color="inherit" />\n        <rect x="150" y="30" width="100" height="100" fill="url(#testRadial)" stop-color="inherit" />\n    </g>\n    \n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>'},
  {name: 'pservers-grad-24-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CM" author="Microsoft" status="reviewed" version="$Revision: 1.3 $" testname="$RCSfile: pservers-grad-24-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/pservers.html#Gradients">\n      <p>\n        Test that the \'linearGradient\' and \'radialGradient\' elements are neither rendered directly nor via the \'use\' element.\n      </p>\n      <p>\n        The test defines \'linearGradient\' and \'radialGradient\' elements with a red \'stop\' and references them from a \'use\' element. \'linearGradient\'\n        and \'radialGradient\' elements with a red \'stop\' are also specified outside of a \'defs\' tag as if they were regular graphical elements.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-24-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <linearGradient id="testLinear">\n            <stop offset="100%" stop-color="red" />\n        </linearGradient>\n        <radialGradient id="testRadial">\n            <stop offset="100%" stop-color="red" />\n        </radialGradient>\n    </defs>\n    <text x="10" y="50">There should be no red.</text>\n    <use x="0" y="0" xlink:href="url(#testLinear)" />\n    <use x="0" y="150" xlink:href="url(#testRadial)" />\n    <linearGradient x1="0" x2="100" y1="150" y2="250">\n        <stop offset="100%" stop-color="red" />\n    </linearGradient>\n    <radialGradient cx="200" cy="300" r="50" fx="200" fy="300">\n        <stop offset="100%" stop-color="red" />\n    </radialGradient>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'pservers-grad-stops-01-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CM" author="Microsoft" status="reviewed" version="$Revision: 1.3 $" testname="$RCSfile: pservers-grad-stops-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG/pservers.html#GradientStops">\n      <p>\n        Test that gradient offset values less than zero are rounded up to zero and values more than one are rounded down to one.\n      </p>\n      <p>\n        The test defines four gradients, each with a single stop where the \'stop-color\' is set to \'blue\'.\n        The four gradients have \'offset\' set to \'-1\', \'-1%\', \'101%\' and \'2\'.  Four rectangles reference\n        the gradients.  All of these should render as if they have plain blue fills.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test passed if there are four blue boxes on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-grad-stops-01-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <linearGradient id="gradient1">\n            <stop offset="-1" stop-color="blue" />\n        </linearGradient>\n        <linearGradient id="gradient2">\n            <stop offset="-1%" stop-color="blue" />\n        </linearGradient>\n        <linearGradient id="gradient3">\n            <stop offset="2" stop-color="blue" />\n        </linearGradient>\n        <linearGradient id="gradient4">\n            <stop offset="101%" stop-color="blue" />\n        </linearGradient>\n    </defs>\n    <rect fill="url(#gradient1)" stroke="black" stroke-width="5" x="10" y="10" width="100" height="100" />\n    <rect fill="url(#gradient2)" stroke="black" stroke-width="5" x="120" y="10" width="100" height="100" />\n    <rect fill="url(#gradient3)" stroke="black" stroke-width="5" x="10" y="120" width="100" height="100" />\n    <rect fill="url(#gradient4)" stroke="black" stroke-width="5" x="120" y="120" width="100" height="100" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'pservers-pattern-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Haroon Sheikh" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: pservers-pattern-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Patterns">\n        <p>\n          Test that the viewer has basic capability to handle patterns\n          on fills and stroke of objects and text.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        From top-down the appearance of objects is as follows.\n      </p>\n      <p>\n        The top rectangle should be filled with a pattern composed of a green\n        rectangle on top of yellow rectangle. A default stroke has been applied to the original\n        rectangle to see the boundary of the rectangle.\n      </p>\n      <p>\n        The next rectangle has no fill, but has a thick stroke on which the pattern is\n        applied. The pattern consists of 4 colored rectangles.\n      </p>\n      <p>\n        The next item is a text with a pattern on the fill. The pattern appears as\n        alternating rows of orange and green.\n      </p>\n      <p>\n        The last item is a text with a 2 user unit stroke on which a pattern is applied.\n        The pattern appears as alternating columns of maroon and blue.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Rectangle with a pattern fill                                 ======== -->\n    <!-- ====================================================================== -->\n    <pattern patternUnits="userSpaceOnUse" id="pat1" x="10" y="10" width="20" height="20">\n      <rect x="5" y="5" width="10" height="10" fill="yellow"/>\n      <rect x="10" y="10" width="10" height="10" fill="green"/>\n    </pattern>\n    <rect x="25" y="10" width="430" height="60" stroke="black" fill="url(#pat1)"/>\n    <text font-family="Arial" font-size="12" x="25" y="85">Pattern created using yellow and green rectangles applied to fill of rectangle</text>\n    <!-- ====================================================================== -->\n    <!-- Rectangle with a pattern on the stroke                        ======== -->\n    <!-- ====================================================================== -->\n    <pattern patternUnits="userSpaceOnUse" id="pat2" x="0" y="0" width="20" height="20">\n      <rect x="0" y="0" width="10" height="10" fill="maroon"/>\n      <rect x="10" y="0" width="10" height="10" fill="green"/>\n      <rect x="0" y="10" width="10" height="10" fill="blue"/>\n      <rect x="10" y="10" width="10" height="10" fill="yellow"/>\n    </pattern>\n    <rect x="35" y="110" width="410" height="40" fill="none" stroke="url(#pat2)" stroke-width="20"/>\n    <text font-family="Arial" font-size="12" x="25" y="175">Pattern of 4 rectangles applied to a stroke of a rectangle.</text>\n    <!-- ====================================================================== -->\n    <!-- Pattern filled text                                           ======== -->\n    <!-- ====================================================================== -->\n    <pattern patternUnits="userSpaceOnUse" id="pat3" x="0" y="0" width="10" height="20">\n      <rect x="0" y="0" width="10" height="10" fill="orange"/>\n      <rect x="0" y="10" width="10" height="10" fill="green"/>\n    </pattern>\n    <text font-family="Arial" font-size="50" fill="url(#pat3)" x="25" y="220">Pattern on fill</text>\n    <text font-family="Arial" font-size="12" x="25" y="235">Pattern consists of orange and green rows</text>\n    <!-- ====================================================================== -->\n    <!-- Pattern on stroke of text                                     ======== -->\n    <!-- ====================================================================== -->\n    <pattern patternUnits="userSpaceOnUse" id="pat4" x="0" y="0" width="20" height="10">\n      <rect x="0" y="0" width="10" height="10" fill="maroon"/>\n      <rect x="10" y="0" width="10" height="10" fill="blue"/>\n    </pattern>\n    <text font-family="Arial" font-size="40" fill="none" stroke="url(#pat4)" stroke-width="2" x="25" y="275">Pattern on stroke</text>\n    <text font-family="Arial" font-size="12" x="25" y="290">Pattern consists of maroon and blue columns</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-pattern-02-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CM" author="ED" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: pservers-pattern-02-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#PatternElement">\n      <p>\n        Test that the \'patternTransform\' attribute has an effect on the \'pattern\' element.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if the testframe is filled with a blue and white\n        diamond pattern.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-02-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <pattern id="pattern" viewBox="0 0 100 100" patternTransform="rotate(45)" height="0.1" width="0.1">\n        <rect y="50" width="50" height="50" fill="blue"/>\n        <rect x="50" width="50" height="50" fill="blue"/>\n      </pattern>\n    </defs>\n    <rect fill="url(#pattern)" width="480" height="480"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'pservers-pattern-03-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="[reviewer]" author="ED" status="created"\n    version="$Revision: 1.1 $" testname="$RCSfile: pservers-pattern-03-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Patterns">\n      <p>\n        Test that empty patterns are not rendered, and that the fallback color is used instead.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are 8 green rectangles visible, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-03-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <defs>\n      <pattern id="invisible1">\n        <rect width="100%" height="100%" fill="red"/>\n      </pattern>\n      <pattern id="invisible2" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">\n        <rect width="100%" height="100%" fill="red"/>\n      </pattern>\n      <pattern id="invisible3" width="0" height="0" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">\n        <rect width="1" height="1" fill="red"/>\n      </pattern>\n      <pattern id="invisible4" width="0" patternUnits="objectBoundingBox" patternContentUnits="objectBoundingBox">\n        <rect width="1" height="1" fill="red"/>\n      </pattern>\n      <pattern id="invisible5" width="0" height="0" patternUnits="userSpaceOnUse" patternContentUnits="objectBoundingBox">\n        <rect width="1" height="1" fill="red"/>\n      </pattern>\n      <pattern id="invisible6" height="0" patternUnits="userSpaceOnUse" patternContentUnits="objectBoundingBox">\n        <rect width="1" height="1" fill="red"/>\n      </pattern>\n      <pattern id="invisible7" height="0" patternUnits="userSpaceOnUse" patternContentUnits="userSpaceOnUse">\n        <rect width="100%" height="100%" fill="red"/>\n      </pattern>\n    </defs>\n\n    <g transform="translate(40 60)" stroke="black">\n      <rect width="100" height="100" fill="url(#invisible1) lime"/>\n      <rect x="100" width="100" height="100" fill="url(#invisible2) lime"/>\n      <rect x="200" width="100" height="100" fill="url(#invisible3) lime"/>\n      <rect x="300" width="100" height="100" fill="url(#invisible4) lime"/>\n\n      <rect y="100" width="100" height="100" fill="url(#invisible5) lime"/>\n      <rect x="100" y="100" width="100" height="100" fill="url(#invisible6) lime"/>\n      <rect x="200" y="100" width="100" height="100" fill="url(#invisible7) lime"/>\n      \n      <!-- note that this is on purpose testing a broken uri -->\n      <rect x="300" y="100" width="100" height="100" fill="url(#invisible8) lime"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.1 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'pservers-pattern-04-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: pservers-pattern-04-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Patterns">\n      <p>\n        Inherited attributes from a referenced \'pattern\' are not applied if they are already defined on the referencing \'pattern\' element.\n      </p>\n      <p>\n        Define a pattern \'pattern1\' with circles that have red fill. Inherit \'pattern1\' into \'pattern2\' and add circles at different \'y\'\n        attribute and with \'fill\' set to \'lime\' on \'pattern2\'. Reference \'pattern1\' from a square using \'fill\' attribute. Reference \'pattern2\'\n        from a different square using \'fill\' attribute. Position the second square directly over the first square.  Verify that there is green visible.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are four green circles visible on the page, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-04-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <pattern id="pattern1" patternUnits="userSpaceOnUse" x="0" y="0" width="100" height="100" viewBox="0 0 10 10" >\n            <circle cx="5" cy="5" r="1.9" fill="red" />\n        </pattern>\n        <pattern id="pattern2" xlink:href="#pattern1" y="30">\n            <circle cx="5" cy="2" r="2" fill="lime" />\n        </pattern>\n    </defs>\n    <rect fill="url(#pattern1)" stroke="none" x="1" y="1" width="200" height="200" />\n    <rect fill="url(#pattern2)" stroke="none" x="1" y="1" width="200" height="200" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>\n'},
  {name: 'pservers-pattern-05-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="CM" author="Microsoft" status="reviewed" version="$Revision: 1.3 $" testname="$RCSfile: pservers-pattern-05-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG/pservers.html#Patterns">\n      <p>\n        Test that a \'pattern\' element can inherit attributes through multiple levels of\n        \'xlink:href\' referencing.\n      </p>\n      <p>\n        The test defines a pattern \'pattern1\' with some attributes that scale the contents. The attributes on\n        \'pattern1\' are inherited into \'pattern2\' and then inherited from \'pattern2\'\n        into \'pattern3\'.  \'pattern3\' has a green circle as its graphical content.\n        A \'rect\' uses \'pattern3\' as its fill, if the attributes are correctly inherited into\n        \'pattern3\', then the green circle will occlude a red circle in the same position.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test passed if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-05-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <pattern id="Pattern1" patternUnits="userSpaceOnUse" width="100" height="100" viewBox="0 0 10 10" />\n        <pattern id="Pattern2" xlink:href="#Pattern1" />\n        <pattern id="Pattern3" xlink:href="#Pattern2">\n            <circle cx="5" cy="5" r="2" fill="green"/>\n        </pattern>\n    </defs>\n    <circle cx="50" cy="50" r="20" fill="red" />\n    <rect fill="url(#Pattern3)" width="100" height="100" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'pservers-pattern-06-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="[reviewer]" author="Microsoft" status="created" version="$Revision: 1.2 $" testname="$RCSfile: pservers-pattern-06-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG/pservers.html#Patterns">\n      <p>\n        <!--[[\n        The \'pattern\' element is neither rendered directly nor via the \'use\' element.\n        ]]-->\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        <!--[[\n        Define a \'pattern\' element with a red \'rect\' and reference it from a \'use\' element. Also specify one \'pattern\' elements with a red \'rect\'\n        outside of a \'defs\' tag. Verify there is no red on the page.\n        ]]-->\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        <!--[[\n        Test passes if there is no red visible on the page.\n        ]]-->\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-06-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <pattern id="testPattern" patternUnits="userSpaceOnUse" x="0" y="0" width="100" height="100" viewBox="0 0 10 10" >\n            <rect x="5" y="5" width="10" height="10" fill="red" />\n        </pattern>\n    </defs>\n    <use x="100" y="100" xlink:href="url(#testPattern)" />\n    <pattern patternUnits="userSpaceOnUse" x="10" y="10" width="20" height="20">\n        <rect x="5" y="5" width="10" height="10" fill="red" />\n    </pattern>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'pservers-pattern-07-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CM" author="ED" status="reviewed"\n    version="$Revision: 1.2 $" testname="$RCSfile: pservers-pattern-07-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Patterns">\n      <p>\n        Test that an invalid xlink:href on a \'pattern\' element has no effect on the pattern.\n        The pattern dimensions and coordinate-system are defined completely on the pattern that has the invalid xlink:href,\n        to test that they\'re not overridden by the non-existant pattern that is referenced.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are four green circles visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-07-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <pattern id="pattern1" patternUnits="userSpaceOnUse" x="0" y="0" width="100" height="100" viewBox="0 0 10 10">\n            <circle cx="5" cy="5" r="1.7" fill="red" />\n        </pattern>\n        <pattern id="pattern2" xlink:href="#invalidlink" patternUnits="userSpaceOnUse" x="0" y="0" width="100" height="100" viewBox="0 0 10 10">\n            <circle cx="5" cy="5" r="2" fill="lime" />\n        </pattern>\n    </defs>\n    <rect fill="url(#pattern1)" stroke="none" x="1" y="1" width="200" height="200" />\n    <rect fill="url(#pattern2)" stroke="none" x="1" y="1" width="200" height="200" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'pservers-pattern-08-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CM" author="ED" status="reviewed"\n    version="$Revision: 1.2 $" testname="$RCSfile: pservers-pattern-08-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Patterns">\n      <p>\n        Test that an invalid xlink:href on a \'pattern\' element has no effect on the pattern.\n        This test specifies only \'width\' and \'height\' on the pattern that is tested in order to catch \n        incorrectly overridden values from a non-existant pattern. The result is tested\n        with a reference pattern using slightly different syntax.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are four green circles visible on the page, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-08-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <pattern id="pattern1" patternUnits="userSpaceOnUse" x="0" y="0" width="100" height="100" viewBox="0 0 10 10">\n            <circle cx="5" cy="5" r="1.7" fill="red" />\n        </pattern>\n        <pattern id="pattern2" xlink:href="#invalidlink" width="0.5" height="0.5">\n            <circle cx="50" cy="50" r="20" fill="lime" />\n        </pattern>\n    </defs>\n    <rect fill="url(#pattern1)" stroke="none" x="1" y="1" width="200" height="200" />\n    <rect fill="url(#pattern2)" stroke="none" x="1" y="1" width="200" height="200" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'pservers-pattern-09-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="[reviewer]" author="ED" status="created"\n    version="$Revision: 1.1 $" testname="$RCSfile: pservers-pattern-09-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/pservers.html#Patterns">\n      <p>\n        Test that an invalid xlink:href on a \'pattern\' element has no effect on the pattern, and that the\n        pattern isn\'t rendered since the default \'width\' and \'height\' is 0.\n        A subtest that explicitly specifies \'width\' and \'height\' as 0 is added as a reference. \n        Both of these cases should result in the fallback color being used.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there is a green rectangle visible on the page, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: pservers-pattern-09-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n        <pattern id="pattern1" patternUnits="userSpaceOnUse" x="0" y="0" width="100" height="100" viewBox="0 0 10 10">\n            <circle cx="5" cy="5" r="1.7" fill="red" />\n        </pattern>\n        <pattern id="pattern2" xlink:href="#invalidlink">\n            <circle cx="50" cy="50" r="20" fill="red" />\n        </pattern>\n        <pattern id="pattern3" patternUnits="userSpaceOnUse" x="0" y="0" width="0" height="0" viewBox="0 0 10 10">\n            <circle cx="5" cy="5" r="1.7" fill="red" />\n        </pattern>\n    </defs>\n    <rect fill="url(#pattern1)" stroke="none" x="1" y="1" width="200" height="200" />\n    <rect fill="url(#pattern2) lime" stroke="none" x="1" y="1" width="200" height="200" />\n    <rect fill="url(#pattern3) lime" stroke="none" x="201" y="1" width="200" height="200" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.1 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'render-elems-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: render-elems-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/render.html#Elements">\n        <p>\n          Verifies that shapes can be filled.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        There is one pair of octagons.  These are filled.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: render-elems-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- First, fill shape with two different colors                            -->\n    <!-- ====================================================================== -->\n    <g transform="translate(30, 80)">\n      <g fill="green">\n        <path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/>\n      </g>\n      <g fill="black" transform="translate(200, 0)">\n        <path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/>\n      </g>\n      <text x="130" y="-30" font-size="28">Shape fill</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'render-elems-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: render-elems-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/render.html#Elements">\n        <p>\n          Verifies that shapes can be stroked.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        There is one pair of octagons.  These are stroked.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: render-elems-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Now, stroke shape with two different stroke width and color            -->\n    <!-- ====================================================================== -->\n    <g transform="translate(30, 80)">\n      <g fill="none" stroke="green" stroke-width="3">\n        <path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/>\n      </g>\n      <g fill="none" stroke="black" stroke-width="9" transform="translate(200, 0)">\n        <path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/>\n      </g>\n      <text x="110" y="-30" font-size="28">Shape stroke</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'render-elems-03-t.svg', svg: '<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="tiny" id="svg-root" width="100%" height="100%" viewBox="0 0 480 360">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted" version="$Revision: 1.7 $" testname="$RCSfile: render-elems-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/render.html#Elements">\n        <p>\n          Verifies that shapes can be filled, stroked and the order of filling and stroking.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        There is one pair of octagons. These are filled plus stroked.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: render-elems-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Now, fill and stroke. The fill should happen first                     -->\n    <!-- ====================================================================== -->\n    <g transform="translate(30, 80)">\n      <g fill="yellow" stroke="green" stroke-width="8"><path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/></g>\n      <g stroke="black" fill="blue" stroke-width="8" transform="translate(200, 0)"><path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/></g>\n      <text x="70" y="-30" font-size="28">Shape fill and stroke</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'render-elems-06-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: render-elems-06-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/render.html#Elements">\n        <p>\n          Verifies that text can be filled. \n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nThe\n          test shows two \'G\' characters that are filled \n          (green to the left, and with navy to the right) and not stroked.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: render-elems-06-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs >\n      <font-face font-family="Blocky" unicode-range="U+0-7F">\n        <font-face-src>\n          <font-face-uri xlink:href="../resources/Blocky.svg#Blocky"/>\n        </font-face-src>\n      </font-face>\n       <style type="text/css">\n          @font-face {\n             font-family: BlockyWoff;\n             src: url(woffs/Blocky.woff) format("woff");\n        </style>\n    </defs>\n    <!-- ====================================================================== -->\n    <!-- First, fill text with two different colors                             -->\n    <!-- ====================================================================== -->\n    <text x="180" y="40" font-size="30">Text fill</text>\n    <g font-size="300" font-family="Blocky, BlockyWoff">\n      <text x="60" y="280" fill="green">G</text>\n      <text x="260" y="280" fill="navy">G</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'render-elems-07-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: render-elems-07-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/render.html#Elements">\n        <p>\n          Verifies that text can be stroked. The\n          \n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n   The test shows two characters that are stroked and not filled.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: render-elems-07-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n        <defs>\n      <font-face font-family="Blocky" unicode-range="U+0-7F">\n        <font-face-src>\n          <font-face-uri xlink:href="../resources/Blocky.svg#Blocky"/>\n        </font-face-src>\n      </font-face>\n       <style type="text/css">\n          @font-face {\n             font-family: BlockyWoff;\n             src: url(woffs/Blocky.woff) format("woff");\n        </style>\n    </defs>\n    <!-- ====================================================================== -->\n    <!-- Now, stroke text with two different stroke width and color             -->\n    <!-- ====================================================================== -->\n    <text x="180" y="40" font-size="30">Text stroke</text>\n    <g font-size="300" font-family="Blocky, BlockyWoff">\n      <text x="60" y="280" fill="none" stroke="green" stroke-width="12">G</text>\n      <text x="260" y="280" fill="none" stroke="navy" stroke-width="12">G</text>\n    </g>\n    <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.9 $</text>\n    <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  </g>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'render-elems-08-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.10 $" testname="$RCSfile: render-elems-08-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/render.html#Elements">\n        <p>\n          Verifies that text can be stroked.\n          \n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n       The test shows two \'G\' characters that are both stroked and filled.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: render-elems-08-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <font-face font-family="Blocky" unicode-range="U+0-7F">\n        <font-face-src>\n          <font-face-uri xlink:href="../resources/Blocky.svg#Blocky"/>\n        </font-face-src>\n      </font-face>\n       <style type="text/css">\n          @font-face {\n             font-family: BlockyWoff;\n             src: url(woffs/Blocky.woff) format("woff");\n        </style>\n    </defs>\n    <!-- ====================================================================== -->\n    <!-- Now, fill and stroke. The fill should happen first                     -->\n    <!-- ====================================================================== -->\n    <text x="120" y="40" font-size="30">Text fill and stroke</text>\n    <g font-size="300" font-family="Blocky, BlockyWoff">\n      <text x="60" y="280" fill="#2f8" stroke="green" stroke-width="12">G</text>\n      <text x="260" y="280" fill="#e9a" stroke="navy" stroke-width="12">G</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.10 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'render-groups-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: render-groups-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/render.html#Grouping">\n        <p>\n          Verifies implicit rendering order (paragraph 3.3) and grouping mechanism (paragraphs 3.4).\n          It also validates basic Shape, Image and text rendering.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>\nRun the test. No interaction required.\n      </p>\n      <p>\n        The rendered image should match the reference image exactly.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        This test renders 3  elements: a text string "SVG", then\n        a shape, then an image. Because of their definition order and coordinates, the image\n        should be on top of the rectangle and the rectangle on top of the text. The\n        test validates that groups are conceptually rendered offscreen before being\n        rendered on the canvas. This is done by grouping the same overlapping objects and\n        rendering the group at half opacity. The background pattern (vertical stripes) should\n        show through all the group elements. However, none of the "SVG" text string should show through the\n        rectangle and none of the rectangle should show through the image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: render-groups-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <font horiz-adv-x="313">\n        <!-- Converted from Larabie Anglepoise by Batik ttf2svg -->\n        <font-face font-family="s-larabie-anglepoise" units-per-em="1000" panose-1="0 0 4 0 0 0 0 0 0 0" ascent="703" descent="-300" alphabetic="0"/>\n        <missing-glyph horiz-adv-x="500" d="M63 0V700H438V0H63ZM125 63H375V638H125V63Z"/>\n        <glyph unicode="S" glyph-name="S" horiz-adv-x="385" d="M371 1H29V144H264Q264 151 264 166Q265 180 265 188Q265 212 249 212H132Q83 212 55 247Q29 279 29 329V566H335V422H136V375Q136 360 144 356Q148 355 168 355H279Q327 355 352 309Q371 273 371 221V1Z"/>\n        <glyph unicode="V" glyph-name="V" horiz-adv-x="351" d="M365 563L183 -33L0 563H101L183 296L270 563H365Z"/>\n        <glyph unicode="G" glyph-name="G" horiz-adv-x="367" d="M355 1H18V564H355V420H125V144H248V211H156V355H355V1Z"/>\n        <hkern g1="V" g2="G" k="-40"/>\n      </font>\n      <style type="text/css">\n        @font-face {\n          font-family: anglepoise;\n          src: url(woffs/anglepoi.woff) format("woff");\n        }\n      </style>\n    </defs>\n    <!-- ====================================================================== -->\n    <!--  3 overlapping elements in a group with opacity    -->\n    <!-- ====================================================================== -->\n    <g transform="scale(1.8, 1.8)">\n      <!-- Background pattern -->\n      <rect x="20" y="10" width="230" height="155" fill="rgb(192, 192, 192)"/>\n      <line x1="40" y1="10" x2="40" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="70" y1="10" x2="70" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="100" y1="10" x2="100" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="130" y1="10" x2="130" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="160" y1="10" x2="160" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="190" y1="10" x2="190" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="220" y1="10" x2="220" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="250" y1="10" x2="250" y2="175" stroke="white" stroke-width="15"/>\n      <rect x="20" y="10" width="230" height="155" fill="none" stroke="black"/>\n      <!-- The following group, as a whole, should be rendered with a .5 opacity -->\n      <!-- Conceptually, this means that the object is contains are first        -->\n      <!-- rendered offscreen. Then, the offscreen is painted on the canvas with -->\n      <!-- half opacity.                                                         -->\n      <g opacity="0.5">\n        <!-- The following text, rectangle and image are drawn, fully opaque, in -->\n        <!-- the order they are defined. Therefore, none of the \'A\' under the    -->\n        <!-- rectangle should show. Neither should any of the rectangle under    -->\n        <!-- the image.                                                          -->\n        <text font-family="s-larabie-anglepoise, anglepoise" font-size="120" x="30" y="90">SVG</text>\n        <rect x="70" y="55" width="130" height="70" fill="rgb(130, 0, 50)"/>\n        <image x="162" y="75" width="80" height="80" xlink:href="' + Images['sign.png'] + '"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'render-groups-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Vincent Hardy" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: render-groups-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/render.html#Grouping">\n        <p>\n          Verifies implicit rendering order (paragraph 3.3) and grouping mechanism (paragraphs 3.4).\n          It also validates basic Shape, Image and text rendering.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">            \n      <p>\nRun the test. No interaction required.\n      </p>\n      <p>\n        The rendered image should match the reference image exactly.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        This test renders 3  elements: a text string "SVG", then\n        a shape, then an image. Because of their definition order and coordinates, the image\n        should be on top of the rectangle and the rectangle on top of the text. None\n        of the "SVG" text string should show through the\n        rectangle and none of the rectangle should show through the image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: render-groups-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <font horiz-adv-x="313">\n        <!-- Converted from Larabie Anglepoise by Batik ttf2svg -->\n        <font-face font-family="s-larabie-anglepoise" units-per-em="1000" panose-1="0 0 4 0 0 0 0 0 0 0" ascent="703" descent="-300" alphabetic="0"/>\n        <missing-glyph horiz-adv-x="500" d="M63 0V700H438V0H63ZM125 63H375V638H125V63Z"/>\n        <glyph unicode="S" glyph-name="S" horiz-adv-x="385" d="M371 1H29V144H264Q264 151 264 166Q265 180 265 188Q265 212 249 212H132Q83 212 55 247Q29 279 29 329V566H335V422H136V375Q136 360 144 356Q148 355 168 355H279Q327 355 352 309Q371 273 371 221V1Z"/>\n        <glyph unicode="V" glyph-name="V" horiz-adv-x="351" d="M365 563L183 -33L0 563H101L183 296L270 563H365Z"/>\n        <glyph unicode="G" glyph-name="G" horiz-adv-x="367" d="M355 1H18V564H355V420H125V144H248V211H156V355H355V1Z"/>\n        <hkern g1="V" g2="G" k="-40"/>\n      </font>\n      <style type="text/css">\n        @font-face {\n          font-family: anglepoise;\n          src: url(woffs/anglepoi.woff) format("woff");\n        }\n      </style>\n    </defs>\n    <!-- ====================================================================== -->\n    <!--  3 overlapping elements in a group with opacity    -->\n    <!-- ====================================================================== -->\n    <g transform="scale(1.8, 1.8)">\n      <!-- Background pattern -->\n      <rect x="20" y="10" width="230" height="155" fill="rgb(192, 192, 192)"/>\n      <line x1="40" y1="10" x2="40" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="70" y1="10" x2="70" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="100" y1="10" x2="100" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="130" y1="10" x2="130" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="160" y1="10" x2="160" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="190" y1="10" x2="190" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="220" y1="10" x2="220" y2="175" stroke="white" stroke-width="15"/>\n      <line x1="250" y1="10" x2="250" y2="175" stroke="white" stroke-width="15"/>\n      <rect x="20" y="10" width="230" height="155" fill="none" stroke="black"/>\n      <!-- The following text, rectangle and image are drawn, fully opaque, in -->\n      <!-- the order they are defined. Therefore, none of the \'A\' under the    -->\n      <!-- rectangle should show. Neither should any of the rectangle under    -->\n      <!-- the image.                                                          -->\n      <text font-family="s-larabie-anglepoise, anglepoise" font-size="120" x="30" y="90">SVG</text>\n      <rect x="70" y="55" width="130" height="70" fill="rgb(130, 0, 50)"/>\n      <image x="162" y="75" width="80" height="80" xlink:href="' + Images['sign.png'] + '"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-circle-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: shapes-circle-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#CircleElement">\n        <p>\nTests the circle element\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Six circles are displayed, with position, size, fill and stroke matching the reference image\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-circle-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <circle cx="100" cy="100" r="50" fill="none" stroke="black"/>\n    <circle cx="220" cy="100" r="35" fill="green" stroke="black"/>\n    <circle cx="340" cy="100" r="20" fill="black" stroke="lime" stroke-width="4"/>\n    <circle cx="100" cy="260" r="20" stroke="lime" fill="yellow" stroke-width="4"/>\n    <circle cx="220" cy="260" r="35" stroke="none" fill="blue"/>\n    <circle cx="340" cy="260" r="50" stroke="green" fill="none" stroke-width="10"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-circle-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="DJ" author="CN" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: shapes-circle-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#CircleElement">\n        <p>\n          Default attributes test with circle.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if a group of four circles is displayed, arranged as shown in the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-circle-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g fill="green" stroke="#000000">\n      <!-- Set cx and cy coordinate to default.-->\n      <circle r="50"/>\n\n      <!-- Set cx coordinate to default.-->\n      <circle cy="100" r="50"/>\n\n      <!-- Set cy coordinate to default.-->\n      <circle cx="100" r="50"/>\n\n      <!-- Set r attribute to 0 (should not display a circle).-->\n      <circle cx="100" cy="100" r="0"/>\n\n      <!-- Set all values to draw a circle -->\n      <circle cx="100" cy="100" r="50"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-ellipse-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kelvin R" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: shapes-ellipse-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#EllipseElement">\n        <p>\n          Test the ellipse element.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n          Seven ellipses are displayed, with position, size, fill and stroke matching the reference image\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-ellipse-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- First pair of ellipses.                                                -->\n    <!-- ====================================================================== -->\n    <ellipse id="ellipse-01" fill="none" stroke="#000000" cx="50" cy="75" rx="30" ry="50"/>\n    <ellipse id="ellipse-02" fill="green" cx="160" cy="75" rx="30" ry="50"/>\n    <!-- ====================================================================== -->\n    <!-- Second pair of ellipses, should actually draw circles.                 -->\n    <!-- ====================================================================== -->\n    <ellipse id="ellipse-03" fill="none" stroke="#000000" cx="270" cy="80" rx="35" ry="35"/>\n    <ellipse id="ellipse-04" fill="green" cx="370" cy="80" rx="35" ry="35"/>\n    <!-- ====================================================================== -->\n    <!-- Third pair of ellipses.                                                -->\n    <!-- ====================================================================== -->\n    <ellipse id="ellipse-05" fill="none" stroke="#0000FF" stroke-width="8" cx="50" cy="220" rx="30" ry="50"/>\n    <ellipse id="ellipse-06" fill="#00FF00" stroke="#0000FF" stroke-width="8" cx="160" cy="220" rx="30" ry="50"/>\n    <!-- ====================================================================== -->\n    <!-- Fourth pair of ellipses.                                               -->\n    <!-- ====================================================================== -->\n    <ellipse id="ellipse-07" fill="#00FF00" stroke="#0000FF" stroke-width="8" cx="330" cy="220" rx="70" ry="40"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-ellipse-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="DJ" author="CN" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: shapes-ellipse-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#EllipseElement">\n      <p>\n        Defaults test with ellipse.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if one blue ellipse is shown completely within the test slide,\n      and a quarter ellipse is shown in the top-left corner of the test slide.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-ellipse-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g fill="blue" stroke="#000000">\n      <!-- Set cx and cy coordinate to default.-->\n      <ellipse rx="100" ry="50"/>\n\n      <!-- Set rx attribute to 0.-->\n      <ellipse cx="100" cy="150" rx="0" ry="50"/>\n\n      <!-- Set ry attribute to 0.-->\n      <ellipse cx="200" cy="50" rx="100" ry="0"/>\n\n      <!-- Set all values attribute to drawn an ellipse.-->\n      <ellipse cx="250" cy="250" rx="100" ry="50"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-ellipse-03-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="Microsoft" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: shapes-ellipse-03-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#EllipseElement">\n      <p>\n        The \'ellipse\' element defines an ellipse which is axis-aligned with the current user coordinate system when it is not the initial user coordinate system.\n      </p>\n      <p>\n        The test shows an \'ellipse\' element originating at (0,0) of the current user coordinate system, which has been altered via \'transform\' from\n        the initial user coordinate system. Two perpendicular lines which also originate at (0,0) and advance along the x and y axes of \n        the current user coordinate system are shown. These lines overlap the top and left edges of the ellipse and verifies that the ellipse is \n        thus axis-aligned with its current user coordinate system.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if both ellipses are divided into four equal parts by two sets of crossing lines, and the rightmost ellipse and crossing lines are rotated together. \n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-ellipse-03-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="translate(150,150)">\n        <line x1="0" y1="-100" x2="0" y2="100" stroke="black" />\n        <line x1="-100" y1="0" x2="100" y2="0" stroke="black" />\n        <ellipse  cx="0" cy="0" rx="80" ry="50" fill="none" stroke="black" />\n    </g>\n\n    <g transform="translate(350,150) rotate(-30)">\n        <line x1="0" y1="-100" x2="0" y2="100" stroke="black" />\n        <line x1="-100" y1="0" x2="100" y2="0" stroke="black" />\n        <ellipse  cx="0" cy="0" rx="80" ry="50" fill="none" stroke="black" />\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved \n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g> -->\n</svg>\n'},
  {name: 'shapes-grammar-01-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CL" status="accepted"\n    version="$Revision: 1.2 $" testname="$RCSfile: shapes-grammar-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#PointsBNF">\n      <p>\nCheck that negative second coordinate in a coordinate pair does not need separating wsp-comma.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nThe test is passed if each shape seems to have a double stroke, dark green and light green.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-grammar-01-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="translate(0,400)">\n        <g stroke="#070" stroke-width="8">  \n            <polyline fill="#396" \n                points="270,-225 300,-245 320,-225 340,-245 280,-280                   \n                390,-280 420,-240 280,-185"/>\n            <polygon fill="#5F9"    \n                points="179,-185,218,-203,228,-245,202,-279,159,-280,131,-247,139,-205"/>\n        </g>\n        <g stroke="#3C6" stroke-width="3" fill="none">\n           <polyline \n                points="270-225 300-245 320-225 340-245 280-280                   \n                390-280 420-240 280-185"/>\n            <polygon     \n                points="179-185,218-203,228-245,202-279,159-280,131-247,139-205"/>\n        </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-intro-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="SH" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: shapes-intro-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#Introduction">\n        <p>\n          Tests the degenerate cases of the basic shapes.  The shapes are positioned\n          within the black rectangles.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the 11 rectangles are empty.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-intro-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- Draw the boxes to contain the shapes and the text labels for the boxes -->\n    <!-- ====================================================================== -->\n    <g fill="none" stroke="#000000">\n      <!-- rects -->\n      <rect x="50" y="50" width="35" height="60"/>\n      <rect x="50" y="155" width="35" height="60"/>\n      <rect x="130" y="50" width="35" height="60"/>\n      <rect x="130" y="155" width="35" height="60"/>\n\n      <!-- circles -->\n      <rect x="210" y="50" width="60" height="60"/>\n      <rect x="210" y="155" width="60" height="60"/>\n\n      <!-- ellipses -->\n      <rect x="315" y="50" width="35" height="60"/>\n      <rect x="315" y="155" width="35" height="60"/>\n      <rect x="394" y="50" width="35" height="60"/>\n      <rect x="394" y="155" width="35" height="60"/>\n\n      <!-- line -->\n      <rect x="235" y="260" width="10" height="10"/>\n    </g>\n\n    <g font-family="Arial" font-size="8">\n      <text x="5" y="90">Stroked</text>\n      <text x="5" y="195">Unstroked</text>\n      <text x="50" y="135">Zero width rect</text>\n      <text x="130" y="135">Zero height rect</text>\n      <text x="210" y="135">Zero radius circle</text>\n      <text x="315" y="135">Zero x radius ellipse</text>\n      <text x="394" y="135">Zero y radius ellipse</text>\n      <text x="235" y="290">Zero length line</text>\n    </g>\n    <!-- ====================================================================== -->\n    <!-- Draw 4 rectangles, two with zero width, two with zero height           -->\n    <!-- (stroked and unstroked)                                                -->\n    <!-- ====================================================================== -->\n    <rect id="Zero-width-stroked-rect" fill="none" stroke="#000000" x="55" y="55" width="0" height="50"/>\n    <rect id="Zero-width-unstroked-rect" fill="#FF0000" stroke="none" x="55" y="160" width="0" height="50"/>\n    <rect id="Zero-height-stroked-rect" fill="#00FF00" stroke="#0000FF" x="135" y="55" width="25" height="0"/>\n    <rect id="Zero-height-rect" fill="#00FF00" stroke="none" x="135" y="160" width="25" height="0"/>\n    <!-- ====================================================================== -->\n    <!-- Draw two zero radius circles (stroked and unstroked)                   -->\n    <!-- ====================================================================== -->\n    <circle id="Zero-radius-stroked-circle" fill="none" stroke="#000000" cx="240" cy="80" r="0"/>\n    <circle id="Zero-radius-unstroked-circle" fill="#FF0000" stroke="none" cx="240" cy="185" r="0"/>\n    <!-- ====================================================================== -->\n    <!-- Draw 4 ellipses, two with a zero x radius, two with a zero y radius    -->\n    <!-- (stroked and unstroked)                                                -->\n    <!-- ====================================================================== -->\n    <ellipse id="Zero-x-radius-stroked-ellipse" fill="#00FF00" stroke="#0000FF" cx="332" cy="80" rx="0" ry="25"/>\n    <ellipse id="Zero-x-radius-unstroked-ellipse" fill="#00FF00" stroke="none" cx="332" cy="185" rx="0" ry="25"/>\n    <ellipse id="Zero-y-radius-stroked-ellipse" fill="none" stroke="#000000" cx="411" cy="80" rx="12" ry="0"/>\n    <ellipse id="Zero-y-radius-unstroked-ellipse" fill="#FF0000" stroke="none" cx="411" cy="185" rx="12" ry="0"/>\n    <!-- ====================================================================== -->\n    <!-- Draw a zero-length line                                                -->\n    <!-- ====================================================================== -->\n    <line id="Zero-length-line" stroke="#0000FF" x1="240" y1="265" x2="240" y2="265"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-intro-02-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: shapes-intro-02-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#Introduction">\n      <p>\n        Test that basic shape elements are equivalent to a \'path\' element that constructs the same shape.\n      </p>\n      <p>\n        For each basic shape, a \'path\' reference element that is red is created.\n        A basic shape is then placed on top of the \'path\' element. \n        For each basic shape there\'s also a reverse test that uses the shape as a reference for the \'path\' element.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-intro-02-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <path d="M35 25 L115 25 A 10 20 0 0 1 125 45 L 125 105 A 10 20 0 0 1 115 125 L 35 125 A 10 20 0 0 1 25 105 L 25 45 A 10 20 0 0 1 35 25" fill="red" />\n    <rect x="25" y="25" rx="10" ry="20" width="100" height="100" fill="black" />\n    <rect x="130" y="25" rx="10" ry="20" width="100" height="100" fill="red" />\n    <path d="M140 25 L220 25 A 10 20 0 0 1 230 45 L 230 105 A 10 20 0 0 1 220 125 L 140 125 A 10 20 0 0 1 130 105 L 130 45 A 10 20 0 0 1 140 25" fill="black" />\n\n    <path d="M300 125 A50 50 0 1 0 299.9999 125" fill="red" />\n    <circle cx="300" cy="75" r="50" fill="black" />\n    <circle cx="401" cy="75" r="50" fill="red" />\n    <path d="M401 125 A50 50 0 1 0 400.9999 125" fill="black" />\n\n    <path d="M60 305 A50 80 0 1 0 59.9999 305 Z" fill="red" />\n    <ellipse cx="60" cy="225" rx="50" ry="80" fill="black" />\n    <ellipse cx="161" cy="225" rx="50" ry="80" fill="red" />\n    <path d="M161 305 A50 80 0 1 0 160.9999 305 Z" fill="black" />\n\n    <path d="M220 150 L270 200 L220 250 Z" fill="red" />\n    <polygon points="220,150 270,200 220,250" fill="black" />\n    <polygon points="270,150 320,200 270,250" fill="red" />\n    <path d="M270 150 L320 200 L270 250 Z" fill="black" />\n\n    <path d="M350 250 L350 350 L400 350 L400 250 L450 250 L450 350" fill="none" stroke="red" stroke-width="10" />\n    <polyline fill="none" stroke="black" stroke-width="10" points="350,250 350,350 400,350 400,250 450,250 450,350" />\n    <polyline fill="none" stroke="red" stroke-width="10" points="350,135 350,235 400,235 400,135 450,135 450,235" />\n    <path d="M350 135 L350 235 L400 235 L400 135 L450 135 L450 235" fill="none" stroke="black" stroke-width="10" />\n\n    <path d="M225 275 L325 275" stroke-width="10" stroke="red" />\n    <line x1="225" y1="275" x2="325" y2="275" stroke-width="10" stroke="black" />\n    <line x1="225" y1="325" x2="325" y2="325" stroke-width="10" stroke="red" />\n    <path d="M225 325 L325 325" stroke-width="10" stroke="black" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved \n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g> -->\n</svg>\n'},
  {name: 'shapes-line-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: shapes-line-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#LineElement">\n        <p>\nTests the line element.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nThe test is passed if five diagonal lines are displayed on the top row. On the bottom row, a square wave pattern is displayed. The position, size, fill and stroke of the lines matches the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-line-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="diagonal-line-set">\n      <line x1="37.5" y1="137" x2="112.5" y2="50" fill="none" stroke="black" stroke-width="1"/>\n      <line x1="112.5" y1="137" x2="187.5" y2="50" fill="none" stroke="yellow" stroke-width="5"/>\n      <line x1="187.5" y1="137" x2="262.5" y2="50" fill="none" stroke="green" stroke-width="7.5"/>\n      <line x1="262.5" y1="137" x2="337.5" y2="50" fill="none" stroke="blue" stroke-width="10"/>\n      <line x1="337.5" y1="137" x2="412.5" y2="50" fill="none" stroke="fuchsia" stroke-width="12.5"/>\n    </g>\n    <g id="middle-figure" stroke="black" stroke-width="1">\n      <line x1="170" y1="200" x2="220" y2="200"/>\n      <line x1="220" y1="200" x2="220" y2="250"/>\n      <line x1="220" y1="250" x2="270" y2="250"/>\n      <line x1="270" y1="250" x2="270" y2="200"/>\n      <line x1="270" y1="200" x2="320" y2="200"/>\n    </g>\n    <g id="lower-left-figure" stroke="blue" stroke-width="10">\n      <line x1="25" y1="200" x2="75" y2="200"/>\n      <line x1="75" y1="200" x2="75" y2="250"/>\n      <line x1="75" y1="250" x2="125" y2="250"/>\n      <line x1="125" y1="250" x2="125" y2="200"/>\n      <line x1="125" y1="200" x2="175" y2="200"/>\n    </g>\n    <g id="lower-right-figure" stroke-width="10">\n      <line x1="370" y1="250" x2="420" y2="250" stroke="black"/>\n      <line x1="420" y1="200" x2="470" y2="200" stroke="fuchsia"/>\n      <line x1="320" y1="200" x2="370" y2="200" stroke="blue"/>\n      <line x1="370" y1="200" x2="370" y2="250" stroke="green"/>\n      <line x1="420" y1="250" x2="420" y2="200" stroke="orange"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-line-02-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: shapes-line-02-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#LineElement">\n      <p>\n        The \'fill\' attribute has no effect on the \'line\' element.\n      </p>\n    </d:testDescription>    \n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-line-02-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <line x1="100" y1="100" x2="300" y2="100" stroke-width="10" stroke="black" fill="red" />\n    <line x1="100" y1="100" x2="300" y2="100" stroke-width="10" stroke="black" fill="red" transform="rotate(15)"/>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'shapes-polygon-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kelvin R" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: shapes-polygon-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#PolygonElement">\n      <p>\n        This test draws six different polygons excercising portions of the path attribute.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The six polygons drawn should match the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-polygon-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- Test case label. -->\n    <!-- ====================================================================== -->\n    <!-- First two polygons, convex and "regular".                              -->\n    <!-- ====================================================================== -->\n    <!-- Open, convex, "regular". -->\n    <polygon id="polygon-01" fill="none" stroke="#000000" points="59,45,95,63,108,105,82,139,39,140,11,107,19,65"/>\n    <!-- Closed, convex, "regular". -->\n    <polygon id="polygon-02" fill="blue" points="179,45,218,63,228,105,202,139,159,140,131,107,139,65,179,45"/>\n    <!-- ====================================================================== -->\n    <!-- Third polygon, concave and irregular.                                  -->\n    <!-- ====================================================================== -->\n    <!-- Closed, convex, "irregular". -->\n    <polygon id="polygon-03" fill="blue" stroke="black" stroke-width="6" points="350,45 375,80 410,95 375,110 350,145 325,120 290,95 325,70,350,45"/>\n    <!-- ====================================================================== -->\n    <!-- Fourth and fifth polygons.                                             -->\n    <!-- ====================================================================== -->\n    <!-- Closed, convex, "regular". -->\n    <polygon id="polygon-05" fill="none" stroke="#0000FF" stroke-width="8" points="59,185,98,203,108,245,82,279,39,280,11,247,19,205,59,185"/>\n    <!-- Open, convex, "regular". -->\n    <polygon id="polygon-06" fill="#00FF00" stroke="#0000FF" stroke-width="8" points="179,185,218,203,228,245,202,279,159,280,131,247,139,205"/>\n    <!-- ====================================================================== -->\n    <!-- Sixth polygons, irregular with both concave and convex angles.         -->\n    <!-- ====================================================================== -->\n    <polygon id="polygon-07" fill="none" stroke="#00FF00" stroke-width="8" points="270,225 300,245 320,225 340,245 280,280                   390,280 420,240 280,185"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-polygon-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="CL" status="accepted"\n    version="$Revision: 1.2 $" testname="$RCSfile: shapes-polygon-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#PolygonElement">\n        <p>\nChecks that polygons and the equivalent paths are indeed equivalent.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nThe test is passed if each shape seems to have a double stroke, dark green and light green.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-polygon-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n \n    <g stroke="#070" stroke-width="8">    \n    <polygon id="polygon-01" fill="none"\n        points="59,45,95,63,108,105,82,139,39,140,11,107,19,65"/>\n    <polygon id="polygon-02" fill="#592" \n        points="179,45,218,63,228,105,202,139,159,140,131,107,139,65,179,45"/>\n    <polygon id="polygon-03" fill="#3D8" \n        points="350,45 375,80 410,95 375,110 350,145 325,120 290,95 325,70,350,45"/>\n    <polygon id="polygon-05" fill="none"  \n        points="59,185,98,203,108,245,82,279,39,280,11,247,19,205,59,185"/>\n    <polygon id="polygon-06" fill="#5F9"    \n        points="179,185,218,203,228,245,202,279,159,280,131,247,139,205"/>\n    <polygon id="polygon-07" fill="none" \n       points="270,225 300,245 320,225 340,245 280,280                   \n       390,280 420,240 280,185"/>\n    </g>\n    <!-- now the equivalent paths-->\n    <g stroke="#3C6" stroke-width="3" fill="none">\n        <path d="M59,45 L95,63,108,105,82,139,39,140,11,107,19,65z"/>\n        <path d="M179,45 L218,63,228,105,202,139,159,140,131,107,139,65,179,45z"/>\n        <path d="M350,45 L375,80 410,95 375,110 350,145 325,120 290,95 325,70,350,45z"/>\n        <path d="M59,185 L98,203,108,245,82,279,39,280,11,247,19,205,59,185z"/>\n        <path d="M179,185 L218,203,228,245,202,279,159,280,131,247,139,205z"/>\n        <path d="M270,225 L300,245 320,225 340,245 280,280                   \n       390,280 420,240 280,185z"/>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n<!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n-->\n</svg>\n'},
  {name: 'shapes-polygon-03-t.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="ED" author="Microsoft" status="accepted" version="$Revision: 1.1 $" testname="$RCSfile: shapes-polygon-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#PolygonElement">\n      <p>\n        Test that \'polyline\' and \'polygon\' elements with an odd number of coordinates render up to the invalid coordinate.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if four green triangles are visible on the page, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-polygon-03-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <polyline fill="red" points="80,200 80,300 150,250 80,200 250" />\n    <polyline fill="lime" points="80,200 80,300 150,250 80,200" />\n    <polyline fill="red" points="180,200 180,300 250,250 180,200" />\n    <polyline fill="lime" points="180,200 180,300 250,250 180,200 250" />\n    <polygon fill="red" points="80,60 80,160 150,110 80" />\n    <polygon fill="lime" points="80,60 80,160 150,110" />\n    <polygon fill="red" points="180,60 180,160 250,110" />\n    <polygon fill="lime" points="180,60 180,160 250,110 180" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.1 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-polyline-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author=" Lofton" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: shapes-polyline-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#PolylineElement">\n        <p>\nTests the polyline element.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if polylines are displayed whose position, size, fill and stroke  matches the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-polyline-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- Test case label. -->\n    <!-- ====================================================================== -->\n    <!-- First two polylines.                                                   -->\n    <!-- ====================================================================== -->\n    <!-- Open sawtooth line. -->\n    <polyline id="polyline-01" fill="none" stroke="#000000" points="10,50,35,150,60,50,85,150,110,50,135,150"/>\n    <!-- text font-family="Arial" font-size="12"  x="52" y="40">stroked</text-->\n    <!-- Closed pentagon shaped polyline (5 segments). -->\n    <polyline id="polyline-02" fill="none" stroke="blue" stroke-width="8" points="220,50,267,84,249,140,190,140,172,84,220,50"/>\n    <!--text font-family="Arial" font-size="12"  x="202" y="40">stroked</text-->\n    <!-- ====================================================================== -->\n    <!-- Third polyline.                                                        -->\n    <!-- ====================================================================== -->\n    <!-- The sawtooth again, polylines can be filled. -->\n    <polyline id="polyline-03" fill="blue" stroke="#00FF00" stroke-width="4" points="310,50,335,150,360,50,385,150,410,50,435,150"/>\n    <!--text font-family="Arial" font-size="12"  x="340" y="40">filled &amp; stroked</text-->\n    <!-- ====================================================================== -->\n    <!-- Fourth and fifth polylines.                                             -->\n    <!-- ====================================================================== -->\n    <!-- An unclosed "septagon" shaped polyline (7th segment omitted). -->\n    <polyline id="polyline-04" fill="none" stroke="green" stroke-width="8" points="59,185,98,203,108,245,82,279,39,280,11,247,19,205"/>\n    <!--text font-family="Arial" font-size="12"  x="36" y="175">stroked</text-->\n    <!-- Same shape, filled, shows difference with \'polygon\'. -->\n    <polyline id="polyline-05" fill="#00FF00" stroke="#0000FF" stroke-width="8" points="189,185,228,203,238,245,212,279,169,280,141,247,149,205"/>\n    <!--text font-family="Arial" font-size="12"  x="148" y="175">filled &amp; stroked</text-->\n    <!-- ====================================================================== -->\n    <!-- Sixth polylines, irregular with both concave and convex angles.         -->\n    <!-- ====================================================================== -->\n    <polyline id="polyline-06" fill="#FF00FF" stroke="none" stroke-width="8" points="270,225 300,245 320,225 340,245 280,280                   390,280 420,240 280,185"/>\n    <!--text font-family="Arial" font-size="12"  x="330" y="175">filled</text-->\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-polyline-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author=" CL" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: shapes-polyline-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#PolylineElement">\n        <p>\nChecks that polylines and the equivalent paths are indeed equivalent.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nThe test is passed if each shape seems to have a double stroke, dark green and light green.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-polyline-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g stroke="#070" stroke-width="8">    \n    <!-- Open sawtooth line. -->\n    <polyline id="polyline-01" fill="none"   points="10,50,35,150,60,50,85,150,110,50,135,150"/>\n    <!-- Closed pentagon shaped polyline (5 segments). -->\n    <polyline id="polyline-02" fill="none"  points="220,50,267,84,249,140,190,140,172,84,220,50"/>\n    <!-- The sawtooth again, polylines can be filled. -->\n    <polyline id="polyline-03" fill="#396"  points="310,50,335,150,360,50,385,150,410,50,435,150"/>\n    <!-- An unclosed "septagon" shaped polyline (7th segment omitted). -->\n    <polyline id="polyline-04" fill="none"  points="59,185,98,203,108,245,82,279,39,280,11,247,19,205"/>\n    <!-- Same shape, filled, shows difference with \'polygon\'. -->\n    <polyline id="polyline-05" fill="#396"  points="189,185,228,203,238,245,212,279,169,280,141,247,149,205"/>\n    <polyline id="polyline-06" fill="#396" \n    points="270,225 300,245 320,225 340,245 280,280                   \n    390,280 420,240 280,185"/>\n    </g>\n    \n    <!-- now the equivalent paths-->\n    <g stroke="#3C6" stroke-width="3" fill="none">\n      <path d="M10,50 L35,150,60,50,85,150,110,50,135,150"/>\n      <path d="M220,50 L267,84,249,140,190,140,172,84,220,50"/>\n      <path d="M310,50 L335,150,360,50,385,150,410,50,435,150"/>\n      <path d="M59,185 L98,203,108,245,82,279,39,280,11,247,19,205"/>\n      <path d="M189,185 L228,203,238,245,212,279,169,280,141,247,149,205"/>\n      <path d="M270,225 L300,245 320,225 340,245 280,280                   \n        390,280 420,240 280,185"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n<!--\n<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n-->\n</svg>\n'},
  {name: 'shapes-rect-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Kelvin R" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: shapes-rect-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#RectElement">\n        <p>\n          This is a simple test of the rect element.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test passes if all four sets of two rectangles are drawn and\n        they match the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-rect-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- ====================================================================== -->\n    <!-- First of all draw two simple rectangles. One stroked , one filled.     -->\n    <!-- ====================================================================== -->\n    <rect id="Simple-rect-no-fill" fill="none" stroke="#000000" x="30" y="46" width="50" height="80"/>\n    <rect id="Simple-rect-filled" fill="fuchsia" x="130" y="46" width="50" height="80"/>\n    <!-- ====================================================================== -->\n    <!-- Second set of rectangles this time with rounded corners.               -->\n    <!-- ====================================================================== -->\n    <rect id="Simple-round-rect-no-fill" fill="none" stroke="#000000" x="250" y="46" width="50" height="80" rx="30"/>\n    <rect id="Simple-round-rect-filled" fill="fuchsia" x="350" y="46" width="50" height="80" rx="30"/>\n    <!-- ====================================================================== -->\n    <!-- Third set of rectangles.                                               -->\n    <!-- ====================================================================== -->\n    <rect id="rect-03" fill="none" stroke="#0000FF" stroke-width="8" x="30" y="196" width="50" height="80"/>\n    <rect id="rect-04" fill="#00FF00" stroke="#0000FF" stroke-width="8" x="130" y="196" width="50" height="80"/>\n    <!-- ====================================================================== -->\n    <!-- Fourth set of rectangles.                                              -->\n    <!-- ====================================================================== -->\n    <rect id="rect-05" fill="none" stroke="#0000FF" stroke-width="8" x="250" y="196" width="50" height="80" rx="30" ry="50"/>\n    <rect id="rect-06" fill="#00FF00" x="350" y="196" width="50" height="80" rx="30" ry="50"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-rect-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="DJ" author="CN" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: shapes-rect-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#RectElement">\n        <p>\n          Test x, y, width, height, rx and ry default/lacuna values on a rect element.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        There should be four green rectangles visible, two of them should have rounded corners.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-rect-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g fill="green" stroke="#000000">\n      <!-- Set x coordinate to default. -->\n      <rect y="46" width="50" height="80"/>\n\n      <!-- Set y coordinate to default. -->\n      <rect x="130" width="50" height="80"/>\n\n      <!-- Set width to default. -->\n      <rect x="250" y="46" height="80" width="0"/>\n\n      <!-- Set height to default. -->\n      <rect x="350" y="46" height="0" width="50"/>\n\n      <!-- Set rx to default. -->\n      <rect x="30" y="196" width="50" height="80" ry="20"/>\n\n      <!-- Set ry to default. -->\n      <rect x="130" y="196" width="50" height="80" rx="20"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-rect-03-t.svg', svg: '<svg id="svg-root" width="100%" height="100%" \n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" \n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CM" author="ED" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: shapes-rect-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#RectElement">\n      <p>\n        Tests rx and ry clamping and aliasing.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if:\n      </p>\n      <ul>\n        <li>There is no red visible</li>\n        <li>There is no green outside the black borders of each rectangle</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-rect-03-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    \n    <g transform="translate(0, 30)">\n      <g fill="red">\n        <g id="references">\n          <rect x="100" width="20" height="100" rx="50" ry="20"/>\n          <rect x="130" width="20" height="100" rx="10" ry="20"/>\n          <rect x="160" width="20" height="100" rx="10" ry="20"/>\n          \n          <rect x="190" width="20" height="100" rx="10" ry="50"/>\n          <rect x="220" width="20" height="100" rx="10" ry="20"/>\n          <rect x="250" width="20" height="100" rx="10" ry="10"/>\n          \n          <rect x="280" width="20" height="100" rx="5" ry="5"/>\n          <rect x="310" width="20" height="100" rx="0" ry="0"/>\n          <rect x="340" width="20" height="100" rx="0" ry="0"/>    \n    \n          <g transform="translate(45,0)">\n            <rect x="10" y="120" width="100" height="20" rx="50" ry="10"/>\n            <rect x="10" y="150" width="100" height="20" rx="15" ry="10"/>\n            <rect x="10" y="180" width="100" height="20" rx="10" ry="10"/>\n            \n            <rect x="130" y="120" width="100" height="20" rx="50" ry="10"/>\n            <rect x="130" y="150" width="100" height="20" rx="20" ry="10"/>\n            <rect x="130" y="180" width="100" height="20" rx="10" ry="10"/>\n            \n            <rect x="250" y="120" width="100" height="20" rx="5" ry="5"/>\n            <rect x="250" y="150" width="100" height="20" rx="0" ry="0"/>\n            <rect x="250" y="180" width="100" height="20" rx="0" ry="0"/>\n          </g>\n    \n          <g transform="translate(100,100)">\n            <rect x="10" y="120" width="50" height="20" rx="25" ry="10"/>\n            <rect x="80" y="120" width="20" height="50" rx="10" ry="25"/>\n            \n            <rect x="120" y="120" width="50" height="20" rx="25" ry="10"/>\n            \n            <rect stroke-width="0.5" width="20" height="30" rx="10" ry="15" transform="translate(-10 -15) scale(2) translate(10 15) translate(85 52.5)"/>\n            <rect x="230" y="120" width="20" height="30" rx="10" ry="25"/>\n          </g>\n        </g>\n      </g>    \n      <g id="tests" fill="lime">\n        <rect x="100" width="20" height="100" rx="50" ry="20"/>\n        <rect x="130" width="20" height="100" rx="15" ry="20"/>\n        <rect x="160" width="20" height="100" rx="10" ry="20"/>\n        \n        <rect x="190" width="20" height="100" rx="80"/>\n        <rect x="220" width="20" height="100" rx="20"/>\n        <rect x="250" width="20" height="100" rx="10"/>\n        \n        <rect x="280" width="20" height="100" rx="5"/>\n        <rect x="310" width="20" height="100" rx="0"/>\n        <rect x="340" width="20" height="100" rx="0" ry="0"/>\n        \n        <g transform="translate(45,0)">\n          <rect x="10" y="120" width="100" height="20" rx="50" ry="20"/>\n          <rect x="10" y="150" width="100" height="20" rx="15" ry="20"/>\n          <rect x="10" y="180" width="100" height="20" rx="10" ry="20"/>\n          \n          <rect x="130" y="120" width="100" height="20" ry="50"/>\n          <rect x="130" y="150" width="100" height="20" ry="20"/>\n          <rect x="130" y="180" width="100" height="20" ry="10"/>\n          \n          <rect x="250" y="120" width="100" height="20" ry="5"/>\n          <rect x="250" y="150" width="100" height="20" ry="0"/>\n          <rect x="250" y="180" width="100" height="20" rx="0" ry="0"/>\n        </g>\n        \n        <g transform="translate(100,100)">\n          <rect x="10" y="120" width="50" height="20" rx="50"/>\n          <rect x="80" y="120" width="20" height="50" ry="50"/>\n          \n          <rect x="120" y="120" width="50" height="20" rx="200" ry="200"/>\n          \n          <rect width="20" height="30" rx="50" transform="translate(-10 -15) scale(2) translate(10 15) translate(85 52.5)"/>\n          <rect x="230" y="120" width="20" height="30" ry="50"/>\n        </g>\n      </g>\n      \n      <use xlink:href="#references" fill="none" stroke="black"/>\n      \n    </g>    \n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n  <text id="revision" x="10" y="340" stroke="none" \n    fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect xml:id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" \n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'shapes-rect-04-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: shapes-rect-04-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#RectElement">\n      <p>\n        \'Rect\' elements with unspecified \'rx\' and \'ry\' attributes will use the specified \'rx\' and \'ry\' value if the other one is specified; if neither is specified, the \'rect\' has square edges. \n      </p>\n      <p>\n        Creates one \'rect\' element with an unspecified \'ry\'. Places it over a red \'rect\' element with both \'rx\' and \'ry\' specified.  Repeat with unspecified \'rx\'. Finally creates a \'rect\' element that has neither \'rx\' or\n        \'ry\' specified.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if the two shapes on top are rounded rectangles, the shape below has square corners, and no red is visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-rect-04-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <rect x="25" y="25" width="200" height="100" rx="50" ry="50" fill="red" />\n    <rect x="25" y="25" width="200" height="100" rx="50" fill="black" />\n\n    <rect x="275" y="25" width="200" height="100" rx="50" ry="50" fill="red" />\n    <rect x="275" y="25" width="200" height="100" ry="50" fill="black" />\n\n    <rect x="150" y="135" width="200" height="100" fill="black" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'shapes-rect-05-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: shapes-rect-05-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#RectElement">\n      <p>\n        The \'rect\' element defines a rect which is axis-aligned with the default user coordinate system when it is not the initial user coordinate system.\n      </p>\n      <p>\n        Draws a \'rect\' element originating at (0,0) of the current user coordinate system, which has been altered via \'transform\' from the\n        initial user coordinate system. Draws perpendicular lines which also originate at (0,0) and advance along the x and y axes of the\n        current user coordinate system. Verifies that the lines overlap the top and left edges of the rectangle and that the rectangle is\n        thus axis-aligned with its current user coordinate system.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if the top and left of the rectangle is black while the right and bottom are orange, and the right half of the diamond is orange and the left half is black.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-rect-05-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g transform="translate(100,100)">\n        <rect x="0" y="0" width="75" height="100" fill="none" stroke="orange" stroke-width="10" />\n        <line x1="0" y1="0" x2="75" y2="0" stroke-width="10" stroke="black" stroke-linecap="square" />\n        <line x1="0" y1="0" x2="0" y2="100" stroke-width="10" stroke="black" stroke-linecap="square" />\n    </g>\n\n    <g transform="translate(100,100) rotate(-30) skewX(20)">\n        <rect x="100" y="100" width="100" height="100" fill="none" stroke="orange" stroke-width="5" />\n        <line x1="100" y1="100" x2="100" y2="200" stroke-width="5" stroke="black" stroke-linecap="square" />\n        <line x1="100" y1="100" x2="200" y2="100" stroke-width="5" stroke="black" stroke-linecap="square" />\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>'},
  {name: 'shapes-rect-06-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: shapes-rect-06-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#RectElement">\n      <p>\n        When \'rect\' attributes \'rx\' and \'ry\' have a value greater than half of the width/height of the rectangle, they are treated as half the width/height of the rectangle.\n      </p>\n      <p>\n        The test creates one \'rect\' element with \'rx\' greater than 1/2 the \'rect\' width. Underneath that element, it creates a red \'rect\' element with\n        \'rx\' set to 1/2 the width.  Repeats with \'ry\' attribute.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-rect-06-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <rect x="25" y="50" width="200" height="100" rx="100" ry="50" fill="red" />\n    <rect x="25" y="50" width="200" height="100" rx="150" ry="50" fill="black" />\n    <rect x="25" y="200" width="200" height="100" rx="150" ry="50" fill="red" />\n    <rect x="25" y="200" width="200" height="100" rx="100" ry="50" fill="black" />\n\n    <rect x="275" y="50" width="200" height="100" ry="50" rx="100" fill="red" />\n    <rect x="275" y="50" width="200" height="100" ry="75" rx="100" fill="black" />\n    <rect x="275" y="200" width="200" height="100" ry="75" rx="100" fill="red" />\n    <rect x="275" y="200" width="200" height="100" ry="50" rx="100" fill="black" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>'},
  {name: 'shapes-rect-07-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.2 $" testname="$RCSfile: shapes-rect-07-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/shapes.html#RectElement">\n      <p>\n        Checks that unspecified \'ry\' and \'rx\' attributes are copied from each other before their values are clamped.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is no red visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: shapes-rect-07-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <rect x="25" y="50" width="200" height="100" rx="100" fill="red" />\n    <rect x="25" y="50" width="200" height="100" rx="100" ry="50" fill="black" />\n    <rect x="25" y="200" width="200" height="100" rx="100" ry="50" fill="red" />\n    <rect x="25" y="200" width="200" height="100" rx="100" fill="black" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>'},
  {name: 'struct-defs-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Tim Thompson" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: struct-defs-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#Head">\n        <p>\n          Test to verify that the defs element is used as a container correctly.\n        </p>\n        <p>\n          In this test a fill is created which is solid green. The view should be a solid green rectangle\n          centered in the viewport 100 pixels from from left,top and right,bottom.  Also, in the\n          defs sections there are rectangle defined, one to paint over the entire canvas with\n          a red fill and the other to obscure most of the green rectangle.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n        The rendered picture should match the reference image, except for possible\n        variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        A green rectangle should be visible, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-defs-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs id="references">\n      <rect id="rect11" x="0" y="0" width="480" height="360" color="#F00"/>\n    </defs>\n    <rect x="140" y="80" width="200" height="200" fill="#0F0"/>\n    <defs>\n      <rect x="160" y="100" width="160" height="160" fill="#F00"/>\n    </defs>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-frag-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Tim Thompson" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-frag-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#NewDocument">\n        <p>\n         This is an empty SVG document.  \n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Nothing should be rendered by the User Agent.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-frag-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n  </g>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-frag-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" preserveAspectRatio="none" id="svg-root"\n  width="100%" height="100%" viewBox="100 100 100 100"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="VH" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-frag-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#NewDocument">\n        <p>\n          This test validates the use of the preserveAspectRatio attribute on the\n          root svg element in an SVG Tiny document. In this document, preserveAspectRatio\n          is set to none and the width and height of the document set to 100%.\n        </p>\n        <p>\n          The document\'s viewBox is defined to be 100 by 100 with an origin\n          in (100, 100). The content is made of 2 red squares and 2\n          orange circles.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Because preserveAspectRatio is set to \'none\', the content should\n        appear distorted (if the aspect ratio is not 1): squares show as rectangles and circles show as\n        ellipses.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-frag-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <rect x="100" y="100" width="50" height="50" fill="rgb(220, 20, 60)"/>\n    <rect x="150" y="150" width="50" height="50" fill="rgb(220, 20, 60)"/>\n\n    <circle cx="125" cy="175" r="25" fill="rgb(255, 215, 0)"/>\n    <circle cx="175" cy="125" r="25" fill="rgb(255, 215, 0)"/>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="100" y="100" width="100" height="100" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-frag-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" preserveAspectRatio="xMidYMid meet" id="svg-root"\n  width="100%" height="100%" viewBox="100 100 100 100"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="VH" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-frag-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#NewDocument">\n        <p>\n          This test validates the use of the preserveAspectRatio attribute on the\n          root svg element in an SVG Tiny document. In this document, preserveAspectRatio\n          is set to \'xMidYMid meet\' and the width and height of the document set to 100%.\n        </p>\n        <p>\n          The document\'s viewBox is defined to be 100 by 100 with an origin\n          in (100, 100). The content is made of 2 red squares and 2\n          orange circles.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>      \n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Because preserveAspectRatio is set to \'xMidYMid meet\', the content should\n        appear centered within the viewport: squares show as squares (and not\n        rectangles) and circles show as circles (and not ellipses).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-frag-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <rect x="100" y="100" width="50" height="50" fill="rgb(220, 20, 60)"/>\n    <rect x="150" y="150" width="50" height="50" fill="rgb(220, 20, 60)"/>\n\n    <circle cx="125" cy="175" r="25" fill="rgb(255, 215, 0)"/>\n    <circle cx="175" cy="125" r="25" fill="rgb(255, 215, 0)"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="100" y="100" width="100" height="100" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-frag-04-t.svg', svg: '<svg version="1.1" baseProfile="tiny" preserveAspectRatio="xMidYMid meet" id="svg-root"\n  width="100%" height="100%" x="1000" y="1000" \n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="VH" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-frag-04-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#NewDocument">\n        <p>\n          This test validates the operation of the svg element when there is no\n          viewbox. \n        </p>\n        <p>\n          The document has x/y attributes set to (1000, 1000). Because \n          x/y are ignored on the root svg element, the x/y origin should have no \n          effect on the drawing.\n        </p>\n        <p>\n          The document contains squares and circles between the\n          (100,100) and (200, 200) coordinates. \n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n        <p>Run the test. No interaction required. If the test is run outside of the harness, the operator may resize the viewport.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n        <p>The rendered picture should match the reference image. Changing the viewport\n          size should have no effect on the placement or scale of the document\'s content.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-frag-04-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <rect x="100" y="100" width="50" height="50" fill="rgb(220, 20, 60)"/>\n    <rect x="150" y="150" width="50" height="50" fill="rgb(220, 20, 60)"/>\n\n    <circle cx="125" cy="175" r="25" fill="rgb(255, 215, 0)"/>\n    <circle cx="175" cy="125" r="25" fill="rgb(255, 215, 0)"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-frag-06-t.svg', svg: '<svg version="1.1" baseProfile="tiny" zoomAndPan="magnify" preserveAspectRatio="xMidYMid meet" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="VH" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-frag-06-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#NewDocument">\n      <p>\n        This test adds testing of some basic XML features SVG User Agents\n        should support.\n      </p>\n      <p>\n        First, the test checks support for the default entities amp, lt, gt, apos\n        and quot. This is what the first line shows in gray.\n      </p>\n      <p>\n        Second, the test checks support for hexadecimal and decimal character\n        entities, as shown in the second line, again in gray\n      </p>\n      <p>\n        Finally, the last line shows usage of an entity defined in the\n        document\'s internal DTD subset. The same geometry (a path) is\n        reused twice, once filled in gray and ones stroked in gray.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if the following conditions are met:</p>\n      <ul>\n        <li>The text string <span style="background: #ffa; border: 1px solid gray; padding: 0 2px">&amp;, &lt;, &gt;, \', "</span> is shown in gray.</li>\n        <li>The text string <span style="background: #ffa; border: 1px solid gray; padding: 0 2px">A hexadecimal (&amp;#x41)= A</span> is shown in gray.</li>\n        <li>The text string <span style="background: #ffa; border: 1px solid gray; padding: 0 2px">A decimal (&amp;#65)= A</span> is shown in gray.</li>\n        <li>Two octagons are shown: one gray filled, and one gray stroked &amp; unfilled.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-frag-06-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="30" y="30">Default entities: amp, lt, gt, apos, quot: </text>\n    <text x="90" y="60" fill="gray">&amp;, &lt;, &gt;, \', "</text>\n    <text x="30" y="100">Character references:</text>\n    <text x="90" y="130" fill="gray">    A hexadecimal (&amp;#x41)= A</text>\n    <text x="90" y="160" fill="gray">    A decimal      (&amp;#65)= A</text>\n    <text x="30" y="200">Entity references:</text>\n    <text x="105" y="228" text-anchor="middle">gray</text>\n    <g transform="translate(90, 235) scale(0.2)" fill="gray">\n      <path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/>\n    </g>\n    <text x="205" y="228" text-anchor="middle">outlined</text>\n    <g transform="translate(190, 235) scale(0.2)" fill="none" stroke="gray" stroke-width="5">\n      <path d="M60,0 l60,0 l60,60 l0,60 l-60,60 l-60,0 l-60,-60 l0,-60 z"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-group-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Tim Thompson" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-group-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#Groups">\n      <p>\n        The test checks to see that graphics elements (g) can be nested and that the like attributes can be passed to the children.\n        All the g elements for this test are in the g element whose id=allGs.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">      \n      <p>\n        The test uses the \'rect\' element, as well as basic fill (solid primary colors),\n        stroke (black 1-pixel lines), font-family and font-size properties.\n      </p>\n      <p>\n        The two blue rectangles and the yellow are in the g labeled rects.\n        The blue rectangles inherit a fill color the green rect has a fill specified and it should not be overwritten.\n        The two yellow rectangles should inherit the fill color and the transform attribute, they should be\n        yellow and rotated at -20 degrees. These two rectangles are in g "yellowNrotate", that g is nested\n        inside g "gratuitiousG".  The black rectangle in the upper right, has no attributes inherited from its parent.\n        The focus is nesting of g elements and passing on of attributes.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image, except for possible\n        variations in the labelling text (per CSS2 rules).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-group-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="rects" fill="blue">\n      <rect x="0" y="0" width="240" height="180"/>\n      <rect x="60" y="45" width="120" height="90" fill="green"/>\n      <rect x="240" y="180" width="240" height="180"/>\n    </g>\n    <g id="singleG">\n      <rect x="240" y="0" width="240" height="180" fill="black"/>\n    </g>\n    <g id="gratuitiousG">\n      <g id="yellowNrotate" fill="yellow" transform="rotate(-20)">\n        <rect x="0" y="224" width="40" height="40"/>\n        <rect x="0" y="280" width="40" height="40"/>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-group-02-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Tim Thompson" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: struct-group-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#Groups">\n        <p>\n          The purpose of this test is to check the nesting of SVG elements.\n        </p>\n        <p>\n         The test uses the \'rect\' element, as well as basic fill (solid primary colors),\n         stroke (black 1-pixel lines), font-family and font-size properties.\n        </p>\n        <p>\n          There are 4 svg elements in the test.\n          The first defines the outer square at 480x360.\n          The second whose id is lowerRight defines a green rectangle which is 1/4 of the outer svg element.\n          The third svg whose id is upperLeft defines a region that is the upper 1/4 of the outer svg,\n          it is filled with a blue rectangle.  It has a child svg element that defines an area\n          half again the size of its parent but sharing the same center point, it is filled with a yellow rectangle.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if:\n      </p>\n      <ul>\n        <li>There is a green rectangle covering 1/4 of the testframe area positioned in the lower right corner.</li>\n        <li>There is a blue rectangle covering 1/4 of the testframe area positioned in the upper left corner.</li>\n        <li>There is a yellow rectangle centered inside the blue rectangle, covering half of the area of the blue rectangle.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-group-02-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <svg xmlns:xlink="http://www.w3.org/1999/xlink" id="lowerRight" x="240" y="180" width="240" height="180">\n      <rect x="0" y="0" width="240" height="180" fill="lime"/>\n    </svg>\n    <svg xmlns:xlink="http://www.w3.org/1999/xlink" id="upperRight" x="0" y="0" width="240" height="180">\n      <rect fill="blue" x="0" y="0" width="240" height="180"/>\n      <svg xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" baseProfile="basic" id="childArea" x="60" y="45" width="120" height="90">\n        <rect fill="yellow" x="0" y="0" width="120" height="90"/>\n      </svg>\n    </svg>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-group-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="VH" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-group-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#Groups">\n        <p>\n          This test validates that properties are inherited (or not, depending on\n          their defintion), from a group to its children.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        [[\n        Describe how to use the here. The instructions should specify any\n        steps requied to run the test or any manual operation that need\n        to be performed to run the test.\n        ]]\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The two rows displayed in this test should be identical. In the top row,\n        each property is set to the value \'inherit\'. In the bottom row, which is\n        the reference, each property is set to the value that should be inherited\n        in the top row.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-group-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g id="grid" transform="translate(70, 150) rotate(-90)" fill="none" stroke="black">\n      <defs>\n        <rect id="propertyCell" x="-5" y="-14" width="110" height="22"/>\n        <rect id="sampleCell" x="-5" y="-14" width="50" height="22"/>\n      </defs>\n\n      <use xlink:href="#propertyCell"/>\n      <use xlink:href="#propertyCell" y="22"/>\n      <use xlink:href="#propertyCell" y="44"/>\n      <use xlink:href="#propertyCell" y="66"/>\n      <use xlink:href="#propertyCell" y="88"/>\n      <use xlink:href="#propertyCell" y="110"/>\n      <use xlink:href="#propertyCell" y="132"/>\n      <use xlink:href="#propertyCell" y="154"/>\n      <use xlink:href="#propertyCell" y="176"/>\n      <use xlink:href="#propertyCell" y="198"/>\n      <use xlink:href="#propertyCell" y="220"/>\n      <use xlink:href="#propertyCell" y="242"/>\n      <use xlink:href="#propertyCell" y="264"/>\n      <use xlink:href="#propertyCell" y="286"/>\n      <use xlink:href="#propertyCell" y="308"/>\n      <use xlink:href="#propertyCell" y="330"/>\n      <use xlink:href="#propertyCell" y="352"/>\n\n      <g transform="translate(-50, 0)">\n        <use xlink:href="#sampleCell"/>\n        <use xlink:href="#sampleCell" y="22"/>\n        <use xlink:href="#sampleCell" y="44"/>\n        <use xlink:href="#sampleCell" y="66"/>\n        <use xlink:href="#sampleCell" y="88"/>\n        <use xlink:href="#sampleCell" y="110"/>\n        <use xlink:href="#sampleCell" y="132"/>\n        <use xlink:href="#sampleCell" y="154"/>\n        <use xlink:href="#sampleCell" y="176"/>\n        <use xlink:href="#sampleCell" y="198"/>\n        <use xlink:href="#sampleCell" y="220"/>\n        <use xlink:href="#sampleCell" y="242"/>\n        <use xlink:href="#sampleCell" y="264"/>\n        <use xlink:href="#sampleCell" y="286"/>\n        <use xlink:href="#sampleCell" y="308"/>\n        <use xlink:href="#sampleCell" y="330"/>\n        <use xlink:href="#sampleCell" y="352"/>\n      </g>\n\n      <g transform="translate(-100, 0)">\n        <use xlink:href="#sampleCell"/>\n        <use xlink:href="#sampleCell" y="22"/>\n        <use xlink:href="#sampleCell" y="44"/>\n        <use xlink:href="#sampleCell" y="66"/>\n        <use xlink:href="#sampleCell" y="88"/>\n        <use xlink:href="#sampleCell" y="110"/>\n        <use xlink:href="#sampleCell" y="132"/>\n        <use xlink:href="#sampleCell" y="154"/>\n        <use xlink:href="#sampleCell" y="176"/>\n        <use xlink:href="#sampleCell" y="198"/>\n        <use xlink:href="#sampleCell" y="220"/>\n        <use xlink:href="#sampleCell" y="242"/>\n        <use xlink:href="#sampleCell" y="264"/>\n        <use xlink:href="#sampleCell" y="286"/>\n        <use xlink:href="#sampleCell" y="308"/>\n        <use xlink:href="#sampleCell" y="330"/>\n        <use xlink:href="#sampleCell" y="352"/>\n      </g>\n    </g>\n    <g id="properties" transform="translate(70, 150) rotate(-90)">\n      <text>color</text>\n      <text y="22">display</text>\n      <text y="44">fill</text>\n      <text y="66">fill-rule</text>\n      <text y="88">stroke</text>\n      <text y="110">stroke-dasharray</text>\n      <text y="132">stroke-dashoffset</text>\n      <text y="154">stroke-linecap</text>\n      <text y="176">stroke-linejoin</text>\n      <text y="198">stroke-miterlimit</text>\n      <text y="220">stroke-width</text>\n      <text y="242">visibility</text>\n      <text y="264">font-family</text>\n      <text y="286">font-size</text>\n      <text y="308">font-style</text>\n      <text y="330">font-weight</text>\n      <text y="352">text-anchor</text>\n    </g>\n\n    <g id="inheritGroup" transform="translate(56, 155)">\n\n      <g color="#0F0">\n        <rect x="3" y="10" width="16" height="32" fill="currentColor"/>\n      </g>\n\n      <g display="none" transform="translate(22, 0)">\n        <rect x="3" y="10" width="16" height="32" display="inherit"/>\n      </g>\n\n      <g fill="#0F0" transform="translate(44, 0)">\n        <rect x="3" y="10" width="16" height="32" fill="inherit"/>\n      </g>\n\n      <g fill-rule="evenodd" transform="translate(66, 0)">\n        <polygon points="10.5,0 21,21 0,7 21,7 0,21" fill-rule="inherit" fill="#0F0" transform="translate(3, 15) scale(0.7)"/>\n      </g>\n\n      <g stroke="#0F0" transform="translate(88, 0)">\n        <rect x="3" y="10" width="16" height="32" stroke="inherit" fill="none"/>\n      </g>\n\n      <g stroke-dasharray="2,2,5,5" transform="translate(110, 0)">\n        <line x1="11" y1="5" x2="11" y2="40" stroke="#0F0" stroke-dasharray="inherit" stroke-width="2"/>\n      </g>\n\n      <g stroke-dashoffset="4" transform="translate(132, 0)">\n        <line x1="11" y1="5" x2="11" y2="40" stroke="#0F0" stroke-dashoffset="inherit" stroke-dasharray="2,2,5,5" stroke-width="2"/>\n      </g>\n\n      <g stroke-linecap="round" transform="translate(154, 0)">\n        <line x1="11" y1="10" x2="11" y2="40" stroke="#0F0" stroke-linecap="inherit" stroke-width="10"/>\n      </g>\n\n      <g stroke-linejoin="round" transform="translate(176, 0)">\n        <polyline points="3,40 11,10 19,40" stroke="#0F0" stroke-linejoin="inherit" stroke-width="5" fill="none"/>\n      </g>\n\n      <g stroke-miterlimit="1" transform="translate(198, 0)">\n        <polyline points="3,40 11,10 19,40" stroke="#0F0" stroke-miterlimit="inherit" stroke-width="5" fill="none"/>\n      </g>\n\n      <g stroke-width="5" transform="translate(220, 0)">\n        <line x1="11" y1="10" x2="11" y2="40" stroke="#0F0" stroke-width="inherit"/>\n      </g>\n\n      <g visibility="hidden" transform="translate(242, 0)">\n        <line x1="11" y1="10" x2="11" y2="40" stroke="#0F0" visibility="inherit"/>\n      </g>\n\n      <g font-family="serif" transform="translate(264, 0)">\n        <text x="11" y="30" font-size="20" text-anchor="middle" font-family="inherit">A</text>\n      </g>\n\n      <g font-size="10" transform="translate(286, 0)">\n        <text x="11" y="30" font-size="inherit" text-anchor="middle" font-family="serif">A</text>\n      </g>\n\n      <g font-style="italic" transform="translate(308, 0)">\n        <text x="11" y="30" font-style="inherit" text-anchor="middle" font-size="20" font-family="serif">A</text>\n      </g>\n\n      <g font-weight="bold" transform="translate(330, 0)">\n        <text x="11" y="30" font-weight="inherit" text-anchor="middle" font-family="serif" font-size="20">A</text>\n      </g>\n\n      <g text-anchor="middle" transform="translate(352, 0)">\n        <text x="11" y="30" text-anchor="inherit" font-family="serif" font-size="20">A</text>\n      </g>\n    </g>\n\n    <g id="referenceGroup" transform="translate(56, 205)">\n\n      <g>\n        <rect x="3" y="10" width="16" height="32" fill="#0F0"/>\n      </g>\n\n      <g transform="translate(22, 0)">\n        <rect x="3" y="10" width="16" height="32" display="none"/>\n      </g>\n\n      <g transform="translate(44, 0)">\n        <rect x="3" y="10" width="16" height="32" fill="#0F0"/>\n      </g>\n\n      <g transform="translate(66, 0)">\n        <polygon points="10.5,0 21,21 0,7 21,7 0,21" fill-rule="evenodd" fill="#0F0" transform="translate(3, 15) scale(0.7)"/>\n      </g>\n\n      <g transform="translate(88, 0)">\n        <rect x="3" y="10" width="16" height="32" stroke="#0F0" fill="none"/>\n      </g>\n\n      <g stroke-dasharray="2,2,5,5" transform="translate(110, 0)">\n        <line x1="11" y1="5" x2="11" y2="40" stroke="#0F0" stroke-dasharray="inherit" stroke-width="2"/>\n      </g>\n\n      <g transform="translate(132, 0)">\n        <line x1="11" y1="5" x2="11" y2="40" stroke="#0F0" stroke-dashoffset="4" stroke-dasharray="2,2,5,5" stroke-width="2"/>\n      </g>\n\n      <g transform="translate(154, 0)">\n        <line x1="11" y1="10" x2="11" y2="40" stroke="#0F0" stroke-linecap="round" stroke-width="10"/>\n      </g>\n\n      <g transform="translate(176, 0)">\n        <polyline points="3,40 11,10 19,40" stroke="#0F0" stroke-linejoin="round" stroke-width="5" fill="none"/>\n      </g>\n\n      <g transform="translate(198, 0)">\n        <polyline points="3,40 11,10 19,40" stroke="#0F0" stroke-miterlimit="1" stroke-width="5" fill="none"/>\n      </g>\n\n      <g transform="translate(220, 0)">\n        <line x1="11" y1="10" x2="11" y2="40" stroke="#0F0" stroke-width="5"/>\n      </g>\n\n      <g transform="translate(242, 0)">\n        <line x1="11" y1="10" x2="11" y2="40" stroke="#0F0" visibility="hidden"/>\n      </g>\n\n      <g transform="translate(264, 0)">\n        <text x="11" y="30" font-size="20" text-anchor="middle" font-family="serif">A</text>\n      </g>\n\n      <g transform="translate(286, 0)">\n        <text x="11" y="30" font-size="10" text-anchor="middle" font-family="serif">A</text>\n      </g>\n\n      <g transform="translate(308, 0)">\n        <text x="11" y="30" font-style="italic" text-anchor="middle" font-size="20" font-family="serif">A</text>\n      </g>\n\n      <g transform="translate(330, 0)">\n        <text x="11" y="30" font-weight="bold" text-anchor="middle" font-family="serif" font-size="20">A</text>\n      </g>\n\n      <g transform="translate(352, 0)">\n        <text x="11" y="30" text-anchor="middle" font-family="serif" font-size="20">A</text>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-svg-03-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="[reviewer]" author="ED" status="created"\n    version="$Revision: 1.1 $" testname="$RCSfile: struct-svg-03-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#ImageElement">\n      <p>\n        Test nested svg elements.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Passed if there are two green rectangles visible, and no red.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-svg-03-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <rect x="0.5" y="0.5" width="99" height="99" fill="red"/>\n    <svg width="100" height="100" viewBox="0 0 50 50">\n      <rect width="50" height="50" fill="lime"/>\n    </svg>\n    \n    <g transform="translate(120 0)">\n      <rect x="0.5" y="0.5" width="99" height="99" fill="red"/>\n      <svg width="100" height="100" viewBox="0 0 50 50">\n        <svg width="50" height="50" viewBox="0 0 200 200">\n          <rect width="200" height="200" fill="lime"/>\n        </svg>\n      </svg>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.1 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'struct-symbol-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Tim Thompson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: struct-symbol-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#SymbolElement">\n      <p>\n        The purpose of the symbol test case is to create some symbols and then\n        have them rendered when instantiated by the use element.\n      </p>\n      <p>\n        This file contains 3 symbol definitions.  Only two are ever rendered.\n        There is a viewport defined to be 0,0,1000,1000 on the svg element.\n        Each symbol has is own viewport of the same dimensions.  The symbols are\n        scaled when they are instantiated by the use element,  The first set\n        of symbols is 4 squares, blue and yellow in color they should appear\n        in the lower right of the view arranged in a checkerboard fashion.\n        The second symbol to be used is an image which should appear in the\n        upper left of the view area.  The symbol that is not used and should\n        not be rendered is a large black rectangle.  If the symbols don\'t\n        appear, there is something askew with the use statement, if they\n        appear but either overlap each other or in some way aren\'t in the\n        correct positions they have not honored either their viewport or\n        were not scaled when placed by the use element in the area defined by\n        it.  If everything is black then perhaps a symbol was rendered that\n        should not have been.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>The test passes if:</p>\n      <ul>\n        <li>An image is shown in the top left corner of the document.</li>\n        <li>A blue and yellow checkerboard pattern is shown in the bottom right corner of the document.</li>\n        <li>The background of the document is not filled with red.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-symbol-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <symbol id="imageRef1" viewBox="0 0 1000 1000" preserveAspectRatio="none">\n      <image id="image1" x="0" y="0" width="1000" height="1000" xlink:href="' + Images['struct-symbol-01.png'] + '"/>\n    </symbol>\n    <symbol id="largeRect">\n      <rect x="0" y="0" width="1000" height="1000" fill="red"/>\n    </symbol>\n    <symbol id="drawRects" viewBox="0 0 1000 1000" preserveAspectRatio="none">\n      <rect x="0" y="0" width="500" height="500" fill="yellow"/>\n      <rect x="500" y="0" width="500" height="500" fill="blue"/>\n      <rect x="0" y="500" width="500" height="500" fill="blue"/>\n      <rect x="500" y="500" width="500" height="500" fill="yellow"/>\n    </symbol>\n    <g id="useNdraw">\n      <use id="upperLeft" x="0" y="0" width="240" height="150" xlink:href="#imageRef1"/>\n      <use id="lowerRight" x="240" y="150" width="240" height="150" xlink:href="#drawRects"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-use-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="VH" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-use-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#UseElement">\n        <p>\n          The purpose of this test is to validate proper handling of\n          the use element. In particular, the test checks the proper inheritance\n          of properties through the shadow tree (rather than through the document\n          tree).\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test should display various elements in different shades of green.\n        If an element is not displayed in green, but in red fill and/or yellow\n        stroke, then it is in error.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-use-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n	    <defs>\n	    	<font-face font-family="FreeSerif" unicode-range="U+0020-U+00FF">\n	      <font-face-src>\n	        <font-face-uri xlink:href="../resources/FreeSerifBoldItalic.svg#FreeSerifBoldItalic"/>\n	      </font-face-src>\n	    </font-face>\n      <g fill="red" stroke="yellow" stroke-width="3">\n        <rect id="usedRect" width="20" height="20"/>\n        <circle id="usedCircle" cx="10" cy="10" r="10"/>\n        <ellipse id="usedEllipse" cx="10" cy="10" rx="10" ry="10"/>\n        <line id="usedLine" x1="0" y1="10" x2="20" y2="10"/>\n        <path id="usedPath" d="M 0 0 L 20 0 L 20 20 L 0 20 Z"/>\n        <polygon id="usedPolygon" points="0,0 20,0 20,20 0,20 0 0"/>\n        <polyline id="usedPolyline" points="0,0 20,0 20,20"/>\n        <g id="usedG">\n          <rect width="10" height="20"/>\n          <rect x="10" width="10" height="20" fill="rgb(0,128,0)"/>\n        </g>\n        <use id="usedUse" xlink:href="#usedRect"/>\n        <image id="usedImage" xlink:href="' + Images['20x20.png'] + '" width="20" height="20"/>\n        <text id="usedText">Text</text>\n      </g>\n    </defs>\n\n\n    <g>\n      <g id="labels" transform="translate(130, 40)" font-size="20" text-anchor="end">\n        <text>&lt;rect&gt;</text>\n        <text y="30">&lt;circle&gt;</text>\n        <text y="60">&lt;ellipse&gt;</text>\n        <text y="90">&lt;line&gt;</text>\n        <text y="120">&lt;polyline&gt;</text>\n        <text y="150">&lt;polygon&gt;</text>\n        <text y="180">&lt;path&gt;</text>\n        <text y="210">&lt;image&gt;</text>\n        <text y="240">&lt;text&gt;</text>\n      </g>\n      <g id="labelsColumn2" transform="translate(310, 40)" font-size="20" text-anchor="end">\n        <text>&lt;g&gt;</text>\n        <text y="30">&lt;use&gt;</text>\n      </g>\n    </g>\n    <g transform="translate(150, 25)">\n      <use xlink:href="#usedRect" fill="#0F0"/>\n      <use y="30" xlink:href="#usedCircle" fill="#0F0"/>\n      <use y="60" xlink:href="#usedEllipse" fill="#0F0"/>\n      <use y="90" xlink:href="#usedLine" stroke="#0F0" stroke-width="2"/>\n      <use y="120" xlink:href="#usedPolyline" stroke="#0F0" stroke-width="2" fill="none"/>\n      <use y="150" xlink:href="#usedPolygon" fill="#0F0"/>\n      <use y="180" xlink:href="#usedPath" fill="#0F0"/>\n      <use y="210" xlink:href="#usedImage" fill="#FF0"/>\n      <use y="260" xlink:href="#usedText" fill="#0F0" font-weight="bold" font-size="25" font-style="italic" font-family="FreeSerif,serif"/>\n      <use x="180" y="0" xlink:href="#usedG" fill="#0F0"/>\n      <use x="180" y="30" xlink:href="#usedUse" fill="#0c0"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-use-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CN" author="VH" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-use-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#UseElement">\n        <p>\n          The purpose of this test is to validate proper handling of\n          the x/y attributes on the use element.\n        </p>\n        <p>\n          The test shows a &lt;use&gt; element displayed on the right.\n          On the left, a group built as described in section\n          5.6 of the SVG 1.1 specification validates that the\n          &lt;use element is properly processed.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if there are two identical diamond shapes visible.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-use-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <rect id="usedRect" width="100" height="100" fill="cyan" stroke="blue" stroke-width="20"/>\n    </defs>\n\n    <text x="120" y="60" text-anchor="middle">Reference</text>\n\n    <text x="360" y="60" text-anchor="middle">&lt;use&gt;</text>\n\n    <!-- This group is constructed as described in section 5.6 of the -->\n    <!-- SVG 1.1 Specification.                                       -->\n    <g id="reference" transform="rotate(45,120,170) translate(70,120)">\n      <rect width="100" height="100" fill="cyan" stroke="blue" stroke-width="20"/>\n    </g>\n\n    <g transform="translate(240, 0)">\n      <use xlink:href="#usedRect" x="70" y="120" transform="rotate(45,120,170)"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'struct-use-09-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CM" author="AN" status="reviewed"\n    version="$Revision: 1.5 $" testname="$RCSfile: struct-use-09-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#UseElement">\n      <p>\n        This tests the use element inside a symbol definition.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        For the test to pass, 5 nested rectangles with different coloured strokes\n        (black, yellow, orange, purple and blue) must be rendered.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-use-09-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <!-- put all of the actual test here -->\n    <defs>\n      <symbol id="rect1" overflow="visible">\n        <rect x="-50" y="-50" width="100" height="100" fill="none" stroke="slateblue" stroke-width="5"/>\n      </symbol>\n      <symbol id="rect2" overflow="visible">\n        <use xlink:href="#rect1"/>\n        <rect x="-60" y="-60" width="120" height="120" fill="none" stroke="purple" stroke-width="5"/>\n      </symbol>\n      <symbol id="rect3" overflow="visible">\n        <use xlink:href="#rect2"/>\n        <rect x="-70" y="-70" width="140" height="140" fill="none" stroke="orange" stroke-width="5"/>\n      </symbol>\n      <symbol id="rect4" overflow="visible">\n        <use xlink:href="#rect3"/>\n        <rect x="-80" y="-80" width="160" height="160" fill="none" stroke="gold" stroke-width="5"/>\n      </symbol>\n      <symbol id="rects" overflow="visible">\n        <use xlink:href="#rect4"/>\n        <rect x="-90" y="-90" width="180" height="180" fill="none" stroke="black" stroke-width="5"/>\n      </symbol>\n    </defs>\n    <use x="240" y="180" xlink:href="#rects"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'struct-use-12-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="Microsoft" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: struct-use-12-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/struct.html#UseElement">\n      <p>\n        Tests that recursive \'use\' instances do not block rendering.\n      </p>\n      <p>\n        Various scenarios that directly and indirectly create circular references via the \'use\' tag. A \'g\' element is used when \n        structural elements are necessary. None of the \'use\' scenarios render anything. \'useLongCycle\' tests a chain of recursive \n        \'use\' instances that eventually cycles back to the first element. In \'useNested\' \'use\' elements are nested, with the child \n        referring to the parent. In \'useNestedGroup\' a \'use\' instance references a parent \'g\' element. In \'useIndirectNestedGroup\' \n        a \'use\' instance indirectly references its own parent \'g\'. In \'useMultipleIndirectNestedGroup\', two \'use\' instances \n        reference their parent \'g\' elements, and additional \'use\' instances refer to these self-referencing \'use\' elements. A green \n        \'rect\' is used to verify that rendering was processed up to that point.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if there is green visible on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: struct-use-12-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <use xlink:href="#useShortCycle2" x="20" y="20" id="useShortCycle1" />\n    <use xlink:href="#useShortCycle1" x="20" y="20" id="useShortCycle2" />\n    <use xlink:href="#useLongCycle40" x="20" y="20" id="useLongCycle1" />\n    <use xlink:href="#useLongCycle1" x="20" y="20" id="useLongCycle2" />\n    <use xlink:href="#useLongCycle2" x="20" y="20" id="useLongCycle3" />\n    <use xlink:href="#useLongCycle3" x="20" y="20" id="useLongCycle4" />\n    <use xlink:href="#useLongCycle4" x="20" y="20" id="useLongCycle5" />\n    <use xlink:href="#useLongCycle5" x="20" y="20" id="useLongCycle6" />\n    <use xlink:href="#useLongCycle6" x="20" y="20" id="useLongCycle7" />\n    <use xlink:href="#useLongCycle7" x="20" y="20" id="useLongCycle8" />\n    <use xlink:href="#useLongCycle8" x="20" y="20" id="useLongCycle9" />\n    <use xlink:href="#useLongCycle9" x="20" y="20" id="useLongCycle10" />\n    <use xlink:href="#useLongCycle10" x="20" y="20" id="useLongCycle11" />\n    <use xlink:href="#useLongCycle1" x="20" y="20" id="useLongCycle12" />\n    <use id="useNested1" xlink:href="#useNested2">\n        <use id="useNested2" xlink:href="#useNested1" />\n    </use>\n    <g id="useNestedGroup1" xlink:href="#useNestedGroup2">\n        <use id="useNestedGroup2" xlink:href="#useNestedGroup1" />\n        </g>\n    <g id="useIndirectNestedGroup1">\n        <use xlink:href="#useIndirectNestedGroupElem2" id="useIndirectNestedGroupElem1" />\n    </g>\n    <use xlink:href="#useIndirectNestedGroup1" id="useIndirectNestedGroupElem2" />\n    <g id="useMultipleIndirectNestedGroup1">\n        <g id="useMultipleIndirectNestedGroup2">\n            <use xlink:href="#useMultipleIndirectNestedGroupElement2" id="useMultipleIndirectNestedGroupElement1" />\n        </g>\n        <use xlink:href="#useMultipleIndirectNestedGroupElement3" id="useMultipleIndirectNestedGroupElement4" />\n    </g>\n    <use xlink:href="#useMultipleIndirectNestedGroup1" id="useMultipleIndirectNestedGroupElement2" />\n    <use xlink:href="#useMultipleIndirectNestedGroup2" id="useMultipleIndirectNestedGroupElement3" />\n    <use xlink:href="#useMultipleIndirectNestedGroupElement1" id="useMultipleIndirectNestedGroupElement4" />\n    <use xlink:href="#useMultipleIndirectNestedGroupElement2" />\n    <use xlink:href="#useMultipleIndirectNestedGroupElement3" />\n\n    <!-- if we get here, the above circular usr references did not block rendering -->\n    <rect width="96" height="96" fill="green" />\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n  -->\n</svg>'},
  {name: 'styling-inherit-01-b.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: styling-inherit-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/styling.html#Inheritance">\n        <p>\n          Verify property inheritance as required by 6.15 "Property\n          inheritance". Since all implementations are required to do this, only\n          presentation attributes are used.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\nRun the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        At the center right, there is an ellipse. The fill color is not\n        specified on that element but on its parent. The ellipse should be filled a solid yellow\n      </p>\n      <p>\n        At the top left, an oval shape is formed from a rectangle\n        with a radial gradient. The color of the middle stop uses the keyword \'inherit\'\n        and thus takes its parent\'s value of green, giving a yellow, green, white gradient.\n      </p>\n      <p>\n        At the bottom  left, an oval shape is formed from a rectangle\n        with a radial gradient. The color of the middle stop uses the value \'currentColor\'\n        and thus takes the value its parent\'s color property, a dark red,\n        giving a yellow, dark red, white gradient.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: styling-inherit-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g fill="yellow">\n      <g stroke="#555">\n        <ellipse rx="90" ry="60" cx="330" cy="140"/>\n      </g>\n    </g>\n    <radialGradient id="ygw" stop-color="green">\n      <stop offset="0%" stop-color="yellow"/>\n      <stop offset="50%" stop-color="inherit"/>\n      <stop offset="100%" stop-color="white"/>\n    </radialGradient>\n    <rect width="180" height="120" x="40" y="20" stroke="none" fill="url(#ygw)"/>\n    <radialGradient id="yrw" color="#700">\n      <stop offset="0%" stop-color="yellow"/>\n      <stop offset="50%" stop-color="currentColor"/>\n      <stop offset="100%" stop-color="white"/>\n    </radialGradient>\n    <rect width="180" height="120" x="40" y="160" stroke="none" fill="url(#yrw)"/>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'styling-pres-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: styling-pres-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/styling.html#UsingPresentationAttributes">\n      <p>\n				Tests that !important in a presentation attribute is an unsupported value\n      </p>\n      <p>\n        A fill attribute is set to red with !important. This is an unsupported attribute value,\n        consequently the fill attribute should be the lacuna value, which is black. Therefore, to pass, the rectangle should be filled with black.\n      </p>\n      <p>A lime green border is also drawn, to check that rendering continues after the element with the unsupported value.</p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n				The rectangle should be filled with black, with a lime green border.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: styling-pres-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n  <circle r="80" cx="240" cy="150" fill="blue" />\n    <rect width="200" height="160" x="140" y="70" fill="red !important" />\n    <rect width="200" height="160" x="140" y="70" fill="none" stroke="lime" stroke-width="4" />\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-align-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: text-align-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#AlignmentProperties">\n        <p>\n          Test \'text-anchor\' property (horizontal).\n        </p>\n        <p>\n          The three lines test the three values for property \'text-anchor\': start, middle and end.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The lines in pink, \'text-anchor:none\' and \'text-anchor:start\', should both start from the same horizontal position (indicated by the black circle on each line) and extend to the right.\n        The green line, \'text-anchor:middle\', should be centered horizontally around the black circle.\n        The blue line, \'text-anchor:end\', should be aligned such that the end of the text meets the black circle.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-align-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="34" x="5" y="40">Test \'text-anchor\' (horizontal)</text>\n    <g id="text-anchor" font-size="14">\n      <g transform="translate(230,130)">\n        <line stroke="black" x2="50"/>\n        <circle r="3"/>\n        <text font-size="30" fill="fuchsia">text-anchor:none</text>\n      </g>\n      <g transform="translate(230,180)">\n        <line stroke="black" x2="50"/>\n        <circle r="3"/>\n        <text font-size="30" text-anchor="start" fill="fuchsia">text-anchor:start</text>\n      </g>\n      <g transform="translate(230,230)">\n        <line stroke="black" x1="-25" x2="25"/>\n        <circle r="3"/>\n        <text font-size="30" text-anchor="middle" fill="green">text-anchor:middle</text>\n      </g>\n      <g transform="translate(230,280)">\n        <line stroke="black" x1="-50" x2="0"/>\n        <circle r="3"/>\n        <text font-size="30" text-anchor="end" fill="blue">text-anchor:end</text>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-align-02-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: text-align-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#AlignmentProperties">\n      <p>\n        Test the \'baseline-shift\' property (horizontal).\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        This three lines test property \'baseline-shift\'.\n        The first line tests \'baseline-shift:7\' (i.e., a length for \'baseline-shift\').\n        The pink text should be shifted upwards by an amount approximately half of the height of the text.\n        The second line tests \'baseline-shift:-70%\' (i.e., a percentage for \'baseline-shift\').\n        The pink text should shift downward by about the height of the text.\n        The third line tests the three keywords \'sub\', \'super\' and \'normal\'.\n        The string "sub" should be shifted downwards, the string "super" shifted upwards,\n        and the string "te" (in blue) aligned with the remainder of the text in the line.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-align-02-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="34" x="5" y="40">Test \'baseline-shift\' (horizontal)</text>\n    <g id="baseline-shift" font-size="30" transform="translate(15,120)">\n      <text y="0">\n        Normal<tspan baseline-shift="7" fill="fuchsia">baseline-shift:7</tspan>text\n      </text>\n      <text y="70">\n        Normal<tspan baseline-shift="-70%" fill="fuchsia">baseline-shift:-70%</tspan>text\n      </text>\n      <text y="140">\n        Normal<tspan baseline-shift="sub" fill="fuchsia">sub</tspan><tspan baseline-shift="super" fill="green">super</tspan><tspan baseline-shift="baseline" fill="blue">te</tspan>xt\n      </text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-align-03-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: text-align-03-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#AlignmentProperties">\n      <p>\n        Test for viewer capibility to handle the basics of the \'textAnchor\'\n        alignment property for \'text\' and related elements.\n      </p>\n      <p>\n        This test verify that\n        the interpreter correctly handles and applies the text-anchor\n        properties when present on "chunks", which are comprised of tspan elements\n        with absolute positioning, within the containing \'text\' element.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if\n      </p>\n      <ul>\n        <li>\n          The text "Begin with "end"," ends just to the left of the vertical pink\n          line.\n        </li>\n        <li>\n          The text "switch to "middle" in a tspan," is split by the vertical pink\n          line roughly through the second \'d\' in the world "middle".\n        </li>\n        <li>\n          The text "and "start" ends it." begins just to the right of the\n          vertical pink line.\n        </li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-align-03-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="5" y="40" font-size="40" fill="black">Test of \'text-anchor\'</text>\n\n    <!-- Test cases -->\n    <line x1="225" y1="75" x2="225" y2="225" stroke="fuchsia"/>\n    <g font-size="30" fill="blue">\n      <text x="225" y="110" text-anchor="end">\n        Begin with "end",<tspan x="225" y="160" xml:space="preserve" text-anchor="middle"> switch to "middle" in a tspan, </tspan><tspan x="225" y="210" text-anchor="start">and "start" ends it.</tspan>\n      </text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-align-04-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: text-align-04-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#AlignmentProperties">\n      <p>\n        Test for viewer capibility to handle the basics of the \'text-anchor\'\n        alignment property for \'text\' and related elements.\n      </p>\n      <p>\n        The second group from the top contains sub-tests to verify that the\n        interpreter handles text-anchor when the text is comprised of other\n        text related elements, \'tspan\', \'tref\', and \'textPath\'.\n        The text-anchor property is present on the containing \'text\' element\n        in these cases, not on the contained child elements.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if:\n      </p>\n      <ul>\n        <li>\n          The text "start text pink tspan" begins just to the right of the\n          vertical pink line.\n        </li>\n        <li>\n          The text "middle text bold tspan" is split by the vertical pink line\n          between the words "text" and "bold".\n        </li>\n        <li>\n          The text "end text tref" ends just to the left of the vertical pink\n          line.\n        </li>\n        <li>\n          The text "end text on path" ends just to the left of the vertical pink\n          line.\n        </li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-align-04-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F" font-weight="700">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSansBold.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="5" y="40" font-size="36" fill="black">Test of \'text-anchor\'</text>\n    <defs>\n      <text id="tref-internal-reference">end text tref</text>\n      <path id="myPath" d="M -5 260 220 260"/>\n    </defs>\n\n    <text x="20" y="80" font-size="30" fill="black">Tspan, tref, toap</text>\n    <!-- Test cases -->\n    <line x1="220" y1="120" x2="220" y2="260" stroke="fuchsia"/>\n    <g font-size="16" fill="blue">\n      <text x="220" y="140" text-anchor="start">\n        start text <tspan xml:space="preserve" fill="fuchsia"> pink tspan</tspan>\n      </text>\n      <text x="220" y="180" text-anchor="middle">\n        middle text <tspan font-weight="bold" xml:space="preserve"> bold tspan</tspan>\n      </text>\n      <text x="220" y="220" text-anchor="end">\n        <tref xlink:href="#tref-internal-reference"/>\n      </text>\n      <text text-anchor="end">\n        <textPath text-anchor="end" startOffset="100%" xlink:href="#myPath">Text-anchor: end text on path</textPath>\n      </text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-align-05-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: text-align-05-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#AlignmentProperties">\n      <p>\n        Test \'text-anchor\' property (vertical).\n      </p>\n      <p>\n        This tests the three values for property \'text-anchor\': start, middle and end.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if three vertical lines of text are displayed with\n        each line containing a single black dot.\n      </p>\n      <lu>\n        <li>\n          The first vertical line of text containing the black dot at the top of\n          the text.\n        </li>\n        <li>\n          The second vertical line of text containing the black dot in the\n          middle of the text.\n        </li>\n        <li>\n          The third vertical line of text containing the black dot at the bottom\n          of the text.\n        </li>\n      </lu>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-align-05-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="40" x="5" y="40">Test \'text-anchor\' (vertical)</text>\n    <g writing-mode="tb" glyph-orientation-vertical="0">\n      <g id="text-anchor" font-family="Arial" font-size="30" transform="translate(160,150)">\n        <g transform="translate(0,0)">\n          <circle r="3"/>\n          <text text-anchor="start" fill="fuchsia">start</text>\n        </g>\n        <g transform="translate(50,0)">\n          <circle r="3"/>\n          <text text-anchor="middle" fill="green">middle</text>\n        </g>\n        <g transform="translate(100,0)">\n          <circle r="3"/>\n          <text text-anchor="end" fill="blue">end</text>\n        </g>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-align-06-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: text-align-06-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#AlignmentProperties">\n      <p>\n        Tests various ways that the \'baseline-shift\' property (vertical) can be\n        altered.\n      </p>\n      <p>\n        The first sub test sets the \'baseline-shift\' to an absolute unit. The\n        second sub test sets the \'baseline-shift\' to a percentage. The third sub\n        test sets the \'baseline-shift\' to "sub". The fourth sub test sets the\n        \'baseline-shift\' to "super".\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if four lines of vertical text are rendered.\n      </p>\n      <ul>\n        <li>\n          The first vertical line should contain the text "te7xt" with the "7"\n          part being slightly offset to the right of the rest of the letters\n          in the text.\n        </li>\n        <li>\n          The second vertical line should contain the text "te-70%xt" with the\n          "-70%" part of the text being offset to the left of the rest of the\n          letters in the text.\n        </li>\n        <li>\n          The third vertical line should contain the text "tesubxt" with the\n          "sub" part of the text being slightly offset to left of the rest of\n          the letters in the text.\n        </li>\n        <li>\n          The fourth verical line should contain the text "tesuperxt" with the\n          "super" part of the text being offset to the right of the rest of the\n          letters in the text.\n        </li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-align-06-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="36" x="0" y="40">Test \'baseline-shift\' (vertic.)</text>\n\n    <g writing-mode="tb" glyph-orientation-vertical="0">\n      <g id="baseline-shift" font-family="Arial" font-size="24" transform="translate(90,60)">\n        <text x="0">\n          te<tspan baseline-shift="7" fill="fuchsia">7</tspan>xt\n        </text>\n        <text x="80">\n          te<tspan baseline-shift="-70%" fill="fuchsia">-70%</tspan>xt\n        </text>\n        <text x="180">\n          te<tspan baseline-shift="sub" fill="fuchsia">sub</tspan><tspan baseline-shift="baseline" fill="blue">x</tspan>t\n        </text>\n        <text x="260">\n          te<tspan baseline-shift="super" fill="green">super</tspan><tspan baseline-shift="baseline" fill="blue">x</tspan>t\n        </text>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-align-07-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="CN" status="issue"\n    version="$Revision: 1.9 $" testname="$RCSfile: text-align-07-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#AlignmentProperties">\n    		<p>ISSUE - http://www.w3.org/2011/02/27-svg-irc#T22-20-51</p>\n        <p>\n          Test horizontal baselines across script and font size changes.\n        </p>\n        <p>\n          Original test authored by Rodney Hardy at CISRA and modified by\n          Anthony Grasso. \n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The dominant baseline should be alphabetic, so the \'a\' will be sitting\n        on the blue line, the Japanese character \'犜\' will be on the ideographic baseline\n        and \'ण\' is a Devangari character and will use the hanging baseline.  The\n        smaller versions of the characters should be aligned to the same baselines.\n        So the \'a\'s on the blue line, the Japanese characters slightly below the line\n        and the Devangari characters should be hanging from the hanging baseline.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-align-07-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-family="\'Arial Unicode MS\',Georgia,\'Times New Roman\',Times,\'MS Mincho\',serif" font-size="30">\n      <!--\n            The dominant baseline should be alphabetic, so the \'ab\' will be sitting on the\n            blue line, the japanese glyphs will be on the ideographic baseline and \'&#2339;\'\n            is a devangari character and will use the hanging baseline.  The smaller versions\n            of the characters should be aligned to the same baselines.  So \'ab\' on the alphabetic\n            base line, the ideographic chars slightly below the line and the devangari should be\n            hanging from the hanging baseline.\n        -->\n      <text x="50" y="100" font-size="50">\n        a犜ण<tspan font-size="25">a犜ण</tspan><tspan font-size="10">a犜ण</tspan>\n      </text>\n      <line x1="50" y1="70" x2="400" y2="70" stroke-width="1" stroke="green"/>\n      <text x="320" y="80" font-size="10" fill="green">\n        hanging base line\n      </text>\n      <line x1="50" y1="100" x2="400" y2="100" stroke-width="1" stroke="blue"/>\n      <text x="310" y="110" font-size="10" fill="blue">\n        alphabetic  base line\n      </text>\n      <line x1="50" y1="103" x2="250" y2="103" stroke-width="1" stroke="fuchsia"/>\n      <text x="155" y="113" font-size="10" fill="fuchsia">\n        ideographic base line\n      </text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-align-08-b.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="CN" status="issue"\n    version="$Revision: 1.10 $" testname="$RCSfile: text-align-08-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#AlignmentProperties">\n    	<p>ISSUE - http://www.w3.org/2011/02/27-svg-irc#T22-20-51</p>\n      <p>\n        Test horizontal baselines across script and font size changes. It uses an SVG Font, where\n        the Latin letter "a" is a rectangle, the Japanese letter "犜" is an upward-pointing triangle,\n        and the Devanagari letter "ण" is a downward-pointing triangle.\n      </p>\n      <p>\n        Original test authored by Rodney Hardy at CISRA.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The dominant baseline should be alphabetic, so the \'a\' will be sitting on the alphabetic (blue) line,\n        the Japanese glyph (upward pointing triangle) will be aligned on the ideographic (pink) baseline\n        and \'ण\' is a Devangari character (downward pointing triangle)  and will use the hanging baseline (green).\n        The smaller versions of the characters should be aligned to the same baselines as the respective larger\n        characters, so all like shapes align to the same baseline.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-align-08-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  <defs>\n    <font-face font-family="SVGBase">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/Baselines/Tribase.svg#Tribase"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <style type="text/css">\n  @font-face {\n    font-family: Tribase ;\n    src: url(woffs/Tribase.woff) format("woff");\n    }\n  </style>\n    <g font-family="SVGBase, Tribase">\n      <!--\n            The dominant baseline should be alphabetic, so the \'ab\' will be sitting on the\n            blue line, the japanese glyphs will be on the ideographic baseline and \'&#2339;\'\n            is a devangari character and will use the hanging baseline.  The smaller versions\n            of the characters should be aligned to the same baselines.  So \'a\' on the blue\n            line, the ideographic chars slightly below the line and the devangari should be\n            hanging from the hanging baseline.\n        -->\n      <text x="50" y="200" font-size="120">\n        a犜ण<tspan font-size="75">a犜ण</tspan><tspan font-size="30">a犜ण</tspan>\n      </text>\n      <line x1="50" y1="200" x2="433" y2="200" stroke-width="1" stroke="blue"/>\n      <line x1="50" y1="230" x2="433" y2="230" stroke-width="1" stroke="fuchsia"/>\n      <line x1="50" y1="95" x2="433" y2="95" stroke-width="1" stroke="green"/>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.10 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-bidi-01-t.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="[reviewer]" author="ED" status="created"\n    version="$Revision: 1.1 $" testname="$RCSfile: text-bidi-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#RelationshipWithBiDirectionality">\n      <p>\n      Test directional type, ltr context, arabic.\n      Assertion: In a left-to-right context, without markup, styling or special characters, a sequence of Arabic characters and spaces will progress from right to left.\n      </p>\n      <p class=\'prerequisites\'>You will need a font that allows you to distinguish Arabic characters.</p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if the characters follow the same order.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-bidi-01-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="240" y="120" text-anchor="middle">مفتاح معايير الويب</text>\n    <image id="reference" xlink:href="' + Images['inline2.png'] + '" width="200" height="30" transform="translate(120 180)"/>  \n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.1 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-deco-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: text-deco-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextDecorationProperties">\n        <p>\n          Test the \'text-decoration\' property.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n    	<p>The test has passed if:</p>\n      <ul>\n      	<li>\n        	The first line of text has no decoration.\n     		</li>\n	      <li>\n	        The second line of text has a line through it.\n	      </li>\n	      <li>\n	        The third line of text is underlined.\n	      </li>\n	      <li>\n	        The fourth line of text has a blue underline with a green stroke under\n	        all characters, except the word "different" which has a yellow underline\n	        with a green stroke.\n	      </li>\n	    </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-deco-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-size="24" fill="blue" stroke="green" stroke-width=".5">\n      <text x="25" y="65">Normal text</text>\n      <text x="25" y="135" text-decoration="line-through">Text with line-through</text>\n      <text x="25" y="205" text-decoration="underline">Underlined text</text>\n      <!-- START OF PATCH CODE, which is commented out\n    <text x="25" y="345" text-decoration="underline"  xml:space="preserve">One word has different underlining</text>\n    <rect x="25" y="275" width="1000" height="70" stroke="none" fill="white" />\nEND OF PATCH CODE, which is commented out -->\n      <text x="25" y="275" text-decoration="underline">\n        <tspan>One</tspan>\n        <tspan fill="yellow" stroke="#F0F">word</tspan>\n        <tspan fill="yellow" stroke="#000">has</tspan>\n        <tspan fill="yellow" stroke="#080" text-decoration="underline">different</tspan>\n        <tspan fill="yellow" stroke="#00F">underlining</tspan>\n      </text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-fonts-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris Lilley" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: text-fonts-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#FontPropertiesUsedBySVG">\n        <p>\n          Purpose of test is to determine if the font family is being\n          correctly selected. The top two lines of text test serif fonts;\n          the top line in maroon tests the generic font family \'serif\'\n          and the second line in black tests a selection of commonly\n          available named serif fonts. The next two lines of text test\n          sans-serif fonts;\n          the top line in maroon tests the generic font family \'sans-serif\'\n          and the second line in black tests a selection of commonly\n          available named sans serif fonts. The following two lines\n          of text test monospaced fonts;\n          the top line in maroon tests the generic font family \'monospaced\'\n          and the second line in black tests a selection of commonly\n          available named monospaced fonts. The lowercase \'i\' and uppercase\'W\'\n          should be the same width,for monospaced fonts.\n        </p>\n        <p>\n          The seventh line of text, in green, tests for\n          three non-existent fonts (nonsense names). There is no fallback\n          generic font specified. The text must be displayed anyway.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The first six lines contain two Japanese characters (画像)\n        at the end of the line. Both of these characters must be displayed,\n        although it is compliant to display them with the \'missing glyph\'\n        if no suitable font containing Japanese characters can be found.\n        Most but not all fonts have a visible missing glyph character.\n        If the selected font has a visible missing glyph character, it should appear\n        wherever the corresponding glyph is not available.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-fonts-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-weight="normal" font-size="24" stroke="none">\n      <text font-family="Georgia, \'Minion Web\', \'Times New Roman\', Times, \'MS PMincho\', Heisei-Mincho, serif " x="20" y="80">A serifed face 画像</text>\n      <text font-family="Arial, \'Arial Unicode\', \'Myriad Web\', Geneva, \'Lucida Sans Unicode\', \'MS PGothic\', Osaka, sans-serif " x="20" y="160">A sans-serif face 画像</text>\n      <text font-family="\'Lucida Console\', \'Courier New\', Courier, Monaco, \'MS Gothic\', Osaka-Mono, monospace" x="20" y="240">A mono (iW) face 画像</text>\n      <g id="generic" fill="maroon">\n        <text font-family="serif" x="40" y="50">A serifed face 画像</text>\n        <text font-family="sans-serif " x="40" y="130">A sans-serif face 画像</text>\n        <text font-family="monospace " x="40" y="210">A mono (iW) face 画像</text>\n      </g>\n      <text fill="green" font-family="\'No such font at all\', \'another fictitious one\', sillynamewithoutspaces" x="40" y="290">This must be displayed</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-fonts-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Chris lilley" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: text-fonts-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#FontPropertiesUsedBySVG">\n      <p>\n        Purpose of test is to determine if the font weight is being\n        correctly rendered. A number of font families are specified. The\n        numerical weight values (100 to 900) should show the lighter weights\n        on the lower numbers and the heavier weights on the larger numbers.\n        Heavier is defined to mean \'no lighter\'.\n      </p>\n      <p>\n        If only one font weight is available, they should all display at the\n        same weight. The transition from black to green figures shows the\n        correct light to bold transition for the common case where two\n        weights are available. If three or more weights are available, see\n        the CSS2 specification for how these are allocated to the nine\n        weight numbers.\n      </p>\n      <p>\n        The absolute keywords \'normal\' and bold\' are tested\n        by the first two lines on the right hand side of the test,\n        the third line of text tests the to \'bolder\'\n        relative keyword and the fourth tests the\n        \'lighter\' relative keyword.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The numerical weight values (100 to 900) should show the lighter weights on the\n        lower numbers and the heavier weights on the larger numbers. Heavier is defined\n        to mean \'no lighter\'.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-fonts-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-family="Georgia,\'Times New Roman\',Times,\'MS Mincho\',serif" font-size="30">\n      <text font-weight="100" x="360" y="50">100</text>\n      <text font-weight="200" x="360" y="85">200</text>\n      <text font-weight="300" x="360" y="120">300</text>\n      <text font-weight="400" x="360" y="155">400</text>\n      <text font-weight="500" x="360" y="190">500</text>\n      <text fill="green" font-weight="600" x="360" y="225">600</text>\n      <text fill="green" font-weight="700" x="360" y="260">700</text>\n      <text fill="green" font-weight="800" x="360" y="295">800</text>\n      <text fill="green" font-weight="900" x="360" y="330">900</text>\n      <text font-weight="bold" x="60" y="80">This is bold</text>\n      <text font-weight="normal" x="60" y="130">This is normal</text>\n      <g font-weight="normal" fill="blue">\n        <text font-weight="bolder" x="60" y="180">Blue is bolder</text>\n      </g>\n      <g font-weight="bold" fill="blue">\n        <text font-weight="lighter" x="60" y="230">Blue is lighter</text>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-fonts-03-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="MI" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: text-fonts-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#FontPropertiesUsedBySVG">\n        <p>\n          Testing font-family attribute.\n          Two SVG fonts are defined.  Various text elements are then\n          used with varying values for the font-family attribute.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The first two text elements should display in their respective fonts,\n        the last two should be displayed using the system font since the\n        value specified for font-family is either invalid or not specified.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-fonts-03-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-size="18">\n    <!-- Deliberately leave off font-family from the template #test-body-content\n         element, since we want the default font. -->\n    <defs>\n      <font>\n        <font-face font-family="SVGHaettenschweiler"/>\n        <glyph unicode="A" horiz-adv-x="440" d="M440 0l-160 0 -20 180 -80 0 -20 -180 -160 0 120 700 200 0 120 -700zm-200 280l-20 220 -20 -220 40 0z"/>\n        <glyph unicode="B" horiz-adv-x="378" d="M20 0l0 700 180 0c40,0 80,0 100,-20 40,-20 60,-60 60,-100l0 -100c0,-60 -40,-80 -100,-100 80,-20 100,-60 100,-100l0 -140c0,-40 -20,-80 -40,-100 -40,-20 -60,-40 -100,-40l-200 0zm200 460l0 120c0,20 -20,20 -40,20l0 -180c20,0 40,0 40,40zm0 -340l0 180c0,20 -20,40 -40,40l0 -260c20,0 40,20 40,40z"/>\n        <glyph unicode="C" horiz-adv-x="370" d="M360 460l-140 0 0 140c0,0 -20,20 -20,20 -20,0 -20,-20 -20,-20l0 -500c0,0 0,0 20,0 0,0 20,0 20,0l0 180 140 0 0 -180c0,-20 -20,-60 -60,-80 -20,-20 -60,-20 -100,-20 -120,0 -180,40 -180,120l0 460c0,80 60,120 180,120 100,0 160,-40 160,-120l0 -120z"/>\n      </font>\n      <font>\n        <font-face font-family="SVGCharlesworth"/>\n        <glyph unicode="A" horiz-adv-x="712" d="M-60 0l0 20c0,0 20,0 40,0 40,0 40,0 60,20 0,0 20,20 40,80 20,60 40,120 80,200 20,80 40,160 80,220 20,60 40,120 40,120 0,20 -20,20 -80,20l0 20c20,0 80,0 140,0 100,0 140,0 160,0l0 -20c-40,0 -80,0 -80,-20 20,-60 60,-140 80,-220 40,-100 80,-180 100,-260 40,-80 60,-140 60,-140 0,0 20,-20 40,-20 40,0 60,0 60,0l0 -20c0,0 -60,0 -180,0 -20,0 -40,0 -80,0 -40,0 -60,0 -80,0l0 20c20,0 60,0 80,0 20,0 20,20 20,20 0,0 -20,60 -40,140 -40,80 -40,120 -60,140 -60,0 -140,0 -220,0 -20,-20 -20,-40 -20,-80 -20,-40 -40,-80 -40,-120 -20,-60 -20,-80 -20,-80 20,-20 60,-20 80,-20l20 -20c-40,0 -80,0 -140,0 -80,0 -120,0 -140,0zm260 360c40,0 80,0 120,0 60,0 100,0 100,0 0,0 0,0 -20,40 0,20 -20,60 -40,100 0,40 -20,80 -20,100 -20,20 -20,40 -20,60l0 0c-20,-40 -40,-80 -60,-160 -40,-80 -60,-120 -60,-140z"/>\n        <glyph unicode="B" horiz-adv-x="684" d="M160 660c-20,20 -40,20 -100,20l-20 20c20,0 60,0 120,0 80,0 140,0 180,0 60,0 100,0 160,-20 40,-20 60,-60 60,-100 0,-40 -20,-100 -60,-120 -20,-40 -60,-60 -100,-80l0 0c40,0 60,-20 100,-40 20,0 40,-20 60,-40 20,-20 20,-40 40,-60 0,-20 0,-40 0,-60 0,-40 0,-60 -20,-100 -20,-20 -40,-40 -80,-60 -20,-20 -60,-20 -100,-20 -20,0 -40,0 -80,0 -60,0 -100,0 -160,0 -20,0 -60,0 -120,0l20 20c0,0 20,0 40,0 40,0 40,0 60,20 0,0 0,20 0,80 0,80 0,160 0,240 0,80 0,140 0,200 0,60 0,100 0,100zm120 -620c20,0 60,-20 80,-20 20,0 60,0 80,20 20,0 20,20 40,40 20,20 20,40 20,60 0,40 -20,80 -40,100 -20,40 -40,60 -80,80 -40,20 -60,20 -100,20 0,-20 0,-40 0,-80 0,-40 0,-80 0,-120 0,-40 0,-80 0,-100zm0 340c40,0 80,0 100,20 20,20 40,40 60,60 0,20 0,60 0,80 0,20 0,40 0,60 -20,20 -40,40 -60,60 -20,20 -40,20 -60,20 -20,0 -40,0 -40,0 0,0 0,-20 0,-40 0,-20 0,-60 0,-140 0,-60 0,-100 0,-120z"/>\n        <glyph unicode="C" horiz-adv-x="808" d="M740 480l-20 0c0,20 0,60 0,80 -20,20 -20,40 -40,60 -40,20 -60,20 -100,40 -40,20 -60,20 -100,20 -20,0 -20,0 -40,0 -40,0 -100,-20 -120,-40 -40,-20 -60,-40 -80,-80 -20,-20 -40,-40 -60,-80 0,-20 0,-60 0,-80 0,-60 0,-120 20,-160 20,-40 60,-80 100,-120 20,-20 80,-40 120,-60 40,-20 100,-40 140,-40 80,20 160,40 220,60l0 -40c-40,-20 -80,-40 -140,-40 -40,-20 -100,-20 -140,-20 -80,0 -140,20 -200,40 -80,20 -120,60 -180,100 -40,60 -60,120 -60,200 0,0 0,20 0,20 0,60 0,100 20,140 20,40 60,80 100,120 20,40 80,60 140,80 60,20 120,40 200,40 60,0 120,-20 200,-20 0,0 0,0 0,20 20,40 20,40 20,60l20 0c0,-20 0,-60 0,-140 -20,-100 -20,-140 -20,-160z"/>\n      </font>\n    </defs>\n\n    <text x="15" y="60" font-family="SVGFreeSansASCII,sans-serif" font-size="18">font-family = "Haettenschweiler"</text>\n    <text x="340" y="60" font-family="SVGHaettenschweiler" font-size="35">ABC</text>\n\n    <text x="15" y="110" font-family="SVGFreeSansASCII,sans-serif" font-size="18">font-family = "Charlesworth"</text>\n    <text x="340" y="110" font-family="SVGCharlesworth" font-size="35">ABC</text>\n\n    <text x="15" y="160" font-family="SVGFreeSansASCII,sans-serif" font-size="18">font-family = "Invalid Name"</text>\n    <text x="340" y="160" font-family="InvalidFontFamily" font-size="35">ABC</text>\n\n    <text x="15" y="210" font-family="SVGFreeSansASCII,sans-serif" font-size="18">font-family = not specified</text>\n    <text x="340" y="210" font-size="35">ABC</text>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-fonts-04-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="MI" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: text-fonts-04-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#FontPropertiesUsedBySVG">\n        <p>\n          Testing font-family attribute.\n          Various text elements are\n          used with varying values for the font-family attribute.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The first two text elements should display in their respective fonts,\n        <span style="font-family: Haettenschweiler">Haettenschweiler</span> and\n        <span style="font-family: Charlesworth">Charlesworth</span>,\n        if they are installed on the target system. Otherwise, simply\n        displaying the text in some fallback font is enough to pass the test.\n        The last two should be displayed using a fallback font since the\n        value specified for font-family is either invalid or not specified.\n        Failing to display the text means the test is not passed.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-fonts-04-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-size="18">\n    <!-- Deliberately leave off font-family from the template #test-body-content\n         element, since we want the default font. -->\n\n    <text x="15" y="60" font-family="SVGFreeSansASCII,sans-serif" font-size="18">font-family = "Haettenschweiler"</text>\n    <text x="340" y="60" font-family="Haettenschweiler" font-size="35">ABC</text>\n\n    <text x="15" y="110" font-family="SVGFreeSansASCII,sans-serif" font-size="18">font-family = "Charlesworth"</text>\n    <text x="340" y="110" font-family="Charlesworth" font-size="35">ABC</text>\n\n    <text x="15" y="160" font-family="SVGFreeSansASCII,sans-serif" font-size="18">font-family = "Invalid Name"</text>\n    <text x="340" y="160" font-family="InvalidFontFamily" font-size="35">ABC</text>\n\n    <text x="15" y="210" font-family="SVGFreeSansASCII,sans-serif" font-size="18">font-family = not specified</text>\n    <text x="340" y="210" font-size="35">ABC</text>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-fonts-05-f.svg', svg: '<svg id="svg-root" width="100%" height="100%" viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/" template-version="1.4" reviewer="[reviewer]" author="Microsoft" status="created" version="$Revision: 1.4 $" testname="$RCSfile: text-fonts-05-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://dev.w3.org/SVG/profiles/1.1F2/publish/text.html#FontPropertiesUsedBySVG">\n      <p>\n        Test that the \'line-height\' property has no effect on text layout.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Test passes if the three blue instances of \'Filler Text\' all have the same vertical position on the page.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-fonts-05-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-size="18">\n    <text x="100" y="100" fill="blue" font-size="25">\n        <tspan x="50">FillerText</tspan>\n        <tspan x="160" line-height="100">FillerText</tspan>\n        <tspan x="270" line-height="200">FillerText</tspan>\n    </text>\n    \n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-fonts-202-t.svg', svg: '﻿<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="DS" owner="CL" status="accepted"\n    version="$Revision: 1.4 $" testname="$RCSfile: text-fonts-202-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#FontPropertiesUsedBySVG">\n      <p>\n        This tests the \'font-weight\' property when multiple weights are available. A\n        font family with six weights is  specified, with a fallback to \'serif\'.\n      </p>\n      <p>\n        If only one font weight is available, they should all display at the same weight.\n        The transition from black to green figures shows the correct light to bold transition\n        for the common case where two weights are available. If three or more weights are\n        available, see the CSS2 specification for how these are allocated to the nine weight\n        numbers. The specified font has six weights.\n      </p>\n      <p>\n        The absolute keywords \'normal\' and bold\' are tested by the first two lines on the\n        right hand side of the test, the third line of text tests the to \'bolder\' relative\n        keyword and the fourth tests the \'lighter\' relative keyword.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        If the platform supports installable opentype fonts, please download and install\n        <a href="http://justanotherfoundry.com/zalamander">Zalamander Caps</a>\n        by Tim Ahrens of <a href="http://justanotherfoundry.com/">Just Another Foundry</a>.\n        Then, view this test.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The numerical weight values (100 to 900) should show the lighter weights on the\n        lower numbers and the heavier weights on the larger numbers. Heavier is defined\n        to mean \'no lighter\'.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-fonts-202-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n <g font-family="\'ZalamanderCaps\', serif" font-size="30">\n      <text font-weight="100" x="360" y="50">100</text>\n      <text font-weight="200" x="360" y="85">200</text>\n      <text font-weight="300" x="360" y="120">300</text>\n      <text font-weight="400" x="360" y="155">400</text>\n      <text font-weight="500" x="360" y="190">500</text>\n      <text fill="green" font-weight="600" x="360" y="225">600</text>\n      <text fill="green" font-weight="700" x="360" y="260">700</text>\n      <text fill="green" font-weight="800" x="360" y="295">800</text>\n      <text fill="green" font-weight="900" x="360" y="330">900</text>\n      <text font-weight="bold" x="60" y="80">This is bold</text>\n      <text font-weight="normal" x="60" y="130">This is normal</text>\n      <g font-weight="normal" fill="blue">\n        <text font-weight="bolder" x="60" y="180">Blue is bolder</text>\n      </g>\n      <g font-weight="bold" fill="blue">\n        <text font-weight="lighter" x="60" y="230">Blue is lighter</text>\n      </g>\n      <g font-size="14">\n        <text x="30" y="270">ZalamanderCaps is an OpenType font</text>\n        <text x="30" y="290">by Tim Ahrens of Just Another Foundry</text>\n      </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.4 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n<!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n-->\n</svg>\n'},
  {name: 'text-fonts-203-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" owner="CL" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: text-fonts-203-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#FontPropertiesUsedBySVG">\n      <p>\n        This tests the \'font-weight\' property when multiple weights are available. A\n        font family with five weights is  specified, with a fallback to \'serif\'.\n      </p>\n      <p>\n        The specified font family has five weights - 300, 400, 600, 700 and 800. \n        See the CSS3 Font specification \n        for how these are allocated to the nine weight numbers.\n      </p>\n      <p>\n        The absolute keywords \'normal\' and bold\' are tested by the first two lines on the\n        right hand side of the test, the third line of text tests the to \'bolder\' relative\n        keyword and the fourth tests the \'lighter\' relative keyword.\n      </p>\n      <p>The fonts are SVG fonts convertted, with the author\'s explicit permission, \n       from  <a href="http://justanotherfoundry.com/Zalamander/index.htm">Zalamander Caps</a>\n        by Tim Ahrens of <a href="http://justanotherfoundry.com/">Just Another Foundry</a>.\n        An ASCII subset has been generated for this test. The font names have been \n        obfuscated, to deter \n        user agent sniffing for keywords like "Ultrabold". All weights in this generated\n        family are multiples of 100 and greater or equal to 300.</p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The numerical weight values (100 to 900) should show the lighter weights on the\n        lower numbers and the heavier weights on the larger numbers. Heavier is defined\n        to mean \'no lighter\'.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-fonts-203-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  <defs>\n    <font-face\n      font-family="ZC"\n      unicode-range="U+0-7F"\n      font-weight="300"\n      font-variant="small-caps">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/ZCL.svg#ZCL"/>\n      </font-face-src>\n    </font-face>\n    <font-face\n      font-family="ZC"\n      unicode-range="U+0-7F"\n      font-weight="400"\n      font-variant="small-caps">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/ZCR.svg#ZCR"/>\n      </font-face-src>\n    </font-face>\n    <font-face\n      font-family="ZC"\n      unicode-range="U+0-7F"\n      font-weight="600"\n      font-variant="small-caps">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/ZCSB.svg#ZCSB"/>\n      </font-face-src>\n    </font-face>\n    <font-face\n      font-family="ZC"\n      unicode-range="U+0-7F"\n      font-weight="700"\n      font-variant="small-caps">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/ZCB.svg#ZCB"/>\n      </font-face-src>\n    </font-face>\n    <font-face\n      font-family="ZC"\n      unicode-range="U+0-7F"\n      font-weight="800"\n      font-variant="small-caps">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/ZCXB.svg#ZCXB"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n\n <g font-family="\'ZC\', serif" font-size="30" font-variant="small-caps">\n      <text font-weight="100" x="360" y="50">100</text>\n      <text font-weight="200" x="360" y="85">200</text>\n      <text font-weight="300" x="360" y="120">300</text>\n      <text font-weight="400" x="360" y="155">400</text>\n      <text font-weight="500" x="360" y="190">500</text>\n      <text fill="green" font-weight="600" x="360" y="225">600</text>\n      <text fill="green" font-weight="700" x="360" y="260">700</text>\n      <text fill="green" font-weight="800" x="360" y="295">800</text>\n      <text fill="green" font-weight="900" x="360" y="330">900</text>\n      <text font-weight="bold" x="60" y="80">This is bold</text>\n      <text font-weight="normal" x="60" y="130">This is normal</text>\n      <g font-weight="normal" fill="blue">\n        <text font-weight="bolder" x="60" y="180">Blue is bolder</text>\n      </g>\n      <g font-weight="bold" fill="blue">\n        <text font-weight="lighter" x="60" y="230">Blue is lighter</text>\n      </g>\n      <g font-size="14">\n        <text x="30" y="270">ZalamanderCaps is an OpenType font</text>\n        <text x="30" y="290">by Tim Ahrens of Just Another Foundry</text>\n      </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-fonts-204-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="" owner="CL" status="created"\n    version="$Revision: 1.1 $" testname="$RCSfile: text-fonts-204-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#FontPropertiesUsedBySVG">\n      <p>\n        This tests the \'font-weight\' property when multiple weights are available. A\n        font family with five weights is  specified, with a fallback to \'serif\'.\n      </p>\n      <p>\n        The specified font family has five weights - 300, 400, 600, 700 and 800. \n        See the CSS3 Font specification \n        for how these are allocated to the nine weight numbers.\n      </p>\n      <p>\n        The absolute keywords \'normal\' and bold\' are tested by the first two lines on the\n        right hand side of the test, the third line of text tests the to \'bolder\' relative\n        keyword and the fourth tests the \'lighter\' relative keyword.\n      </p>\n      <p>The fonts are WOFF fonts convertted, with the author\'s explicit permission, \n       from  <a href="http://justanotherfoundry.com/zalamander">Zalamander Caps</a>\n        by Tim Ahrens of <a href="http://justanotherfoundry.com/">Just Another Foundry</a>.\n        The font names have been obfuscated, to deter \n        user agent sniffing for keywords like "Ultrabold". All weights in this generated\n        family are multiples of 100 and greater or equal to 300.</p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The numerical weight values (100 to 900) should show the lighter weights on the\n        lower numbers and the heavier weights on the larger numbers. Heavier is defined\n        to mean \'no lighter\'.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-fonts-204-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  <defs>\n    <style type="text/css">\n      @font-face {\n      font-family: ZC;\n      unicode-range: U+0-7F;\n      font-variant: small-caps;\n      font-weight: 300;\n      src: url(woffs/ZCL.woff) format("woff")\n        }\n      @font-face {\n      font-family: ZC;\n      unicode-range: U+0-7F;\n      font-variant: small-caps;\n      font-weight: 400;\n      src: url(woffs/ZCR.woff) format("woff")\n        }\n      @font-face {\n      font-family: ZC;\n      unicode-range: U+0-7F;\n      font-variant: small-caps;\n      font-weight: 600;\n      src: url(woffs/ZCSB.woff) format("woff")\n        }\n      @font-face {\n      font-family: ZC;\n      unicode-range: U+0-7F;\n      font-variant: small-caps;\n      font-weight: 700;\n      src: url(woffs/ZCB.woff) format("woff")\n        }\n      @font-face {\n      font-family: ZC;\n      unicode-range: U+0-7F;\n      font-variant: small-caps;\n      font-weight: 800;\n      src: url(woffs/ZCXB.woff) format("woff")\n        }\n    </style>\n  </defs>\n\n <g font-family="\'ZC\', serif" font-size="30" font-variant="small-caps">\n      <text font-weight="100" x="360" y="50">100</text>\n      <text font-weight="200" x="360" y="85">200</text>\n      <text font-weight="300" x="360" y="120">300</text>\n      <text font-weight="400" x="360" y="155">400</text>\n      <text font-weight="500" x="360" y="190">500</text>\n      <text fill="green" font-weight="600" x="360" y="225">600</text>\n      <text fill="green" font-weight="700" x="360" y="260">700</text>\n      <text fill="green" font-weight="800" x="360" y="295">800</text>\n      <text fill="green" font-weight="900" x="360" y="330">900</text>\n      <text font-weight="bold" x="60" y="80">This is bold</text>\n      <text font-weight="normal" x="60" y="130">This is normal</text>\n      <g font-weight="normal" fill="blue">\n        <text font-weight="bolder" x="60" y="180">Blue is bolder</text>\n      </g>\n      <g font-weight="bold" fill="blue">\n        <text font-weight="lighter" x="60" y="230">Blue is lighter</text>\n      </g>\n      <g font-size="14">\n        <text x="30" y="270">ZalamanderCaps is an OpenType font</text>\n        <text x="30" y="290">by Tim Ahrens of Just Another Foundry</text>\n      </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.1 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-intro-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: text-intro-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n      <p>\n        Test left-to-right aspect of internationalized text.\n      </p>\n      <p>\n        Various text strings in various languages appear. The main\n        purpose of the test is to verify that the correct characters\n        appear and that they appear in the correct order and orientation, even\n        though the first choice font does not have the right glyphs.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Correct rendering requires that each character is rendered. It may be rendered\n        with the \'missing glyph\' if no\n        glyphs are found in the fonts listed in the content, or in any fallback font\n        that is available. The first choice font\n        is a special SVG font that only contains the \'missing glyph\'. Missing glyph from\n        other fonts may conformantly be used, however.\n      </p>\n      <p>\n        The test is passed if the lines of text appear as follows:\n      </p>\n      <ul>\n        <li>Polish: Mogę jeść szkło, i mi ...</li>\n        <li>Russian: Я могу есть стекло, ...</li>\n        <li>Greek: Μπορώ να φάω ...</li>\n        <li>Hebrew: אני יכול לאכול זכוכית ...</li>\n        <li>Yiddish: איך קען עסן גלאָז און ...</li>\n        <li>Chinese:我能吞下玻璃而不伤身体。</li>\n        <li>Japanese: 私はガラスを食べます。</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <font id="Missy" horiz-adv-x="5">\n        <font-face font-family="MissingInAction" font-weight="normal" font-style="normal" units-per-em="8" cap-height="8" x-height="4" ascent="8" descent="2" alphabetic="0" mathematical="4" ideographic="-2" hanging="8"/>\n        <missing-glyph d="M1,3h2v2h-2z"/>\n      </font>\n    </defs>\n    <text font-size="40" fill="blue" x="5" y="40">Test left-to-right text.</text>\n    <g font-size="17" font-family="MissingInAction, Georgia, \'Arial Hebrew\', \'Arial Unicode MS\', \'LucidaSansUnicode\',\'MS-Gothic\'">\n      <text x="10" y="75">Polish: Mogę jeść szkło, i mi ...</text>\n      <text x="10" y="110">Russian: Я могу есть стекло, ...</text>\n      <text x="10" y="145" font-size="17">Greek: Μπορώ να φάω ...</text>\n      <text x="10" y="180">Hebrew: אני יכול לאכול זכוכית ... </text>\n      <text x="10" y="215">Yiddish: איך קען עסן גלאָז און ...</text>\n    </g>\n    <g font-size="17" font-family="MissingInAction, \'MS Song\', SimHei,\'LucidaSansUnicode\', \'Arial Unicode MS\'">\n      <text x="10" y="250">Chinese:我能吞下玻璃而不伤身体。</text>\n    </g>\n    <g font-size="17" font-family="MissingInAction, \'MS-Gothic\',\'LucidaSansUnicode\', \'Arial Unicode MS\'">\n      <text x="10" y="285" font-size="17">Japanese: 私はガラスを食べます。</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-intro-02-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.10 $" testname="$RCSfile: text-intro-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n      <p>\n        Test various aspects of internationalized text, including\n        left-to-right, right-to-left, and the\n        following properties: \'writing-mode\',\n        \'direction\' and \'unicode-bidi\'.\n      </p>\n      <p>\n        Various text strings in various languages appear. Ttest of bidi algorithms and support of \'unicode-bidi\' and\n        \'direction\' properties.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        This test requires installation of a system font that supports\n        the various international characters used in this test case. A\n        suitable font should be used by the SVG renderer if none of the\n        specified font families are available (or if they are available but do\n        not have the required glyphs). \n      </p>\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if the correct characters\n        appear and they appear in the correct order and orientation.\n        Ensure that the three lines with Hebrew are ordered\n        correctly, as shown in the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-02-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="17" fill="blue" x="10" y="40">unicode-bidi="bidi-override" direction="ltr".</text>\n    <g font-size="18" font-family="\'Arial Unicode MS\', \'LucidaSansUnicode\',\'MS-Gothic\'">\n      <text x="10" y="80" unicode-bidi="bidi-override" direction="ltr">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>\n    </g>\n    <text font-size="17" fill="blue" x="10" y="140">unicode-bidi="bidi-override" direction="rtl".</text>\n    <g font-size="18" font-family="\'Arial Unicode MS\', \'LucidaSansUnicode\',\'MS-Gothic\'">\n      <text x="10" y="180" unicode-bidi="bidi-override" direction="rtl" text-anchor="end">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>\n    </g>\n    <text font-size="17" fill="blue" x="10" y="240">unicode-bidi="normal" direction="rtl".</text>\n    <g font-size="18" font-family="\'Arial Unicode MS\', \'LucidaSansUnicode\',\'MS-Gothic\'">\n      <text x="10" y="280" unicode-bidi="normal" direction="rtl" text-anchor="end">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.10 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-intro-03-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: text-intro-03-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n        <p>\n          Test top-to-bottom internationalized text and the\n          following properties: \'writing-mode\',\n          \'glyph-orientation-vertical\', \'glyph-orientation-horizontal\'.\n        </p>\n        <p>\n          Various text strings in various languages appear. The main\n          purpose of the test is to verify that the correct characters\n          appear and that they appear in the correct order and orientation.\n          Ensure that the two lines of\n          vertical Japanese text have the proper orientation\n          (test of \'glyph-orientation-vertical\' property).\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        This test requires installation of a system font that supports\n        the various international characters used in this test case. A\n        suitable font should be used by the SVG renderer if none of the\n        specified font families are available (or if they are available but do\n        not have the required glyphs). To\n        minimize system dependencies, a future version of this test\n        might include all necessary glyphs as an SVG font.\n      </p>\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if first line of text has the english text "Text" and\n        "in Chinese" rotated 270 degrees and the Chinese text displayed top to\n        bottom. The second line of text has the english text "Japanese:" rotated\n        270 degrees and the Japanese text displayed top to bottom. The third\n        line of text has the letters in the english text "Japanese:" displayed\n        vertically and the Japanese text displayed top to bottom.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-03-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-size="14" font-family="\'Arial Unicode MS\', \'LucidaSansUnicode\',\'MS-Gothic\'" writing-mode="tb">\n      <text x="70" y="10">Text "我能吞下玻璃而不伤身体。" in Chinese</text>\n      <text x="230" y="10" font-size="13">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>\n      <text x="370" y="13" glyph-orientation-vertical="0" font-size="10">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>\n      <text x="120" y="80" font-size="32">xt "我能吞</text>\n      <text x="280" y="80" font-size="36">se: 私は</text>\n      <text x="420" y="80" glyph-orientation-vertical="0" font-size="32">se: 私は</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-intro-04-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: text-intro-04-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n        <p>\n          Test basic aspect of internationalized text.\n        </p>\n        <p>\n          Various text strings in various languages appear. The main\n          purpose of the test is to verify that the correct characters\n          appear and that they appear in the correct order and orientation.\n        </p>\n        <p>\n          A future version of this test\n          might include all necessary glyphs as an SVG font.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Correct rendering requires that each character is rendered. It is not required that a given character\n        be rendered with any particular font; just that it is rendered.\n        It may be rendered with the \'missing glyph\' if no\n        glyphs are found in the fonts listed in the content, or in any fallback font that is available.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-04-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-family="Arial" font-size="16" fill="blue" x="10" y="20">Test horizontal text.</text>\n    <g font-size="17" font-family="\'Arial Hebrew\', \'Arial Unicode MS\', \'LucidaSansUnicode\',\'MS-Gothic\'">\n      <text x="10" y="60">Polish: Mogę jeść szkło, i mi nie szkodzi.</text>\n      <text x="10" y="90">Russian: Я могу есть стекло, это мне не вредит.</text>\n      <text x="10" y="120" font-size="15">Greek: Μπορώ να φάω σπασμένα γυαλιά χωρίς να πάθω τίποτα.</text>\n      <!-- Greek and japanese smaller just to make it fit on the line -->\n      <text x="10" y="150">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>\n      <text x="10" y="180">Yiddish: איך קען עסן גלאָז און עס טוט מיר נישט װײ.</text>\n      <text x="10" y="210">Chinese:我能吞下玻璃而不伤身体。</text>\n      <text x="10" y="240" font-size="15">Japanese: 私はガラスを食べられます。それは私を傷つけません。</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-intro-05-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CL" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: text-intro-05-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n      <p>\n        Tests Arabic text using various platform fonts. If these fonts are not available,\n        a fallback font should be used that has Arabic glyphs. If such a font is not available,\n        the \'missing glyph\' (typically an open rectangle) should be displayed. It is an error\n        to display the wrong Arabic glyphs, for example to display all isolate forms.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The text should be positioned such that the begining of the start of the\n        Arabic text is at very right of the test and runs towards the left of\n        the test border.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-05-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18" direction="rtl">\n    <text x="460" y="80" text-anchor="start" xml:lang="ar" font-size="30" font-family="Andalus">لماذا لا يتكلمون اللّغة العربية فحسب؟</text>\n    <!-- andalus font comes with Windows 2000 and XP -->\n    <text x="460" y="160" text-anchor="start" xml:lang="ar" font-size="36" font-family="\'Diwani Letter\'">لماذا لا يتكلمون اللّغة العربية فحسب؟</text>\n    <!-- Diwani fonts come with Microsoft Arabic fonts extension for Office XP\nhttp://www.microsoft.com/downloads/details.aspx?FamilyID=A83C0E03-8913-47A3-ACB7-8AC357627620&displaylang=AR -->\n    <text x="460" y="240" text-anchor="start" xml:lang="ar" font-size="30" font-family="\'Nafees Naskh\'">لماذا لا يتكلمون اللّغة العربية فحسب؟</text>\n    <!-- Nafees Nastaleeq and Nafees Naskh are  freely available from \n  the Center for Research in Urdu Language Processing (CRULP http://www.crulp.org  ) \n  at the National University of Computer and Emerging Sciences, Pakistan \n  ( http://www.nu.edu.pk ) -->\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-intro-06-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="CL" status="accepted"\n    version="$Revision: 1.10 $" testname="$RCSfile: text-intro-06-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n        <p>\n          This test ensures that mandatory ligatures in Arabic are displayed.\n          This test uses WOFF fonts for rendering, with platform fonts for fallback.\n        </p>\n        <p>\n          There are two subtests. The first\n          requires an isolate lam-alef ligature and the second requires\n          a right-joining lam-alef ligature.\n        </p>\n        <p>\n          The first subtest has the word for  \'tools\', آلات\n          0622:   آ  ARABIC LETTER ALEF WITH MADDA ABOVE\n          0644:   ل  ARABIC LETTER LAM\n          0627:   ا  ARABIC LETTER ALEF\n          062A:   ت  ARABIC LETTER TEH\n        </p>\n        <p>\n          The second subtest has the word for \'three\', ثلاثة\n          062B:   ث  ARABIC LETTER THEH\n          0644:   ل  ARABIC LETTER LAM\n          0627:   ا  ARABIC LETTER ALEF\n          062B:   ث  ARABIC LETTER THEH\n          0629:   ة  ARABIC LETTER TEH MARBUTA\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if subtests are displayed as following:\n      </p>\n      <ul>\n        <li>The first subtest has the word for \'tools\', آلات</li>\n        <li>The second subtest has the word for \'three\', ثلاثة</li>\n      </ul>\n      <p>In the first subtest, there must be an isolate lam-alef ligature \n      and in the second subtest there must be  a right-joining lam-alef \n      ligature, (so that them, lam and alef are all connected), as in the reference image.\n      </p>\n      <p>The precise glyph shapes will depend on which font was used for rendering,\n      and do not affect the pass criteria. Only the presence of the \n      mandatory ligatures is tested here.</p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-06-t.svg,v $</title>\n  <style type="text/css">\n    @font-face {\n      font-family: Scheherezade;\n      src: url(woffs/ScheherazadeRegOT.woff) format("woff")\n      }\n  </style>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-family="Kayrawan, Scheherezade, Andalus, Diwani Letter, serif" font-size="60" direction="rtl">\n      <path d="M10,120 L470,120" stroke="#BBB" />\n      <path d="M10,240 L470,240" stroke="#BBB" />\n      <text text-anchor="middle" x="240" y="120" font-size="140" xml:lang="ar" fill="#700">آلات</text>\n      <text text-anchor="middle" x="240" y="240" font-size="140" xml:lang="ar" fill="#700">ثلاثة</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.10 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-intro-07-t.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="CL" status="accepted"\n    version="$Revision: 1.2 $" testname="$RCSfile: text-intro-07-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#CharactersAndGlyphs">\n      <p>This test ensures that mandatory ligatures in Arabic are displayed.</p>\n      <p>\n        There are two subtests. The first requires an isolate lam-alef ligature\n        and the second requires a right-joining lam-alef ligature.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>Run the test. No interaction required.</p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if subtests are displayed as following:\n      </p>\n      <ul>\n        <li>The first subtest has the word for \'tools\', آلات</li>\n        <li>The second subtest has the word for \'three\', ثلاثة</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-07-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <g font-family="Andalus,Diwani Letter,serif">\n      <path d="M10,120 L470,120" stroke="#BBB" />\n      <path d="M10,240 L470,240" stroke="#BBB" />\n      <text text-anchor="middle" x="240" y="120" font-size="140" xml:lang="ar" fill="#700">آلات</text>\n      <text text-anchor="middle" x="240" y="240" font-size="140" xml:lang="ar" fill="#700">ثلاثة</text>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>'},
  {name: 'text-intro-09-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: text-intro-09-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n      <p>\n        Test various aspects of internationalized text, including\n        left-to-right, right-to-left, and the\n        following properties: \'writing-mode\',\n        \'direction\' and \'unicode-bidi\'.\n      </p>\n      <p>\n        Various text strings in various languages appear. Test of bidi algorithms and support of \'unicode-bidi\' and\n        \'direction\' properties. Uses Webfonts.\n      </p>\n      <p>\n        This test uses Webfonts; both SVG and WOFF fonts are provided.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required. Make sure scripting is enabled.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if the correct characters\n          appear and they appear in the correct order and orientation.\n          Ensure that the three lines with Hebrew are ordered\n          correctly, as shown in the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-09-b.svg,v $</title>\n  <defs>\n    <style type="text/css">\n  @font-face {\n      font-family: Ezra SIL SR;\n      src: url(woffs/EzraSILSR.woff) format("woff");\n  }\n    </style>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n    <font-face font-family="SVGHebrew" unicode-range="U+000D-FEFF">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/Heb.svg#SVGHebrew"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text font-size="17" fill="blue" x="10" y="40">unicode-bidi="bidi-override" direction="ltr".</text>\n    <g font-size="18" font-family="SVGHebrew, \'Ezra SIL SR\', serif">\n      <text x="10" y="80" unicode-bidi="bidi-override" direction="ltr">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>\n    </g>\n    <text font-size="17" fill="blue" x="10" y="140">unicode-bidi="bidi-override" direction="rtl".</text>\n    <g font-size="18" font-family="SVGHebrew, \'Ezra SIL SR\', serif">\n      <text x="10" y="180" unicode-bidi="bidi-override" direction="rtl" text-anchor="end">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>\n    </g>\n    <text font-size="17" fill="blue" x="10" y="240">unicode-bidi="normal" direction="rtl".</text>\n    <g font-size="18" font-family="SVGHebrew, \'Ezra SIL SR\', serif">\n      <text x="10" y="280" unicode-bidi="normal" direction="rtl" text-anchor="end">Text "אני יכול לאכול זכוכית וזה לא מזיק לי" is in Hebrew</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-intro-10-f.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="" author="CL" status="created"\n    version="$Revision: 1.2 $" testname="$RCSfile: text-intro-10-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n      <p>\n        Tests Arabic text using various platform fonts. If these fonts are not available,\n        a fallback font should be used that has Arabic glyphs. If such a font is not available,\n        the \'missing glyph\' (typically an open rectangle) should be displayed. It is an error\n        to display the wrong Arabic glyphs, for example to display all isolate forms.\n      </p>\n      <p>This test uses writing-mode and direction to set the text as right-to-left.</p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The text should be positioned such that the begining of the start of the\n        Arabic text is at very right of the test and runs towards the left of\n        the test border.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-10-f.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  <g writing-mode="rl" direction="rtl">\n    <text x="460" y="80" text-anchor="start" xml:lang="ar" font-size="30" font-family="Andalus">لماذا لا يتكلمون اللّغة العربية فحسب؟</text>\n    <!-- andalus font comes with Windows 2000 and XP -->\n    <text x="460" y="160" text-anchor="start" xml:lang="ar" font-size="36" font-family="\'Diwani Letter\'">لماذا لا يتكلمون اللّغة العربية فحسب؟</text>\n    <!-- Diwani fonts come with Microsoft Arabic fonts extension for Office XP\nhttp://www.microsoft.com/downloads/details.aspx?FamilyID=A83C0E03-8913-47A3-ACB7-8AC357627620&displaylang=AR -->\n    <text x="460" y="240" text-anchor="start" xml:lang="ar" font-size="30" font-family="\'Nafees Naskh\'">لماذا لا يتكلمون اللّغة العربية فحسب؟</text>\n    <!-- Nafees Nastaleeq and Nafees Naskh are  freely available from \n  the Center for Research in Urdu Language Processing (CRULP http://www.crulp.org  ) \n  at the National University of Computer and Emerging Sciences, Pakistan \n  ( http://www.nu.edu.pk ) -->\n  </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-intro-11-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="CL" status="created"\n    version="$Revision: 1.2 $" testname="$RCSfile: text-intro-11-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n    <!-- derived from svg1.1 text-intro-06-t -->\n        <p>\n          This test ensures that mandatory ligatures in Arabic are displayed.\n          Three values for text-anchor are also tested;\n          middle,\n          start and\n          end.\n          This test uses platform fonts for rendering.\n        </p>\n        <p>\n          There are two subtests. The first\n          requires an isolate lam-alef ligature and the second requires\n          a right-joining lam-alef ligature.\n        </p>\n        <p>\n          The first subtest has the word for  \'tools\', آلات\n          0622:   آ  ARABIC LETTER ALEF WITH MADDA ABOVE\n          0644:   ل  ARABIC LETTER LAM\n          0627:   ا  ARABIC LETTER ALEF\n          062A:   ت  ARABIC LETTER TEH\n        </p>\n        <p>\n          The second subtest has the word for \'three\', ثلاثة\n          062B:   ث  ARABIC LETTER THEH\n          0644:   ل  ARABIC LETTER LAM\n          0627:   ا  ARABIC LETTER ALEF\n          062B:   ث  ARABIC LETTER THEH\n          0629:   ة  ARABIC LETTER TEH MARBUTA\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if the blue glyphs آ and ث touch the first vertical\n        line. The second vertical line falls in middle of the brown glyphs\n        inbetween آلا and ت and inbetween ثلا and ثة. The black glyphs ت and ة\n        touch the last vertical line.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-11-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-family="Andalus,Diwani Letter,serif" font-size="60">\n      <path d="M120,10 L120,280" stroke="#BBB"/>\n      <path d="M240,10 L240,280" stroke="#BBB"/>\n      <path d="M360,10 L360,280" stroke="#BBB"/>\n      <path d="M10,120 L470,120" stroke="#BBB"/>\n      <path d="M10,240 L470,240" stroke="#BBB"/>\n      <text text-anchor="middle" x="240" y="120" xml:lang="ar" fill="#700">آلات</text>\n      <text text-anchor="start" x="360" y="120" xml:lang="ar">آلات</text>\n      <text text-anchor="end" x="120" y="120" xml:lang="ar" fill="#009">آلات</text>\n      <text text-anchor="middle" x="240" y="240" xml:lang="ar" fill="#700">ثلاثة</text>\n      <text text-anchor="start" x="360" y="240" xml:lang="ar">ثلاثة</text>\n      <text text-anchor="end" x="120" y="240" xml:lang="ar" fill="#009">ثلاثة</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.2 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-intro-12-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="" author="CL" status="created"\n    version="$Revision: 1.3 $" testname="$RCSfile: text-intro-12-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#Introduction">\n        <p>\n          This test ensures that mandatory ligatures in Arabic are displayed.\n          This test uses downloaded WOFF fonts for rendering.\n        </p>\n        <p>\n          There are two subtests. The first\n          requires an isolate lam-alef ligature and the second requires\n          a right-joining lam-alef ligature.\n        </p>\n        <p>\n          The first subtest has the word for  \'tools\', آلات\n          0622:   آ  ARABIC LETTER ALEF WITH MADDA ABOVE\n          0644:   ل  ARABIC LETTER LAM\n          0627:   ا  ARABIC LETTER ALEF\n          062A:   ت  ARABIC LETTER TEH\n        </p>\n        <p>\n          The second subtest has the word for \'three\', ثلاثة\n          062B:   ث  ARABIC LETTER THEH\n          0644:   ل  ARABIC LETTER LAM\n          0627:   ا  ARABIC LETTER ALEF\n          062B:   ث  ARABIC LETTER THEH\n          0629:   ة  ARABIC LETTER TEH MARBUTA\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if subtests are displayed as following:\n      </p>\n      <ul>\n        <li>The first subtest has the word for \'tools\', آلات</li>\n        <li>The second subtest has the word for \'three\', ثلاثة</li>\n      </ul>\n      <p>In the first subtest, there must be an isolate lam-alef ligature \n      and in the second subtest there must be  a right-joining lam-alef \n      ligature, as in the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-intro-12-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <style type="text/css">\n      @font-face {\n        font-family: Scheherazade;\n        src: url(woffs/ScheherazadeRegOT.woff) format("woff");\n      }\n    </style>\n    <g font-family="Scheherazade,serif" font-size="60" direction="rtl">\n      <path d="M10,120 L470,120" stroke="#BBB" />\n      <path d="M10,240 L470,240" stroke="#BBB" />\n      <text text-anchor="middle" x="240" y="120" font-size="140" xml:lang="ar" fill="#700">آلات</text>\n      <text text-anchor="middle" x="240" y="240" font-size="140" xml:lang="ar" fill="#700">ثلاثة</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-path-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="Shenxue Zhou" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: text-path-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextOnAPath">\n      <p>\n        Test textPath element in combination with the tspan element. Properties\n        of the text on a path are changed using the tspan element.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required. Make sure scripting is enabled.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        For this test to pass the rendered output must match the reference\n        image. The letters "Te" in first "Text on a path" sentence must be\n        colored pink and offset from the path in the y direction.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-path-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <defs>\n      <path id="Path1" fill="none" stroke="blue" d="M199 89.3 C206.6 66.6 235.8 13.2 270 30.3 286.6 38.6 298.9 59.4 310 73.3 321.7 87.9 338.6      99 356 103.3 387.3 111.1 396.6 90.4 418 74.3"/>\n      <path id="Path2" fill="none" stroke="blue" d="M33.5 145.8 C41 123 70.3 69.7 104.5 86.8 121 95 133 116 144.5 129.8 156.2 144.4 173 155.5     190.5 159.8 221.8 167.6 231 146.9 252.5 130.8"/>\n      <path id="Path3" fill="none" stroke="blue" stroke-width="4" d="M113 233 L413 233 "/>\n    </defs>\n    <g id="text-on-path-01">\n      <use xlink:href="#Path1" fill="none" stroke="blue"/>\n      <text font-size="36" font-family="Georgia" fill="black">\n        <textPath xlink:href="#Path1">Text on a path</textPath>\n      </text>\n    </g>\n    <g id="text-on-path-02">\n      <!-- using tspan to change text color and position -->\n      <use xlink:href="#Path2" fill="none" stroke="blue"/>\n      <text font-size="36" font-family="Georgia" fill="black">\n        <textPath xlink:href="#Path2">\n          <tspan dy="-12" fill="fuchsia">Te</tspan><tspan dy="12">x</tspan>t on a path\n        </textPath>\n      </text>\n      <rect x="17" y="169" width="274" height="41" fill="none" stroke="black"/>\n      <text x="19" y="185" font-size="20" font-family="Arial">\'tspan\' subelement inside </text>\n      <text x="19" y="207" font-size="20" font-family="Arial">the \'textPath\' element.</text>\n    </g>\n    <g id="text-on-path-03">\n      <use xlink:href="#Path3" fill="none" stroke="blue" stroke-width="4"/>\n      <text font-size="24" font-family="Arial" fill="black">\n        <textPath xlink:href="#Path3" startOffset="33%">The Text on path</textPath>\n      </text>\n      <rect x="118" y="250" width="260" height="41" fill="none" stroke="black"/>\n      <text x="120" y="267" font-size="20" font-family="Arial">\'startOffset\' attribute of the</text>\n      <text x="120" y="287" font-size="20" font-family="Arial">\'textPath\' element.</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-path-02-b.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AG" author="ED" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: text-path-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html">\n        <p>\n          This tests the <a>\'textPath/startOffset\'</a> with both negative and positive values, and\n          compares it to the case where a <a>\'tspan/dx\'</a> attribute is used with the same values.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required. Make sure scripting is enabled.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        You should see four paths with text following each path.\n        The top two paths should show the text "Negative offset", and the bottom two paths should show the text\n        "Positive offset".\n      </p>\n      <p>\n        The test has passed if:\n      </p>\n      <ul>\n        <li>the top two paths show the text "Negative offset"</li>\n        <li>the bottom two paths show the text "Positive offset"</li>\n        <li>the text on the bottom two paths starts a bit along the path</li>\n        <li>the text on the top two paths starts close to where the path starts (the first character is allowed to be slightly off the path)</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-path-02-b.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII, FreeSansWoff, sans-serif" font-size="18">\n    <defs>\n      <style type="text/css">\n      @font-face {\n        font-family: FreeSansWoff;\n        src: url(woffs/FreeSans.woff) format("woff");\n        }\n      </style>\n      <path id="Path1" fill="none" stroke="blue"  d="M199 89.3 C206.6 66.6 235.8 13.2 270 30.3 286.6 38.6 298.9 59.4 310 73.3 321.7 87.9 338.6      99 356 103.3 387.3 111.1 396.6 90.4 418 74.3"/>\n      <path id="Path2" fill="none" stroke="blue"  d="M33.5 145.8 C41 123 70.3 69.7 104.5 86.8 121 95 133 116 144.5 129.8 156.2 144.4 173 155.5     190.5 159.8 221.8 167.6 231 146.9 252.5 130.8"/>\n    </defs>\n    <g id="text-on-path-01">\n      <use xlink:href="#Path1" fill="none" stroke="blue" />\n      <text font-size="36" fill="black" >\n        <textPath xlink:href="#Path1"><tspan dx="-240">Positive offset Negative offset</tspan></textPath>\n      </text>\n    </g>\n    <g id="text-on-path-02">\n      <use xlink:href="#Path2" fill="none" stroke="blue" />\n      <text font-size="36" fill="black" >\n        <textPath xlink:href="#Path2" startOffset="-240">Positive offset Negative offset</textPath>\n      </text>\n    </g>\n    <g transform="translate(0 150)">\n    <g id="text-on-path-03">\n      <use xlink:href="#Path1" fill="none" stroke="blue" />\n      <text font-size="36" fill="black" >\n        <textPath xlink:href="#Path1"><tspan dx="60">Positive offset Negative offset</tspan></textPath>\n      </text>\n    </g>\n    <g id="text-on-path-04">\n      <use xlink:href="#Path2" fill="none" stroke="blue" />\n      <text font-size="36" fill="black" >\n        <textPath xlink:href="#Path2" startOffset="60">Positive offset Negative offset</textPath>\n      </text>\n    </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-spacing-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 80 60"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Jon Ferraiolo" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: text-spacing-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#SpacingProperties">\n      <p>\n        Test properties \'letter-spacing\' and \'word-spacing\'\n      </p>\n      <p>\n        The first three lines test property \'letter-spacing\', with\n        values 0, -1 and .3em respectively.\n      </p>\n      <p>\n        The next three lines test property \'word-spacing\', with\n        values 0, -3 and 3em respectively.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        This test is passed if:\n      </p>\n      <ul>\n        <li>\n          The first three lines of text have the letters in the word\n          "letter-spacing" spaced according to the values 0, -1 and 0.3em\n          respectively.\n        </li>\n        <li>\n          The last three lines of text have the words in the sentence\n          "Two Words" spaced according to the values 0, -3 and 3em respectively.\n        </li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-spacing-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-family="Arial" font-size="8">\n      <text x="3" y="8"> letter-spacing:0 </text>\n      <text x="3" y="16" letter-spacing="-1">letter-spacing:-1</text>\n      <text x="3" y="24" letter-spacing=".3">letter-spacing:.3</text>\n      <text x="3" y="33">ws:0 - Two Words</text>\n      <text x="3" y="41" word-spacing="-3">ws:-3 - Two Words</text>\n      <text x="3" y="49" word-spacing="3">ws:3 - Two Words</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="6">\n    <text id="revision" x="10" y="57" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="78" height="58" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 160 120"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.8 $" testname="$RCSfile: text-text-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n      <p>\n        Test viewer capibility to handle basic use of \'textLength\'\n        and \'lengthAdjust\' attributes.\n      </p>\n      <p>\n        There are four pairs of sub-tests.  Each pair of sub-tests consists\n        of the same two strings:  "Line to Stretch" on the left, and "this is\n        a line to squeeze" on the right.\n      </p>\n      <p>\n        The first (topmost) pair contains no occurrences of the textLength and\n        lengthAdjust attributes in the \'text\' elements.\n        The pink reference line under each of the top\n        two strings indicates the approximate length of the strings.  Since\n        the lengths are not constrained by the \'textLength\' attribute, small\n        variations of the lengths are permissible.\n      </p>\n      <p>\n        The remaining three pairs each applies \'textLength\' attributes to the\n        strings.  In the leftmost sub-test of each pair, the \'textLength\' value\n        will cause a stretching of the string of approximately 25% over the\n        "normal" length.  In the rightmost sub-test of each pair, the \'textLength\' value\n        will cause a squeezing of the string of approximately 20% under the\n        "normal" length for the string.\n      </p>\n      <p>\n        In each of the sub-tests with an application of \'textLength\', the\n        pink reference lines indicate the exact extent of the rendered text.\n        The rendered text should fit snugly just within the ticks at the end of\n        the pink lines.\n      </p>\n      <p>\n        The second pair from the top contains \'textLength\' but no \'lengthAdjust\'\n        attributes.  In this case, the effect should be as if the value "spacing"\n        were specified.  Only the inter-character advancement and inter-word spacing\n        should change.  The aspect ratio of the glyphs should be unaffected.  The\n        reference image illustrates one valid way to achieve this, by a\n        uniform increase or decrease of inter-character advancement.\n      </p>\n      <p>\n        The third pair from the top explicitly sets \'lengthAdjust\' value\n        to "spacing".  Therefore it should be rendered identically to the second pair.\n      </p>\n      <p>\n        The fourth (bottommost) sub-test pair explicitly sets \'lengthAdjust\' value\n        to "spacingAndGlyphs".  The advancements between characters and words, as well as\n        the glyph aspect ratios should be affected.\n        The reference image illustrates one valid way to achieve\n        this, by a uniform expansion or compression of the string as a whole.\n        This effect is equivalent to application of a "scale(xfactor, 1.0)" transformation\n        to the \'text\' elements.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The rendered picture should match the reference image, except as noted in the Test Description.\n        In particular, the \'textLength\' constraint must be satisfied precisely,\n        and the basic rules associated with the "spacing" and "spacingAndGlyphs" values\n        of \'lengthAdjust\' must be met, but the precise algorithm for meeting all\n        of the required contraints is otherwise unspecified.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="14" y="10" font-size="10" fill="black">Basic test of \'textLength\' </text>\n    <text x="10" y="20" font-size="10" fill="black">and \'lengthAdjust\' attributes.</text>\n    <!-- Test cases 1&2: all defaults -->\n    <g id="test-1-2">\n      <!-- The text lines -->\n      <g font-size="8" fill="blue">\n        <text x="3" y="30">Line to Stretch</text>\n        <text x="75" y="30">this is a line to squeeze</text>\n      </g>\n      <!-- Length reference lines -->\n      <!-- (half ticks here only, as these lengths can validly vary slightly) -->\n      <g stroke="fuchsia">\n        <line x1="2" y1="32" x2="56" y2="32"/>\n        <!--      <line x1="39" y1="70" x2="39" y2="84" /> -->\n        <line x1="2" y1="32" x2="2" y2="36"/>\n        <!--      <line x1="145" y1="70" x2="145" y2="84" /> -->\n        <line x1="56" y1="32" x2="56" y2="36"/>\n        <line x1="74" y1="32" x2="158" y2="32"/>\n        <!--      <line x1="244" y1="70" x2="244" y2="84" /> -->\n        <line x1="74" y1="32" x2="74" y2="36"/>\n        <!--      <line x1="412" y1="70" x2="412" y2="84" /> -->\n        <line x1="158" y1="32" x2="158" y2="36"/>\n      </g>\n      <!-- Labels -->\n      <g font-size="6" fill="black">\n        <text x="6" y="38">textLength: default</text>\n        <text x="6" y="44">lengthAdjust: default</text>\n        <text x="76" y="38">textLength: default</text>\n        <text x="76" y="44">lengthAdjust: default</text>\n      </g>\n    </g>\n    <!-- Test cases 3&4: define textLength, default lengthAdjust-->\n    <g id="test-3-4" transform="translate(0,22)">\n      <!-- The text lines -->\n      <g font-size="8" fill="blue">\n        <text x="3" y="30" textLength="65">Line to Stretch</text>\n        <text x="75" y="30" textLength="65">this is a line to squeeze</text>\n      </g>\n      <!-- Length reference lines -->\n      <g stroke="fuchsia">\n        <line x1="2" y1="32" x2="69" y2="32"/>\n        <line x1="2" y1="32" x2="2" y2="36"/>\n        <line x1="69" y1="32" x2="69" y2="36"/>\n        <line x1="74" y1="32" x2="141" y2="32"/>\n        <line x1="74" y1="32" x2="74" y2="36"/>\n        <line x1="141" y1="32" x2="141" y2="36"/>\n      </g>\n      <!-- Labels -->\n      <g font-size="6" fill="black">\n        <text x="6" y="38">textLength: 25% longer</text>\n        <text x="6" y="44">lengthAdjust: default</text>\n        <text x="76" y="38">textLength: 15% shorter</text>\n        <text x="76" y="44">lengthAdjust: default</text>\n      </g>\n    </g>\n    <!-- Test cases 5&6: define textLength, lengthAdjust=spacing -->\n    <g id="test-5-6" transform="translate(0,44)">\n      <!-- The text lines -->\n      <g font-size="8" fill="blue">\n        <text x="3" y="30" textLength="65" lengthAdjust="spacing">Line to Stretch</text>\n        <text x="75" y="30" textLength="65" lengthAdjust="spacing">this is a line to squeeze</text>\n      </g>\n      <!-- Length reference lines -->\n      <g stroke="fuchsia">\n        <line x1="2" y1="32" x2="69" y2="32"/>\n        <line x1="2" y1="32" x2="2" y2="36"/>\n        <line x1="69" y1="32" x2="69" y2="36"/>\n        <line x1="74" y1="32" x2="141" y2="32"/>\n        <line x1="74" y1="32" x2="74" y2="36"/>\n        <line x1="141" y1="32" x2="141" y2="36"/>\n      </g>\n      <!-- Labels -->\n      <g font-size="6" fill="black">\n        <text x="3" y="38">textLength: 25% longer</text>\n        <text x="3" y="44">lengthAdjust: spacing</text>\n        <text x="76" y="38">textLength: 15% shorter</text>\n        <text x="76" y="44">lengthAdjust: spacing</text>\n      </g>\n    </g>\n    <!-- Test cases 7&8: define textLength, lengthAdjust=spacingAndGlyphs -->\n    <g id="test-7-8" transform="translate(0,66)">\n      <!-- The text lines -->\n      <g font-size="8" fill="blue">\n        <text x="3" y="30" textLength="65" lengthAdjust="spacingAndGlyphs">Line to Stretch</text>\n        <text x="75" y="30" textLength="65" lengthAdjust="spacingAndGlyphs">this is a line to squeeze</text>\n      </g>\n      <!-- Length reference lines -->\n      <g stroke="fuchsia">\n        <line x1="2" y1="32" x2="69" y2="32"/>\n        <line x1="2" y1="32" x2="2" y2="36"/>\n        <line x1="69" y1="32" x2="69" y2="36"/>\n        <line x1="74" y1="32" x2="141" y2="32"/>\n        <line x1="74" y1="32" x2="74" y2="36"/>\n        <line x1="141" y1="32" x2="141" y2="36"/>\n      </g>\n      <!-- Labels -->\n      <g font-size="6" fill="black">\n        <text x="6" y="38">textLength: 25% longer</text>\n        <text x="6" y="44">lengthAdjust: sAG</text>\n        <text x="76" y="38">textLength: 20% shorter</text>\n        <text x="76" y="44">lengthAdjust: sAG</text>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="8">\n    <text id="revision" x="10" y="117" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="158" height="118" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-03-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Shenxue Zhou" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: text-text-03-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n      <p>\n        Test text element, tspan element and various text decorations\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if:\n      </p>\n      <ul>\n        <li>the word "Plain" is displayed using a blue serif font</li>\n        <li>the word "Italic" is displayed using a blue italic serif font</li>\n        <li>the word "Bold" is displayed using a blue serif bold font</li>\n        <li>the words "Line through" are displayed with a line through, using a pink serif font</li>\n        <li>the word "Underline" is displayed underlined using a blue serif font</li>\n        <li>the words "Bold, italic and underlined" are displayed underlined using a bold italic serif font</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-03-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n    <font-face font-family="FreeSerif" unicode-range="U+0-7F" font-weight="400">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/FreeSerif.svg#FreeSerif"/>\n      </font-face-src>\n    </font-face>\n    <font-face font-family="FreeSerif" unicode-range="U+0-7F" font-weight="700">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/FreeSerifBold.svg#FreeSerifBold"/>\n      </font-face-src>\n    </font-face>\n    <font-face font-family="FreeSerif" unicode-range="U+0-7F" font-weight="400" font-style="italic">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/FreeSerifItalic.svg#FreeSerifItalic"/>\n      </font-face-src>\n    </font-face>\n    <font-face font-family="FreeSerif" unicode-range="U+0-7F" font-weight="700"  font-style="italic">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/FreeSerifBoldItalic.svg#FreeSerifBoldItalic"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="FreeSerif, serif" font-size="18">\n    <text x="19" y="61" font-size="32" fill="blue">Plain</text>\n    <text x="142" y="61" font-size="32" font-style="italic" fill="blue">Italic</text>\n    <text x="257" y="60" font-size="32" font-weight="bold" fill="blue">Bold</text>\n    <text x="224" y="110" font-size="32" fill="blue" text-decoration="underline">Underline</text>\n    <text x="39" y="147" font-size="32" fill="fuchsia" text-decoration="line-through">Line through</text>\n    <text x="1" y="200" font-size="32" font-style="italic" font-weight="bold" fill="black" text-decoration="underline">Bold, italic and underlined</text>\n    <g>\n      <rect x="50" y="225" width="380" height="64" fill="none" stroke="black" stroke-width="2"/>\n      <g font-family="SVGFreeSansASCII,sans-serif">\n        <text x="55" y="245" font-size="24" fill="black">Each line of text which flows in a </text>\n        <text x="55" y="265" font-size="24" fill="black">rectangular box has to be broken</text>\n        <text x="55" y="285" font-size="24" fill="black">into separated lines.</text>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-04-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AE" author="VH" status="accepted"\n    version="$Revision: 1.12 $" testname="$RCSfile: text-text-04-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n        <p>\n          The purpose of this test is to validate proper handling of\n          the text element\'s x and y attributes.\n          In the various samples, a orange marker shows the text\'s (0,0)\n          coordinate. The blue markers show the current text positions.\n          These are either defined by absolute x/y positioning or they\n          are computed from the embeded font\'s glyphs advances.\n        </p>\n        <p>\n          The first text sample shows a reference piece of text.\n        </p>\n        <p>\n          The second text sample (x all) shows a piece of text where\n          all the glyphs are positioned along the x axis.\n        </p>\n        <p>\n          The third text sample (x more) is a text element where there\n          are more x values than characters (5 values for 4 characters).\n          The last x value should be ignored and the result should\n          be the same as the third sample.\n        </p>\n        <p>\n          The fourth text sample (x fewer) is a text element where there\n          are fewer x values than characters (3 values for 4 characters).\n          The last character should not be positioned but laid out normally,\n          following its previous character sibling.\n        </p>\n        <p>\n          The fifth (y all), sixth (y more) and seventh (y fewer) text sample\n          parallel the second,\n          third and fourth test, but for the y attribute values.\n        </p>\n        <p>\n          The samples in the right column show combinations of x/y\n          value sets.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        In all the above tests, blue markers represent the expected glyph\n        positions. The orange markers are showing positions where no glyph\n        should appear. The glyphs are black squares of increasing sizes.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-04-t.svg,v $</title>\n  <style type="text/css">\n  @font-face {\n    font-family: embeded;\n    src: url(woffs/embeded-text-text-04.woff) format("woff");\n    }\n  </style>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n    <font id="embeded" horiz-adv-x="224">\n      <font-face font-family="embeded" units-per-em="1000" ascent="1000" descent="-250" alphabetic="0"/>\n      <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V750H100V50H700Z"/>\n      <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="750" d="M 0 0 L 250 0 L 250 250 L 0 250 Z"/>\n      <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="750" d="M 0 0 L 500 0 L 500 500 L 0 500 Z"/>\n      <glyph unicode="3" glyph-name="gl_3" horiz-adv-x="750" d="M 0 0 L 750 0 L 750 750 L 0 750 Z"/>\n      <glyph unicode="4" glyph-name="gl_4" horiz-adv-x="750" d="M 0 0 L 1000 0 L 1000 1000 L 0 1000 Z"/>\n    </font>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <g font-size="16">\n      <g id="reference" transform="translate(130, 40)">\n        <text text-anchor="end" x="-30">Reference</text>\n        <g>\n          <use xlink:href="#marker" x="0" fill="#8888FF"/>\n          <use xlink:href="#marker" x="15" fill="#8888FF"/>\n          <use xlink:href="#marker" x="30" fill="#8888FF"/>\n          <use xlink:href="#marker" x="45" fill="#8888FF"/>\n          <text id="ref" font-family="embeded" font-size="20">1234</text>\n        </g>\n      </g>\n      <defs>\n        <rect id="marker" x="-4" y="-4" width="8" height="8"/>\n      </defs>\n      <g id="xAll" transform="translate(130, 80)">\n        <text text-anchor="end" x="-30">x all</text>\n        <use xlink:href="#marker" x="0" fill="orange"/>\n        <use xlink:href="#marker" x="20" fill="#8888FF"/>\n        <use xlink:href="#marker" x="40" fill="#8888FF"/>\n        <use xlink:href="#marker" x="60" fill="#8888FF"/>\n        <use xlink:href="#marker" x="80" fill="#8888FF"/>\n        <text font-family="embeded" font-size="20" x="20 40 60 80">1234</text>\n      </g>\n\n      <g id="xMore" transform="translate(130, 120)">\n        <text text-anchor="end" x="-30">x more</text>\n        <use xlink:href="#marker" x="0" fill="orange"/>\n        <use xlink:href="#marker" x="20" fill="#8888FF"/>\n        <use xlink:href="#marker" x="40" fill="#8888FF"/>\n        <use xlink:href="#marker" x="60" fill="#8888FF"/>\n        <use xlink:href="#marker" x="80" fill="#8888FF"/>\n        <use xlink:href="#marker" x="100" fill="orange"/>\n        <text font-family="embeded" font-size="20" x="20 40 60 80 100">1234</text>\n      </g>\n\n      <g id="xFewer" transform="translate(130, 160)">\n        <text text-anchor="end" x="-30">x fewer</text>\n        <use xlink:href="#marker" x="0" fill="orange"/>\n        <use xlink:href="#marker" x="20" fill="#8888FF"/>\n        <use xlink:href="#marker" x="40" fill="#8888FF"/>\n        <use xlink:href="#marker" x="60" fill="#8888FF"/>\n        <use xlink:href="#marker" x="75" fill="#8888FF"/>\n        <text font-family="embeded" font-size="20" x="20 40 60">1234</text>\n      </g>\n\n      <g id="yAll" transform="translate(130, 200)">\n        <text text-anchor="end" x="-30">y all</text>\n        <use xlink:href="#marker" x="0" y="-10" fill="#8888FF"/>\n        <use xlink:href="#marker" x="15" y="-5" fill="#8888FF"/>\n        <use xlink:href="#marker" x="30" y="5" fill="#8888FF"/>\n        <use xlink:href="#marker" x="45" y="10" fill="#8888FF"/>\n        <text font-family="embeded" font-size="20" y="-10 -5 5 10">1234</text>\n      </g>\n\n      <g id="yMore" transform="translate(130, 250)">\n        <text text-anchor="end" x="-30">y more</text>\n        <use xlink:href="#marker" x="0" y="-10" fill="#8888FF"/>\n        <use xlink:href="#marker" x="15" y="-5" fill="#8888FF"/>\n        <use xlink:href="#marker" x="30" y="5" fill="#8888FF"/>\n        <use xlink:href="#marker" x="45" y="10" fill="#8888FF"/>\n        <text font-family="embeded" font-size="20" y="-10 -5 5 10 20">1234</text>\n      </g>\n\n      <g id="yFewer" transform="translate(130, 300)">\n        <text text-anchor="end" x="-30">y fewer</text>\n        <use xlink:href="#marker" x="0" y="-10" fill="#8888FF"/>\n        <use xlink:href="#marker" x="15" y="-5" fill="#8888FF"/>\n        <use xlink:href="#marker" x="30" y="5" fill="#8888FF"/>\n        <use xlink:href="#marker" x="45" y="5" fill="#8888FF"/>\n        <text font-family="embeded" font-size="20" y="-10 -5 5">1234</text>\n      </g>\n\n      <g transform="translate(220, 0)">\n        <g id="xyAll" transform="translate(130, 80)">\n          <text text-anchor="end" x="-30">x/y all</text>\n          <use xlink:href="#marker" x="0" fill="orange"/>\n          <use xlink:href="#marker" x="20" y="-10" fill="#8888FF"/>\n          <use xlink:href="#marker" x="40" y="-5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="60" y="5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="80" y="10" fill="#8888FF"/>\n          <text font-family="embeded" font-size="20" x="20 40 60 80" y="-10 -5 5 10">1234</text>\n        </g>\n\n        <g id="xyMore" transform="translate(130, 120)">\n          <text text-anchor="end" x="-30">x/y more</text>\n          <use xlink:href="#marker" x="0" fill="orange"/>\n          <use xlink:href="#marker" x="20" y="-10" fill="#8888FF"/>\n          <use xlink:href="#marker" x="40" y="-5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="60" y="5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="80" y="10" fill="#8888FF"/>\n          <use xlink:href="#marker" x="100" y="20" fill="orange"/>\n          <text font-family="embeded" font-size="20" x="20 40 60 80 100" y="-10 -5 5 10 20">1234</text>\n        </g>\n\n        <g id="xyFewer" transform="translate(130, 160)">\n          <text text-anchor="end" x="-30">x/y fewer</text>\n          <use xlink:href="#marker" x="0" fill="orange"/>\n          <use xlink:href="#marker" x="20" y="-10" fill="#8888FF"/>\n          <use xlink:href="#marker" x="40" y="-5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="60" y="5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="75" y="5" fill="#8888FF"/>\n          <text font-family="embeded" font-size="20" x="20 40 60" y="-10 -5 5">1234</text>\n        </g>\n\n        <g id="xAllyFewer" transform="translate(130, 200)">\n          <text text-anchor="end" x="-30">x all y fewer</text>\n          <use xlink:href="#marker" x="0" fill="orange"/>\n          <use xlink:href="#marker" x="20" y="-10" fill="#8888FF"/>\n          <use xlink:href="#marker" x="40" y="-5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="60" y="5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="80" y="5" fill="#8888FF"/>\n          <text font-family="embeded" font-size="20" x="20 40 60 80" y="-10 -5 5">1234</text>\n        </g>\n\n        <g id="xFewerYall" transform="translate(130, 240)">\n          <text text-anchor="end" x="-30">x fewer y all</text>\n          <use xlink:href="#marker" x="0" fill="orange"/>\n          <use xlink:href="#marker" x="20" y="-10" fill="#8888FF"/>\n          <use xlink:href="#marker" x="40" y="-5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="60" y="5" fill="#8888FF"/>\n          <use xlink:href="#marker" x="77.52" y="10" fill="#8888FF"/>\n          <text font-family="embeded" font-size="20" x="20 40 60" y="-10 -5 5 10">1234</text>\n        </g>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.12 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-05-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="VH" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: text-text-05-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n        <p>\n          The purpose of this test is to validate the interaction of text-anchor\n          and x/y glyph positioning.\n        </p>\n        <p>\n          Each row shows a different combination of x/y values: 1, more than characters,\n          fewer than characters. This tests the anchor value: start.\n        </p>\n        <p>\n          The blue markers show the various x/y absolute positions around which text\n          chunks should be anchored. The glyphs are black squares of increasing sizes.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Rendered output must match the reference image for the test to pass.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-05-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <style type="text/css">\n  @font-face {\n    font-family: embeded;\n    src: url(woffs/embeded-text-text-05.woff) format("woff");\n    }\n  </style>\n    <g font-size="16">\n      <defs>\n        <font id="embeded" horiz-adv-x="224">\n          <font-face font-family="embeded" units-per-em="1000" panose-1="0 0 0 0 0 0 0 0 0 0" ascent="917" descent="-250" alphabetic="0"/>\n          <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V750H100V50H700Z"/>\n          <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="1500" d="M 0 0 L 250 0 L 250 250 L 0 250 Z"/>\n          <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="1500" d="M 0 0 L 500 0 L 500 500 L 0 500 Z"/>\n          <glyph unicode="3" glyph-name="gl_3" horiz-adv-x="1500" d="M 0 0 L 750 0 L 750 750 L 0 750 Z"/>\n          <glyph unicode="4" glyph-name="gl_4" horiz-adv-x="1500" d="M 0 0 L 1000 0 L 1000 1000 L 0 1000 Z"/>\n        </font>\n\n      </defs>\n\n      <defs>\n        <g id="marker">\n          <line y2="-15" stroke="fuchsia"/>\n          <rect x="-4" y="-4" width="8" height="8"/>\n        </g>\n      </defs>\n\n      <g id="legend" transform="translate(10, 40)">\n        <text y="30">1.x 1.y</text>\n        <text y="60">4.x 1.y</text>\n        <text y="90">2.x 1.y</text>\n        <text y="120">1.x 4.y</text>\n        <text y="150">4.x 4.y</text>\n        <text y="180">2.x 4.y</text>\n        <text y="210">1.x 2.y</text>\n        <text y="240">4.x 2.y</text>\n        <text y="270">2.x 2.y</text>\n      </g>\n\n      <g id="anchorStart" text-anchor="start" transform="translate(150, 40)">\n        <text y="-17" text-anchor="middle">text-anchor</text>\n        <text y="-3" text-anchor="middle">start</text>\n        <line x1="0" y1="10" x2="0" y2="290" stroke="fuchsia"/>\n\n        <g id="textContent">\n          <!-- 1.x 1.y -->\n          <use y="30" xlink:href="#marker" fill="#8888ff"/>\n          <text x="0" y="30" font-family="embeded" font-size="10">1234</text>\n\n          <!-- 4.x 1.y : four text chunks -->\n          <use x="10" y="60" xlink:href="#marker" fill="#8888ff"/>\n          <use x="20" y="60" xlink:href="#marker" fill="#8888ff"/>\n          <use x="30" y="60" xlink:href="#marker" fill="#8888ff"/>\n          <use x="40" y="60" xlink:href="#marker" fill="#8888ff"/>\n          <text x="10 20 30 40" y="60" font-family="embeded" font-size="10">1234</text>\n\n          <!-- 2.x 1.y : two text chunks -->\n          <use x="10" y="90" xlink:href="#marker" fill="#8888ff"/>\n          <use x="60" y="90" xlink:href="#marker" fill="#8888ff"/>\n          <text x="10 60" y="90" font-family="embeded" font-size="10">1234</text>\n\n          <!-- 1.x 4.y : four text chunks -->\n          <g transform="translate(0, 120)">\n            <use x="0" y="-10" xlink:href="#marker" fill="#8888ff"/>\n            <use x="15" y="-5" xlink:href="#marker" fill="#8888ff"/>\n            <use x="30" y="5" xlink:href="#marker" fill="#8888ff"/>\n            <use x="45" y="10" xlink:href="#marker" fill="#8888ff"/>\n            <text x="0" y="-10 -5 5 10" font-family="embeded" font-size="10">1234</text>\n          </g>\n\n          <!-- 4.x 4.y : four text chunks -->\n          <g transform="translate(0, 150)">\n            <use x="10" y="-10" xlink:href="#marker" fill="#8888ff"/>\n            <use x="20" y="-5" xlink:href="#marker" fill="#8888ff"/>\n            <use x="30" y="5" xlink:href="#marker" fill="#8888ff"/>\n            <use x="40" y="10" xlink:href="#marker" fill="#8888ff"/>\n            <text x="10 20 30 40" y="-10 -5 5 10" font-family="embeded" font-size="10">1234</text>\n          </g>\n\n          <!-- 2.x 4.y : four text chunks -->\n          <g transform="translate(0, 180)">\n            <use x="10" y="-10" xlink:href="#marker" fill="#8888ff"/>\n            <use x="20" y="-5" xlink:href="#marker" fill="#8888ff"/>\n            <use x="35" y="5" xlink:href="#marker" fill="#8888ff"/>\n            <use x="50" y="10" xlink:href="#marker" fill="#8888ff"/>\n            <text x="10 20" y="-10 -5 5 10" font-family="embeded" font-size="10">1234</text>\n          </g>\n\n          <!-- 1.x 2.y : two text chunks -->\n          <g transform="translate(0, 210)">\n            <use x="0" y="-10" xlink:href="#marker" fill="#8888ff"/>\n            <use x="15" y="5" xlink:href="#marker" fill="#8888ff"/>\n            <text x="0" y="-10 5" font-family="embeded" font-size="10">1234</text>\n          </g>\n\n          <!-- 4.x 2.y : four text chunks -->\n          <g transform="translate(0, 240)">\n            <use x="10" y="-10" xlink:href="#marker" fill="#8888ff"/>\n            <use x="20" y="-5" xlink:href="#marker" fill="#8888ff"/>\n            <use x="30" y="-5" xlink:href="#marker" fill="#8888ff"/>\n            <use x="40" y="-5" xlink:href="#marker" fill="#8888ff"/>\n            <text x="10 20 30 40" y="-10 -5" font-family="embeded" font-size="10">1234</text>\n          </g>\n\n          <!-- 2.x 2.y : two text chunks -->\n          <g transform="translate(0, 270)">\n            <use x="10" y="-10" xlink:href="#marker" fill="#8888ff"/>\n            <use x="60" y="-5" xlink:href="#marker" fill="#8888ff"/>\n            <text x="10 60" y="-10 -5" font-family="embeded" font-size="10">1234</text>\n          </g>\n\n        </g>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-06-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AE" author="VH" status="accepted"\n    version="$Revision: 1.9 $" testname="$RCSfile: text-text-06-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n        <p>\n          The purpose of this test is to validate the interaction of x/y\n          glyph positioning and ligatures.\n        </p>\n        <p>\n          The first line shows an example where there is a ligature (fi) which\n          should be accounted for before breaking into text chunks (see specification\n          section 10.5, additional x/y/dx/dy processing rules, bullet discussing\n          ligatures). In this first line, the ligatures cause the x position 180\n          (shown in orange), to be ignored. As a result, a glyph should be shown over\n          each pale blue square markers. The glyphs are black squares of increasing sizes\n          except for the initial ligature which has the form of two small black triangles\n          joined at their tops. The ligature should show on the first pale blue\n          marker position.\n        </p>\n        <p>\n          The second line shows the same test but using multiple y positions.\n        </p>\n        <p>\n          The third line shows the same test but using multiple x and y\n          positions.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if:\n      </p>\n      <ul>\n        <li>\n          The bottom left hand corners of the first row of black squares are\n          equal distance apart along the x axis and are centered inside the blue\n          squares.\n        </li>\n        <li>\n          The bottom left hand corners of the first row of black squares are\n          equal distance apart along the x and y axis and are centered inside\n          the blue squares.\n        </li>\n        <li>\n          The bottom left hand corners of the first row of black squares are\n          same distance apart in the x axis as the first row of squares and are\n          same distance apart in the y axis as the second row of squares.\n        </li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-06-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <style type="text/css">\n  @font-face {\n    font-family: embeded;\n    src: url(woffs/embeded-text-text-06.woff) format("woff");\n    }\n  </style>\n    <g font-size="10">\n      <defs>\n        <font id="embeded" horiz-adv-x="224">\n          <font-face font-family="embeded" units-per-em="1000" panose-1="0 0 0 0 0 0 0 0 0 0" ascent="917" descent="-250" alphabetic="0"/>\n          <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V750H100V50H700Z"/>\n          <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="1500" d="M 0 0 L 250 0 L 250 250 L 0 250 Z"/>\n          <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="1500" d="M 0 0 L 500 0 L 500 500 L 0 500 Z"/>\n          <glyph unicode="3" glyph-name="gl_3" horiz-adv-x="1500" d="M 0 0 L 750 0 L 750 750 L 0 750 Z"/>\n          <glyph unicode="4" glyph-name="gl_4" horiz-adv-x="1500" d="M 0 0 L 1000 0 L 1000 1000 L 0 1000 Z"/>\n          <glyph unicode="fi" glyph-name="fi" horiz-adv-x="1500" d="M 0 0 L 500 0 L 0 700 L 500 700 Z"/>\n        </font>\n      </defs>\n\n      <defs>\n        <g id="marker">\n          <line y2="-15" stroke="orange"/>\n          <rect x="-4" y="-4" width="8" height="8"/>\n        </g>\n      </defs>\n\n      <g transform="translate(20, 30)">\n        <g id="legend" transform="translate(10, 40)" font-size="12">\n          <text>x positioning</text>\n          <text y="40">y positioning</text>\n          <text y="140">x/y positioning</text>\n        </g>\n\n        <g transform="translate(100, 40)">\n          <use xlink:href="#marker" x="10" fill="#8888ff"/>\n          <use xlink:href="#marker" x="180" fill="orange"/>\n          <use xlink:href="#marker" x="40" fill="#8888ff"/>\n          <use xlink:href="#marker" x="70" fill="#8888ff"/>\n          <use xlink:href="#marker" x="100" fill="#8888ff"/>\n          <use xlink:href="#marker" x="130" fill="#8888ff"/>\n          <text x="10 180 40 70 100 130" y="0" font-family="embeded">fi1234</text>\n        </g>\n\n        <g transform="translate(100, 80)">\n          <use xlink:href="#marker" y="-10" fill="#8888ff"/>\n          <use xlink:href="#marker" x="15" y="50" fill="orange"/>\n          <use xlink:href="#marker" x="15" y="0" fill="#8888ff"/>\n          <use xlink:href="#marker" x="30" y="10" fill="#8888ff"/>\n          <use xlink:href="#marker" x="45" y="20" fill="#8888ff"/>\n          <use xlink:href="#marker" x="60" y="30" fill="#8888ff"/>\n          <text y="-10 50 0 10 20 30" x="0" font-family="embeded">fi1234</text>\n        </g>\n\n        <g transform="translate(100, 180)">\n          <use xlink:href="#marker" x="10" y="-10" fill="#8888ff"/>\n          <use xlink:href="#marker" x="180" y="50" fill="orange"/>\n          <use xlink:href="#marker" x="40" y="0" fill="#8888ff"/>\n          <use xlink:href="#marker" x="70" y="10" fill="#8888ff"/>\n          <use xlink:href="#marker" x="100" y="20" fill="#8888ff"/>\n          <use xlink:href="#marker" x="130" y="30" fill="#8888ff"/>\n          <text x="10 180 40 70 100 130" y="-10 50 0 10 20 30" font-family="embeded">fi1234</text>\n        </g>\n      </g>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-07-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AE" author="MI" status="accepted"\n    version="$Revision: 1.6 $" testname="$RCSfile: text-text-07-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n        <p>\n          Tests multiple x, y, rotate, with various combinations. Since an\n          array of values is given, each glyph must use the value from the\n          corresponding character in the list.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if:\n      </p>\n      <ul>\n        <li>\n          Each letter in the word "ROTATE" is rotated 10\n          degrees more than the previous letter, with the first letter being\n          rotated at 0 degrees.\n        </li>\n        <li>\n          Each letter in the word "Multi XY" (including the white space) is\n          shifted in the x and y by 20 pixels more (in user space) than the\n          previous letter, with the first letter beginning at coordinate\n          240, 60.\n        </li>\n        <li>\n          Each letter in the word "Both Together" (including the space) is\n          rotated and shifted. Each of the rotated letters is rotated -10\n          degrees more than the previous letter, with the first letter being\n          rotated a 0 degrees. Each of the shifted letters is shifted by 20\n          pixels more than the previous letter in the x direction and -10 pixels\n          more than the previous letter in the y direction, with the first\n          letter beginning at the coordinate 10, 300.\n        </li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-07-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="240 260 280 300 320 340 360" y="60 80 100 120 140 160 180 200" font-size="35">Multi X Y</text>\n    <text x="10" y="60" rotate="0 10 20 30 40 50 60" font-size="35">ROTATE</text>\n    <text x="10 30 50 70 90 110 130 150 170 190 210 230 250" y="300 290 280 270 260 250 240 230 220 210 200 190 180" rotate="0 -10 -20 -30 -40 -50 -60 -70 -80 -90 -100 -110 -120" font-size="35">Both Together</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-08-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="DJ" author="SH" status="accepted"\n    version="$Revision" testname="$RCSfile: text-text-08-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n      <p>\n        The three opacity properties (fill-opacity,\n        stroke-opacity, and opacity) of \'text\' elements are\n        covered in this test.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if:\n      </p>\n      <ul>\n        <li>The text "Normal Text" has a pink stroke with no opacity and a blue fill with no opacity.</li>\n        <li>The text "Fill Opacity" has a pink stroke with no opacity and a blue fill with 50% opacity.</li>\n        <li>The text "Stroke Opacity" has a pink stroke with 50% opacity and a blue fill with no opacity.</li>\n        <li>The text "Opacity" has a pink stroke and a blue fill both with 50% opacity.</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-08-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="19" y="60" font-size="64" font-family="Verdana" fill="blue" stroke="fuchsia" stroke-width="2">Normal Text</text>\n    <text x="19" y="120" font-size="64" font-family="Verdana" fill="blue" stroke="fuchsia" stroke-width="2" fill-opacity="0.50">Fill opacity</text>\n    <text x="19" y="180" font-size="64" font-family="Verdana" fill="blue" stroke="fuchsia" stroke-width="2" stroke-opacity="0.50">Stroke opacity</text>\n    <text x="19" y="240" font-size="64" font-family="Verdana" fill="blue" stroke="fuchsia" stroke-width="2" opacity="0.50">Opacity</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-09-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="AE" author="CL" status="accepted"\n    version="$Revision: 1.7 $" testname="$RCSfile: text-text-09-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n      <p>\n        Tests multiple x, y, rotate, with various combinations. Since an\n        array of values is given, each glyph must use the value from the\n        corresponding character in the list. In this test, there are less values\n        in the array than there are characters.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if:\n      </p>\n      <ul>\n        <li>\n          In the word "ROTATE", each of the letters "ROTA" is rotated 10\n          degrees more than the previous letter, with the first letter being\n          rotated at 0 degrees. The letters "TE" have the same 30 degree rotation.\n        </li>\n        <li>\n          The first 5 letters in the word "MultiXY" are shifted in the x and y\n          by 20 pixels more (in user space) than the previous letter, with the\n          first letter beginning at coordinate 240, 60. The letters \'X\' and \'Y\'\n          will have the same y coordinate as the letter \'i\' in "Multi".\n        </li>\n        <li>\n          The first 10 letters (including the space) in the word "Both Together"\n          are rotated and shifted. Each of the rotated letters is rotated -10\n          degrees more than the previous letter, with the first letter being\n          rotated a 0 degrees. Subsequent letters after the first 10 rotated at\n          -90 degrees. Each of the shifted letters is shifted by 20 pixels more\n          than the previous letter in the x direction and -10 pixels more than\n          the previous letter in the y direction, with the first letter\n          beginning at the coordinate 10, 300. Subsequent letters after the\n          first 10 will have the same y coordinate as the letter \'t\' is\n          "Together".\n        </li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-09-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="240 260 280 300" y="60 80 100 120 140" font-size="35">Multi X Y</text>\n    <text x="10" y="60" rotate="0 10 20 30" font-size="35">ROTATE</text>\n    <text x="10 30 50 70 90 110 130 150" y="300 290 280 270 260 250 240 230" rotate="0 -10 -20 -30 -40 -50 -60 -70 -80 -90" font-size="35">Both Together</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-10-t.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="ED" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: text-text-10-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n      <p>\n        Test rendering of text rotated by a transform attribute.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if the image shows text rotated by various different angles, the result should closely match the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-10-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <text transform="rotate(90) translate(120 -100)" text-anchor="middle">Rotated 90 degrees</text>\n    <text transform="rotate(-90) translate(-120 140)" text-anchor="middle">Rotated -90 degrees</text>\n    <text transform="rotate(180) translate(-120 -250)" text-anchor="middle">Rotated 180 degrees</text>\n    <text transform="rotate(360) translate(120 230)" text-anchor="middle">Unrotated text</text>\n    <text transform="translate(250 180) rotate(85 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(75 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(65 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(55 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(45 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(35 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(25 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(15 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(5 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-5 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-15 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-25 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-35 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-45 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-55 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-65 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-75 0 0)">Rotated by 10 degrees</text>\n    <text transform="translate(250 180) rotate(-85 0 0)">Rotated by 10 degrees</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved \n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-11-t.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="ED" status="accepted"\n    version="$Revision: 1.3 $" testname="$RCSfile: text-text-11-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n      <p>\n        Test rendering of text rotated by a transform attribute, same as the text-text-10-t test but not using an SVGFont.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if the image shows text rotated by various different angles, the result should closely match the reference image, but note that the font is allowed\n        be different from the font used in the reference image.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-11-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  \n    <!-- Note that picking a platform font (sans-serif) is one of the main purposes of this test -->\n    <g font-family="sans-serif">\n      <text transform="rotate(90) translate(120 -100)" text-anchor="middle">Rotated 90 degrees</text>\n      <text transform="rotate(-90) translate(-120 140)" text-anchor="middle">Rotated -90 degrees</text>\n      <text transform="rotate(180) translate(-120 -250)" text-anchor="middle">Rotated 180 degrees</text>\n      <text transform="rotate(360) translate(120 230)" text-anchor="middle">Unrotated text</text>\n      <text transform="translate(250 180) rotate(85 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(75 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(65 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(55 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(45 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(35 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(25 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(15 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(5 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-5 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-15 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-25 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-35 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-45 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-55 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-65 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-75 0 0)">Rotated by 10 degrees</text>\n      <text transform="translate(250 180) rotate(-85 0 0)">Rotated by 10 degrees</text>\n    </g>\n    \n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.3 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved \n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-text-12-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="VH" status="issue"\n    version="$Revision: 1.1 $" testname="$RCSfile: text-text-12-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TextElement">\n    		<p>ISSUE: the glyphs don\'t cover the entire em-cell, and the spec doesn\'t require visual alignment - text adjustments are based on advances</p>\n        <p>\n          The purpose of this test is to validate the interaction of text-anchor\n          and x/y glyph positioning.\n        </p>\n        <p>\n          Each row shows a different combination of x/y values: 1, more than characters,\n          fewer than characters. Each column shows different anchor values: middle\n          and end.\n        </p>\n        <p>\n          The blue markers show the various x/y absolute positions around which text\n          chunks should be anchored. The glyphs are black squares of increasing sizes.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Rendered output must match the reference image for the test to pass.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-text-12-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <style type="text/css">\n  @font-face {\n    font-family: embeded;\n    src: url(woffs/embeded-text-text-05.woff) format("woff");\n    }\n  </style>\n    <g font-size="16">\n      <defs>\n        <font id="embeded" horiz-adv-x="224">\n          <font-face font-family="embeded" units-per-em="1000" panose-1="0 0 0 0 0 0 0 0 0 0" ascent="917" descent="-250" alphabetic="0"/>\n          <missing-glyph horiz-adv-x="800" d="M50 0V800H750V0H50ZM700 50V750H100V50H700Z"/>\n          <glyph unicode="1" glyph-name="gl_1" horiz-adv-x="1500" d="M 0 0 L 250 0 L 250 250 L 0 250 Z"/>\n          <glyph unicode="2" glyph-name="gl_2" horiz-adv-x="1500" d="M 0 0 L 500 0 L 500 500 L 0 500 Z"/>\n          <glyph unicode="3" glyph-name="gl_3" horiz-adv-x="1500" d="M 0 0 L 750 0 L 750 750 L 0 750 Z"/>\n          <glyph unicode="4" glyph-name="gl_4" horiz-adv-x="1500" d="M 0 0 L 1000 0 L 1000 1000 L 0 1000 Z"/>\n        </font>\n\n      </defs>\n\n      <defs>\n        <g id="marker">\n          <line y2="-15" stroke="fuchsia"/>\n          <rect x="-4" y="-4" width="8" height="8"/>\n        </g>\n      </defs>\n\n      <g id="legend" transform="translate(10, 40)">\n        <text y="30">1.x 1.y</text>\n        <text y="60">4.x 1.y</text>\n        <text y="90">2.x 1.y</text>\n        <text y="120">1.x 4.y</text>\n        <text y="150">4.x 4.y</text>\n        <text y="180">2.x 4.y</text>\n        <text y="210">1.x 2.y</text>\n        <text y="240">4.x 2.y</text>\n        <text y="270">2.x 2.y</text>\n      </g>\n			\n			<defs>\n	      <g id="textContent">\n	        <!-- 1.x 1.y -->\n	        <use y="30" xlink:href="#marker" fill="#8888ff"/>\n	        <text x="0" y="30" font-family="embeded" font-size="10">1234</text>\n	\n	        <!-- 4.x 1.y : four text chunks -->\n	        <use x="10" y="60" xlink:href="#marker" fill="#8888ff"/>\n	        <use x="20" y="60" xlink:href="#marker" fill="#8888ff"/>\n	        <use x="30" y="60" xlink:href="#marker" fill="#8888ff"/>\n	        <use x="40" y="60" xlink:href="#marker" fill="#8888ff"/>\n	        <text x="10 20 30 40" y="60" font-family="embeded" font-size="10">1234</text>\n	\n	        <!-- 2.x 1.y : two text chunks -->\n	        <use x="10" y="90" xlink:href="#marker" fill="#8888ff"/>\n	        <use x="60" y="90" xlink:href="#marker" fill="#8888ff"/>\n	        <text x="10 60" y="90" font-family="embeded" font-size="10">1234</text>\n	\n	        <!-- 1.x 4.y : four text chunks -->\n	        <g transform="translate(0, 120)">\n	          <use x="0" y="-10" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="15" y="-5" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="30" y="5" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="45" y="10" xlink:href="#marker" fill="#8888ff"/>\n	          <text x="0" y="-10 -5 5 10" font-family="embeded" font-size="10">1234</text>\n	        </g>\n	\n	        <!-- 4.x 4.y : four text chunks -->\n	        <g transform="translate(0, 150)">\n	          <use x="10" y="-10" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="20" y="-5" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="30" y="5" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="40" y="10" xlink:href="#marker" fill="#8888ff"/>\n	          <text x="10 20 30 40" y="-10 -5 5 10" font-family="embeded" font-size="10">1234</text>\n	        </g>\n	\n	        <!-- 2.x 4.y : four text chunks -->\n	        <g transform="translate(0, 180)">\n	          <use x="10" y="-10" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="20" y="-5" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="35" y="5" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="50" y="10" xlink:href="#marker" fill="#8888ff"/>\n	          <text x="10 20" y="-10 -5 5 10" font-family="embeded" font-size="10">1234</text>\n	        </g>\n	\n	        <!-- 1.x 2.y : two text chunks -->\n	        <g transform="translate(0, 210)">\n	          <use x="0" y="-10" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="15" y="5" xlink:href="#marker" fill="#8888ff"/>\n	          <text x="0" y="-10 5" font-family="embeded" font-size="10">1234</text>\n	        </g>\n	\n	        <!-- 4.x 2.y : four text chunks -->\n	        <g transform="translate(0, 240)">\n	          <use x="10" y="-10" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="20" y="-5" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="30" y="-5" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="40" y="-5" xlink:href="#marker" fill="#8888ff"/>\n	          <text x="10 20 30 40" y="-10 -5" font-family="embeded" font-size="10">1234</text>\n	        </g>\n	\n	        <!-- 2.x 2.y : two text chunks -->\n	        <g transform="translate(0, 270)">\n	          <use x="10" y="-10" xlink:href="#marker" fill="#8888ff"/>\n	          <use x="60" y="-5" xlink:href="#marker" fill="#8888ff"/>\n	          <text x="10 60" y="-10 -5" font-family="embeded" font-size="10">1234</text>\n	        </g>\n	      </g>\n			</defs>\n			\n      <g id="anchorMiddle" text-anchor="middle" transform="translate(250, 40)">\n        <text y="-17" text-anchor="middle">text-anchor</text>\n        <text y="-3" text-anchor="middle">middle</text>\n        <line x1="0" y1="10" x2="0" y2="290" stroke="fuchsia"/>\n        <use xlink:href="#textContent"/>\n      </g>\n\n      <g id="anchorEnd" text-anchor="end" transform="translate(350, 40)">\n        <text y="-17" text-anchor="middle">text-anchor</text>\n        <text y="-3" text-anchor="middle">end</text>\n        <line x1="0" y1="10" x2="0" y2="290" stroke="fuchsia"/>\n        <use xlink:href="#textContent"/>\n      </g>\n\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.1 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-tspan-01-b.svg', svg: '<svg version="1.1" baseProfile="basic" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"\n    version="$Revision: 1.10 $" testname="$RCSfile: text-tspan-01-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TSpanElement">\n      <p>\n        Test tspan element styling and relative position adjustments.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test has passed if:\n      </p>\n      <ul>\n        <li>"You are not a banana" is displayed with the word "not" in bold green, with the rest of the sentence in normal blue.</li>\n        <li>"But you are a peach!" is displayed with the word "are" in bold green raised above the baseline, and "a peach!" lowered below the baseline.</li>\n        <li>"Cute and fuzzy" is displayed like there was spaces between each character, and "fuzzy" is displayed on a line below "Cute and".</li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-tspan-01-b.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n  	<defs>\n	  	<font-face font-family="FreeSerif" unicode-range="U+0-7F" font-weight="400">\n	      <font-face-src>\n	        <font-face-uri xlink:href="../resources/FreeSerif.svg#FreeSerif"/>\n	      </font-face-src>\n	    </font-face>\n	    <font-face font-family="FreeSerif" unicode-range="U+0-7F" font-weight="700">\n	      <font-face-src>\n	        <font-face-uri xlink:href="../resources/FreeSerifBold.svg#FreeSerifBold"/>\n	      </font-face-src>\n	    </font-face>\n	    <font-face font-family="FreeSerif" unicode-range="U+0-7F" font-weight="400" font-style="italic">\n	      <font-face-src>\n	        <font-face-uri xlink:href="../resources/FreeSerifItalic.svg#FreeSerifItalic"/>\n	      </font-face-src>\n	    </font-face>\n	    <font-face font-family="FreeSerif" unicode-range="U+0-7F" font-weight="700"  font-style="italic">\n	      <font-face-src>\n	        <font-face-uri xlink:href="../resources/FreeSerifBoldItalic.svg#FreeSerifBoldItalic"/>\n	      </font-face-src>\n	    </font-face>\n  	</defs>\n    <text x="25" y="20" font-size="16">Basics of tspan: changing visual properties and positioning.</text>\n    <!-- From example tspan01 - using tspan to change visual attributes -->\n    <g id="tspan01" font-size="16" font-family="FreeSerif, serif">\n      <text x="74" y="63.75" fill="blue">\n        You are<tspan font-weight="bold" fill="green"> not </tspan>a banana.\n      </text>\n      <rect x="47.5" y="74.25" width="310.5" height="53.5" fill="none" stroke="#000000"/>\n      <text x="65.25" y="90.75" font-size="16">Text: "You are not a banana."</text>\n      <text x="65.25" y="108" font-size="16">\'tspan\' changes visual attributes of "not",</text>\n      <text x="65.25" y="125.25" font-size="16">to green, bold.</text>\n    </g>\n    <!-- From example tspan02 - using tspan\'s dx and dy attributes \n                 for incremental positioning adjustments -->\n    <g id="tspan02" font-size="16" font-family="FreeSerif, serif">\n      <text x="257.5" y="153.75" fill="blue">\n        But you<tspan dx="2em" dy="-10.75" font-weight="bold" fill="green">are</tspan><tspan dy="25.5" xml:space="preserve"> a peach!</tspan>\n      </text>\n      <rect x="225" y="179" width="245.5" height="53.5" fill="none" stroke="#000000"/>\n      <text x="238" y="195" font-size="16">Text: "But you are a peach!"</text>\n      <text x="238" y="212.25" font-size="16">Using dx,dy, \'tspan\' raises "are",</text>\n      <text x="238" y="229.5" font-size="16">\'tspan\' lowers "a peach!"</text>\n    </g>\n    <!-- Example tspan03 - using tspan\'s x and y attributes \n                     for multiline text and precise glyph positioning -->\n    <g id="tspan03" fill="#000000" font-size="16" font-family="FreeSerif, serif">\n      <text fill="rgb(255,164,0)">\n        <tspan x="35 53.75 72.5 91.25 110.5 128.75 147.5 166.25" y="200">Cute and </tspan>\n        <tspan x="63.13 81.88 100.63 119.38 138.13" y="230.5">fuzzy.</tspan>\n      </text>\n      <rect x="17.5" y="244.75" width="335.5" height="53.5" fill="none" stroke="#000000"/>\n      <text x="25.25" y="258" font-size="16">Text: "Cute and fuzzy."</text>\n      <text x="25.25" y="275.25" font-size="16">\'tspan\' char-by-char placement of "Cute and",</text>\n      <text x="25.25" y="292.5" font-size="16">\'tspan\' char-by-char "fuzzy", below it.</text>\n    </g>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.10 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-tspan-02-b.svg', svg: '<svg id="svg-root" width="100%" height="100%" \n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg" \n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="CL" author="AG" status="accepted"\n    version="$Revision: 1.11 $" testname="$RCSfile: text-tspan-02-b.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#TSpanElementRotateAttribute">\n      <p>\n        Tests the rotate attribute in the tspan element.\n      </p>\n      <ul>\n        <li>\n          Tests the case where more characters than rotate values are\n          supplied. In this case the last rotate value should propogate to\n          subsequent characters in the element and child tspan elements that\n          do not contain a rotate value.\n        </li>\n        <li>\n          Tests the case where more values than characters are supplied. In\n          this case each character should be rotated by the designated value\n          remaining unused values propogate to any child tspan elements that\n          do not contain a rotate value.\n        </li>\n        <li>\n          Tests the case where an ansestor of a tspan element specifies a\n          rotate value but the tspan itself doesn\'t. In this case the tspan\n          should use the current rotate value specified by the ansestor\n          element.\n        </li>\n        <li>\n          Tests the case where a tspan or text element specifies a rotate\n          value and contains a text string that is broken due to nested child\n          tspan. In this case characters after the child tspan element must\n          be rotated by the current rotate value.\n        </li>\n      </ul>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        For this test to pass the text "Not all characters in the text have a\n        specified rotation" must be displayed in green without any red showing.\n        If any red shows the test is a fail.\n      </p>\n      <p>\n        Rotation values:\n      </p>\n      <ul>\n        <li>\n          The characters in the text "Not" must be rotated by 5,15 and 25\n          degrees respectively.\n        </li>\n        <li>\n          The first 3 characters in the text "all characters" must be -10,-20\n          and -30 degrees respectively. Subsequent characters in the text must\n          be each rotated by -40 degrees.\n        </li>\n        <li>\n          All the characters in the text "text have a" must be rotated by -40\n          degrees.\n        </li>\n        <li>\n          The characters in the text "in the" must be rotated by 70,60,50,40,30\n          and 20 degrees respectively. Note: the space in the text consumes a\n          rotate value.\n        </li>\n        <li>\n          All the characters in the text "specified" must be rotated by -10\n          degrees.\n        </li>\n        <li>\n          All the characters in the text "rotation" must be rotated by 55\n          degrees.\n        </li>\n      </ul>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-tspan-02-b.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <text font-size="35" fill="red" x="20" y="120" rotate="5,15,25,35,-10,-20,-30,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,70,60,50,40,30,20,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,-40,55,-10,-10,-10,-10,-10,-10,-10,-10,-10,55,55,55,55,55,55,55,55,55">\n      Not all characters in the\n      <tspan x="20" y="180">text have a specified rotation</tspan>\n    </text>\n\n\n    <text font-size="35" fill="green" x="20" y="120" rotate="5,15,25,35,45,55" stroke="green" stroke-width="0.5">\n      Not\n\n      <tspan id="child1" rotate="-10,-20,-30,-40">\n        all characters\n\n        <tspan id="child2" rotate="70,60,50,40,30,20,10">\n          in\n\n          <tspan id="child3">\n            the\n          </tspan>\n        </tspan>\n\n        <tspan x="20" y="180" id="child4">\n          text\n        </tspan>\n\n        have a\n      </tspan>\n\n      <tspan id="child5" rotate="-10">\n        specified\n      </tspan>\n\n      rotation\n    </text>\n\n    <text id="rotation_values" font-size="8" xml:space="preserve">\n      <tspan x="30" y="135">\n5      15   25\n      </tspan>\n      <tspan x="80" y="130">\n-10  -20 -30\n      </tspan>\n      <tspan x="125" y="130">\n -40  -40  -40  -40  -40   -40 -40 -40  -40  -40\n      </tspan>\n      <tspan x="295" y="145">\n70   60\n      </tspan>\n      <tspan x="340" y="140">\n40   30    20\n      </tspan>\n      <tspan x="15" y="190">\n-40 -40  -40  -40    -40  -40   -40   -40       -40\n      </tspan>\n      <tspan x="190" y="200">\n   -10   -10    -10   -10 -10   -10 -10    -10\n      </tspan>\n      <tspan x="275" y="190">\n-10\n      </tspan>\n      <tspan x="340" y="210">\n  55    55  55  55   55 55  55   55\n      </tspan>\n    </text>\n    \n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n  <text id="revision" x="10" y="340" stroke="none" \n    fill="black">$Revision: 1.11 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved --><!--\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240" \n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'},
  {name: 'text-ws-01-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="issue"\n    version="$Revision: 1.8 $" testname="$RCSfile: text-ws-01-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#WhiteSpace">\n    <!-- RESOLUTION 2011-03-04 deprecate xml;space in favour of CSS whitespace property, for SVG2 -->\n        <p>\n          Test for viewer correct handling of whitespace and the \'xml:space\' attribute.\n          There are two sub-tests, for xml:space value "default".\n          In each test, the content of the \'text\' element is written on\n          multiple lines.  The first test of each pair has indented text with leading\n          space characters, tabs, etc.  The second has no indentation, but a line break\n          before the content and after it.  There are no space (or other whitespace)\n          characters at the ends of the lines.\n        </p>\n        <p>\n          The two test cases are self-descriptive.  From the top;\n          first, "default" value applied to 3 lines of content with indents, space characters, tabs, etc;\n          second, "default" applied to two lines content with no indent;\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        In each test, the test string is in blue and the reference\n        image is in black.\n        The rendered picture should approximately match the reference image,\n        however there is some question in the reference image concerning the\n        exact amount of space in the long-space areas. The third test uses the nbsp unicode character\n        to force the reference white spaces display, which provides an accurate match if the font in use\n        has the same metrics for that character and the default white space.\n        Also, variations are possible in the text fonts and layout (per CSS2 rules).\n      </p>\n      <p>\n        The test also uses the \'rect\' element,\n        as well as basic fill (solid primary colors),\n        stroke (black 1-pixel lines), font-family (Arial)\n        and font-size properties.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-ws-01-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="15" y="35" font-size="32" fill="black">Basic: xml:space attribute</text>\n    <text x="35" y="60" font-size="32" fill="black">&amp; whitespace handling.</text>\n    <!-- Test 1:  indented, spaces, tabs, and space=\'default\' -->\n    <!-- Features=" line break and spaces before 1st line" tabs before 2nd line; -->\n    <!-- spaces before 3rd line; no space at ends of any lines.                 -->\n    <text x="15" y="105" fill="blue" font-size="40" xml:space="default">WS with indented lines.</text>\n    <text x="15" y="140" fill="black" font-size="40">WS with indented lines.</text>\n    <rect x="25" y="145" width="350" height="36" fill="none" stroke="black"/>\n    <text x="28" y="175" fill="black" font-size="40">xml:space=\'default\'</text>\n    <!-- Test 2:  non-indented,and space=\'default\' -->\n    <!-- Features="  line break before 1st line" no space either at beginning -->\n    <!-- or end of any lines.                                                -->\n    <text x="15" y="225" fill="blue" font-size="40" xml:space="default">\n      WS\n      non-indented lines.\n    </text>\n    <text x="15" y="260" fill="black" font-size="40">WS non-indented lines.</text>\n    <rect x="25" y="265" width="350" height="36" fill="none" stroke="black"/>\n    <text x="28" y="295" fill="black" font-size="40">xml:space=\'default\'</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-ws-02-t.svg', svg: '<svg version="1.1" baseProfile="tiny" id="svg-root"\n  width="100%" height="100%" viewBox="0 0 480 360"\n  xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->\n  <!--======================================================================-->\n  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="[reviewer]" author="Lofton Henderson" status="issue"\n    version="$Revision: 1.8 $" testname="$RCSfile: text-ws-02-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#WhiteSpace">\n        <!-- RESOLUTION 2011-03-04 deprecate xml;space in favour of CSS whitespace property, for SVG2 -->\n        <p>\n          Test for viewer correct handling of whitespace and the \'xml:space\' attribute.\n          There are two sub-tests, for value "preserve".\n          In each test, the content of the \'text\' element is written on\n          multiple lines.  The first test of each pair has indented text with leading\n          space characters, tabs, etc.  The second has no indentation, but a line break\n          before the content and after it.  There are no space (or other whitespace)\n          characters at the ends of the lines.\n        </p>\n        <p>\n          The two test cases are self-descriptive.  From the top;\n          first, "preserve" applied to essentially the same content as first;\n          second, "preserve" applied to essentially the same content as second.\n        </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        In each test, the test string is in blue and the reference\n        image is in black.\n        The rendered picture should approximately match the reference image,\n        however there is some question in the reference image concerning the\n        exact amount of space in the long-space areas. The third test uses the nbsp unicode character\n        to force the reference white spaces display, which provides an accurate match if the font in use\n        has the same metrics for that character and the default white space.\n        Also, variations are possible in the text fonts and layout (per CSS2 rules).\n      </p>\n      <p>\n        The test also uses the \'rect\' element,\n        as well as basic fill (solid primary colors),\n        stroke (black 1-pixel lines), font-family\n        and font-size properties.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-ws-02-t.svg,v $</title>\n  <defs>\n    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    <text x="15" y="35" font-size="32" fill="black">Basic: xml:space attribute</text>\n    <text x="35" y="60" font-size="32" fill="black">&amp; whitespace handling.</text>\n    <!-- Test 3:  indented, spaces, tabs, and space=\'preserve\' -->\n    <!-- Features=" line break and spaces before 1st line" tabs before 2nd line; -->\n    <!-- spaces before 3rd line; no space at ends of any lines.                 -->\n    <text x="15" y="105" fill="blue" font-size="40" xml:space="preserve">\nWS\n		with\n indented lines.\n    </text>\n    <!-- should match this, with blank replacing HT, LF, etc -->\n    <text x="15" y="140" fill="black" font-size="40" xml:space="preserve">&#160;WS&#160;&#160;&#160;with&#160;&#160;indented&#160;lines.</text>\n\n    <rect x="25" y="145" width="380" height="36" fill="none" stroke="black"/>\n    <text x="28" y="175" fill="black" font-size="40">xml:space=\'preserve\'</text>\n    <!-- Test 4:  non-indented, and space=\'preserve\' -->\n    <!-- Features="  no line break before 1st line" no space either at beginning -->\n    <!-- or end of any lines.                                                -->\n    <text x="15" y="225" fill="blue" font-size="40" xml:space="preserve">WS\nnon-indented lines.\n      </text>\n    <text x="15" y="260" fill="black" font-size="40">WS non-indented lines.</text>\n    <rect x="25" y="265" width="380" height="36" fill="none" stroke="black"/>\n    <text x="28" y="295" fill="black" font-size="40">xml:space=\'preserve\'</text>\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.8 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'text-ws-03-t.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.3" reviewer="CL" author="CM" status="issue"\n    version="$Revision: 1.9 $" testname="$RCSfile: text-ws-03-t.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/text.html#WhiteSpace">\n        <!-- RESOLUTION 2011-03-04 deprecate xml;space in favour of CSS whitespace property, for SVG2 -->\n      <p>\n        This tests that an \'xml:space\' attribute on a text element child\n        will be honored.\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        After loading the test, four blue text strings and\n        four orange text strings should be presented.\n      </p>\n      <p>\n        The test is passed if all four blue text strings appear\n        identical (with a large space between the "b" and the "c"\n        on each line), and all four orange text strings appear\n        identical (with a small space between the "b" and the "c"\n        on each line).\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: text-ws-03-t.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n\n    <text x=\'10\' y=\'30\' font-size=\'14\'>Test that xml:space="" is honored on text element children</text>\n\n    <g font-size=\'24\'>\n      <text id="t2" display="none">      cd</text>\n      <g fill=\'blue\'>\n        <text x=\'100\' y=\'100\' xml:space="preserve">ab      cd</text>\n        <text x=\'100\' y=\'130\'>ab<tspan id="t1" xml:space="preserve">      cd</tspan></text>\n        <text x=\'100\' y=\'160\'>ab<tref xml:space="preserve" xlink:href="#t1"/></text>\n        <text x=\'100\' y=\'190\'>ab<tref xml:space="preserve" xlink:href="#t2"/></text>\n      </g>\n\n      <text id="t4" display="none">b      cd</text>\n      <g fill=\'#ffa500\'>\n        <text x=\'300\' y=\'100\'>ab cd</text>\n        <text x=\'300\' y=\'130\' xml:space="preserve">a<tspan id="t3" xml:space="default">b      cd</tspan></text>\n        <text x=\'300\' y=\'160\' xml:space="preserve">a<tref xml:space="default" xlink:href="#t3"/></text>\n        <text x=\'300\' y=\'190\' xml:space="preserve">a<tref xml:space="default" xlink:href="#t4"/></text>\n      </g>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.9 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>\n</svg>\n'},
  {name: 'types-basic-01-f.svg', svg: '<svg id="svg-root" width="100%" height="100%"\n  viewBox="0 0 480 360" xmlns="http://www.w3.org/2000/svg"\n  xmlns:xlink="http://www.w3.org/1999/xlink">\n  <!--======================================================================-->\n  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->\n  <!--=  Institute of Technology, European Research Consortium for         =-->\n  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->\n  <!--=  All Rights Reserved.                                              =-->\n  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->\n  <!--======================================================================-->\n  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/"\n    template-version="1.4" reviewer="ED" author="CL" status="accepted"\n    version="$Revision: 1.5 $" testname="$RCSfile: types-basic-01-f.svg,v $">\n    <d:testDescription xmlns="http://www.w3.org/1999/xhtml" href="http://www.w3.org/TR/SVG11/types.html#BasicDataTypes">\n      <p>\n        Tests scientific notation in attribute values; in particular, that numbers \n        of the form .n with a leading decimal point, are supported\n      </p>\n    </d:testDescription>\n    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        Run the test. No interaction required.\n      </p>\n    </d:operatorScript>\n    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml">\n      <p>\n        The test is passed if all the coloured rectangles are of the same height \n        and line up with each other and \n        with the grey marker lines. If any red is visible, the test fails.\n      </p>\n    </d:passCriteria>\n  </d:SVGTestCase>\n  <title id="test-title">$RCSfile: types-basic-01-f.svg,v $</title>\n  <defs>\n    <font-face\n      font-family="SVGFreeSansASCII"\n      unicode-range="U+0-7F">\n      <font-face-src>\n        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>\n      </font-face-src>\n    </font-face>\n  </defs>\n  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">\n    \n    <polyline points="20,75 380,75" stroke="#999" stroke-width="1"/>\n    <polyline points="20,125 380,125" stroke="#999" stroke-width="1"/>\n   \n    <rect width="300" height="50" x="50" y="75" fill="red"/>\n\n    <polyline points="50,100 150,100" stroke-width="50" stroke="#6F3"/>\n    <polyline points="150,100 250,100" stroke-width="5e1" stroke="#6C6"/>\n    <polyline points="250,100 350,100" stroke-width=".5e2" stroke="#39F"/>\n   \n    \n    <text x="50" y="200" font-size="20">Different forms of the &lt;number&gt; type</text>\n    \n    <g text-anchor="middle" fill="#555">\n      <text x="100" y="110" font-size="20">50</text>\n      <text x="200" y="110" font-size="20" >5e1</text>\n      <text x="300" y="110" font-size="20">.5e2</text>\n    </g>\n\n  </g>\n  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">\n    <text id="revision" x="10" y="340" stroke="none"\n      fill="black">$Revision: 1.5 $</text>\n  </g>\n  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>\n  <!-- comment out this watermark once the test is approved -->\n  <!--<g id="draft-watermark">\n    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>\n    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"\n      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>\n  </g>-->\n</svg>\n'}
];
