[librsvg/rustification] tests/fixtures/reftests/svg1.1: Add the first batch of tests from the SVG test suite



commit 1327245ee929b149ee87c04abb0ddc5e8736137b
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Nov 3 09:18:02 2016 -0600

    tests/fixtures/reftests/svg1.1: Add the first batch of tests from the SVG test suite
    
    These are for path data.  Two tests fail, numbers 18 and 20:
    
    Test 18 is to test that the path data parser ignores extraneous
    characters correctly.
    
    Test 20 is for the elliptical arc machinery.

 .gitignore                                         |    4 +-
 .../reftests/svg1.1/paths-data-01-t-ref.png        |  Bin 0 -> 25470 bytes
 tests/fixtures/reftests/svg1.1/paths-data-01-t.svg |  151 ++++++++++++++++++++
 .../reftests/svg1.1/paths-data-02-t-ref.png        |  Bin 0 -> 33012 bytes
 tests/fixtures/reftests/svg1.1/paths-data-02-t.svg |  124 ++++++++++++++++
 .../reftests/svg1.1/paths-data-03-f-ref.png        |  Bin 0 -> 30928 bytes
 tests/fixtures/reftests/svg1.1/paths-data-03-f.svg |  113 +++++++++++++++
 .../reftests/svg1.1/paths-data-04-t-ref.png        |  Bin 0 -> 18168 bytes
 tests/fixtures/reftests/svg1.1/paths-data-04-t.svg |   82 +++++++++++
 .../reftests/svg1.1/paths-data-05-t-ref.png        |  Bin 0 -> 16086 bytes
 tests/fixtures/reftests/svg1.1/paths-data-05-t.svg |   79 ++++++++++
 .../reftests/svg1.1/paths-data-06-t-ref.png        |  Bin 0 -> 7250 bytes
 tests/fixtures/reftests/svg1.1/paths-data-06-t.svg |   83 +++++++++++
 .../reftests/svg1.1/paths-data-07-t-ref.png        |  Bin 0 -> 6625 bytes
 tests/fixtures/reftests/svg1.1/paths-data-07-t.svg |   82 +++++++++++
 .../reftests/svg1.1/paths-data-08-t-ref.png        |  Bin 0 -> 19348 bytes
 tests/fixtures/reftests/svg1.1/paths-data-08-t.svg |   82 +++++++++++
 .../reftests/svg1.1/paths-data-09-t-ref.png        |  Bin 0 -> 17700 bytes
 tests/fixtures/reftests/svg1.1/paths-data-09-t.svg |   79 ++++++++++
 .../reftests/svg1.1/paths-data-10-t-ref.png        |  Bin 0 -> 21531 bytes
 tests/fixtures/reftests/svg1.1/paths-data-10-t.svg |  111 ++++++++++++++
 .../reftests/svg1.1/paths-data-12-t-ref.png        |  Bin 0 -> 9745 bytes
 tests/fixtures/reftests/svg1.1/paths-data-12-t.svg |   66 +++++++++
 .../reftests/svg1.1/paths-data-13-t-ref.png        |  Bin 0 -> 4576 bytes
 tests/fixtures/reftests/svg1.1/paths-data-13-t.svg |   56 +++++++
 .../reftests/svg1.1/paths-data-14-t-ref.png        |  Bin 0 -> 12570 bytes
 tests/fixtures/reftests/svg1.1/paths-data-14-t.svg |   56 +++++++
 .../reftests/svg1.1/paths-data-15-t-ref.png        |  Bin 0 -> 6058 bytes
 tests/fixtures/reftests/svg1.1/paths-data-15-t.svg |   60 ++++++++
 .../reftests/svg1.1/paths-data-16-t-ref.png        |  Bin 0 -> 7885 bytes
 tests/fixtures/reftests/svg1.1/paths-data-16-t.svg |   69 +++++++++
 .../reftests/svg1.1/paths-data-17-f-ref.png        |  Bin 0 -> 4456 bytes
 tests/fixtures/reftests/svg1.1/paths-data-17-f.svg |   65 +++++++++
 .../reftests/svg1.1/paths-data-18-f-ref.png        |  Bin 0 -> 4691 bytes
 tests/fixtures/reftests/svg1.1/paths-data-18-f.svg |  100 +++++++++++++
 .../reftests/svg1.1/paths-data-19-f-ref.png        |  Bin 0 -> 23426 bytes
 tests/fixtures/reftests/svg1.1/paths-data-19-f.svg |  107 ++++++++++++++
 .../reftests/svg1.1/paths-data-20-f-ref.png        |  Bin 0 -> 6858 bytes
 tests/fixtures/reftests/svg1.1/paths-data-20-f.svg |   87 +++++++++++
 39 files changed, 1655 insertions(+), 1 deletions(-)
---
diff --git a/.gitignore b/.gitignore
index 4180e23..d1df259 100644
--- a/.gitignore
+++ b/.gitignore
@@ -55,8 +55,10 @@ gdk-pixbuf-loader/rsvg-loader
 tests/dimensions
 tests/pdiff/perceptualdiff
 tests/rsvg-test
-tests/rsvg-test.log
+tests/crash
 tests/styles
+tests/*.log
+tests/*.trs
 tools/test-memory
 Rsvg-2.0.gir
 Rsvg-2.0.typelib
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-01-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-01-t-ref.png
new file mode 100644
index 0000000..d30dc68
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-01-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-01-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-01-t.svg
new file mode 100644
index 0000000..e6b972d
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-01-t.svg
@@ -0,0 +1,151 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-01-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Test that the viewer has the basic capability to handle the 'path'
+          element and its data (d) attribute in combination with the cubic
+          Bezier curveto commands, C, c, S, s (plus Mm and Zz).
+        </p>
+        <p>
+          There are 8 subtests, each composed from the cubic Bezier path commands per
+          the label by the subtest.  On-curve control points (i.e., the curve position)
+          are marked by small blue squares.  Subtests are filled, or stroked, or
+          both, using simple style properties and colors.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-01-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <!-- ====================================================================== -->
+    <!-- First Curve "X" that has subpath utilizing M, C, S, m, c, & s ======== -->
+    <!-- ====================================================================== -->
+    <text font-size="12" x="100" y="14">Cubic bezier curves drawn with commands:</text>
+    <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   "/>
+    <!-- ====================================================================== -->
+    <!-- Markers for path control points  ===================================== -->
+    <!-- ====================================================================== -->
+    <rect x="208" y="128" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="108" y="78" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="8" y="23" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="8" y="128" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="108" y="78" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="208" y="23" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <text font-size="12" x="5" y="82">M, C, S, m, c, s</text>
+    <!-- ====================================================================== -->
+    <!-- Infinity using M, c, c, c, C & z ===================================== -->
+    <!-- ====================================================================== -->
+    <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  "/>
+    <!-- ====================================================================== -->
+    <!-- Markers for path control points ====================================== -->
+    <!-- ====================================================================== -->
+    <rect x="238" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="288" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="338" y="88" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="248" y="58" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <text font-size="12" x="253" y="50">M, c, c, c, C, z</text>
+    <!-- ====================================================================== -->
+    <!-- Horizontal line utilizing M, C & Z =================================== -->
+    <!-- ====================================================================== -->
+    <path id="Line_MCZ" fill="none" stroke="#000000" d="M80 170   C100 170 160 170 180 170Z"/>
+    <!-- ====================================================================== -->
+    <!-- Markers for path control points ====================================== -->
+    <!-- ====================================================================== -->
+    <rect x="78" y="168" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="178" y="168" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <text font-size="12" x="110" y="190">M, C, Z</text>
+    <!-- ====================================================================== -->
+    <!-- Inverted V using M, C, c & Z ========================================= -->
+    <!-- ====================================================================== -->
+    <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"/>
+    <!-- ====================================================================== -->
+    <!-- Markers for path control points ====================================== -->
+    <!-- ====================================================================== -->
+    <rect x="3" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="53" y="158" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="103" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <text font-size="12" x="85" y="220">M, C, c, Z</text>
+    <!-- ====================================================================== -->
+    <!-- Remembrance Ribbon using m, c & s ==================================== -->
+    <!-- ====================================================================== -->
+    <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  "/>
+    <!-- ====================================================================== -->
+    <!-- Markers for path control points ====================================== -->
+    <!-- ====================================================================== -->
+    <rect x="198" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="223" y="158" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="248" y="258" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <text font-size="12" x="165" y="210">m, c, s</text>
+    <!-- ====================================================================== -->
+    <!-- 90 degree arc using M & C ============================================ -->
+    <!-- ====================================================================== -->
+    <path id="Arc_MC" fill="#0000FF" stroke="#000000" d="   M 360 100   C 420 90 460 140 450 190"/>
+    <!-- ====================================================================== -->
+    <!-- Markers for path control points ====================================== -->
+    <!-- ====================================================================== -->
+    <rect x="358" y="98" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="448" y="188" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <text font-size="12" x="360" y="150">M, C</text>
+    <!-- ====================================================================== -->
+    <!-- Circle using M, c, s, s, s & z ======================================= -->
+    <!-- ====================================================================== -->
+    <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  "/>
+    <!-- ====================================================================== -->
+    <!-- Markers for path control points ====================================== -->
+    <!-- ====================================================================== -->
+    <rect x="358" y="208" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="322" y="244" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="286" y="208" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="322" y="172" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <text font-size="12" x="290" y="265">M, c, s, s, s, z</text>
+    <!-- ====================================================================== -->
+    <!-- Inverted horseshoe using m, c & z ==================================== -->
+    <!-- ====================================================================== -->
+    <path id="Horseshoe_Mcs" fill="#F0F0F0" stroke="#00AA00" d="m 360  325  c -40  -60     95 -100     80    
0      z  "/>
+    <!-- ====================================================================== -->
+    <!-- Markers for path control points ====================================== -->
+    <!-- ====================================================================== -->
+    <rect x="358" y="323" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <rect x="438" y="323" width="4" height="4" fill="#4A83FF" stroke="none"/>
+    <text font-size="12" x="380" y="340">m, c, z</text>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-02-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-02-t-ref.png
new file mode 100644
index 0000000..e26ed17
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-02-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-02-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-02-t.svg
new file mode 100644
index 0000000..cad5865
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-02-t.svg
@@ -0,0 +1,124 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-02-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Test that the viewer has the basic capability to handle the 'path'
+          element and its data (d) attribute in combination with the quadratic
+          Bezier curveto commands, Q, q, T, t (plus Mm and Zz).
+        </p>
+        <p>
+          There are 7 subtests, each composed from the quadric Bezier path commands per
+          the label by the subtest.  On-curve control points (i.e., the curve position)
+          are marked by small colored squares.  Subtests are filled, or stroked, or
+          both, using simple style properties and colors.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-02-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <text font-size="12" x="120" y="14">Quadric bezier curves drawn with commands:</text>
+    <!-- ====================================================================== -->
+    <!-- Quad Bezier with sub-path using M, Q, M, q, & z ====================== -->
+    <!-- ====================================================================== -->
+    <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"/>
+    <text font-size="12" x="80" y="86">M, Q, M, q, z</text>
+    <rect x="13" y="18" width="4" height="4" fill="#00C000" stroke="none"/>
+    <rect x="128" y="28" width="4" height="4" fill="#00C000" stroke="none"/>
+    <rect x="178" y="78" width="4" height="4" fill="#00C000" stroke="none"/>
+    <rect x="15" y="18" width="4" height="4" fill="#00C000" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Quad Bezier with sub-path using m, q, z, m, q, & z =================== -->
+    <!-- ====================================================================== -->
+    <path id="Bez_fill_MQzmqz" fill="#FFFF00" stroke="#0000CF" d="M372 130Q272 50 422 10zm70 
0q50-150-80-90z"/>
+    <text font-size="12" x="352" y="150">m, q, z, m, q, z</text>
+    <rect x="370" y="128" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="420" y="8" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="440" y="128" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="360" y="38" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Simple Bezier using M, Q, & Z ======================================== -->
+    <!-- ====================================================================== -->
+    <path id="Bez_stroke_MQz" fill="none" stroke="#00FFFF" d="M224 103Q234 -12 304 33Z"/>
+    <text font-size="12" x="192" y="36">M, Q, Z</text>
+    <rect x="222" y="101" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="302" y="31" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Tri Bezier using M, Q, T, Q, & z ===================================== -->
+    <!-- ====================================================================== -->
+    <path id="Tri_MQTQz" fill="#00C000" stroke="#000000" d="M208 168Q258 268 308 168T258 118Q128 88 208 
168z"/>
+    <text font-size="12" x="308" y="188">M, Q, T, Q, z</text>
+    <rect x="206" y="166" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="306" y="166" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="256" y="116" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="206" y="206" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Double Bezier using M, Q, Q, & z ===================================== -->
+    <!-- ====================================================================== -->
+    <path id="Inv_V_MCcZ" fill="#00CF00" stroke="none" d="   M   60 100      Q  -40 150      60 200      Q  
160 150      60 100       z  "/>
+    <text font-size="12" x="80" y="200">M, Q, Q, z</text>
+    <rect x="58" y="98" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="58" y="198" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="58" y="98" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Sin Wave using M, q, t, t, t, t, & z ================================ -->
+    <!-- ====================================================================== -->
+    <path id="Sin_Mqttttz" fill="none" stroke="#40DD20" d="M240 296q25-100 47 0t47 0t47 0t47 0t47 0z"/>
+    <text font-size="12" x="380" y="236">M, q, t, t, t, t, z</text>
+    <rect x="238" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="285" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="332" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="379" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="426" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="473" y="294" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Double Spade using M, q, Q, q, Q, & z ================================ -->
+    <!-- ====================================================================== -->
+    <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"/>
+    <text font-size="12" x="48" y="280">M, q, Q, q, Q, z</text>
+    <rect x="170" y="191" width="4" height="4" fill="#40DD20" stroke="none"/>
+    <rect x="170" y="241" width="4" height="4" fill="#40DD20" stroke="none"/>
+    <rect x="170" y="291" width="4" height="4" fill="#40DD20" stroke="none"/>
+    <rect x="170" y="241" width="4" height="4" fill="#40DD20" stroke="none"/>
+    <rect x="170" y="191" width="4" height="4" fill="#40DD20" stroke="none"/>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-03-f-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-03-f-ref.png
new file mode 100644
index 0000000..1f41440
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-03-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-03-f.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-03-f.svg
new file mode 100644
index 0000000..3f087fd
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-03-f.svg
@@ -0,0 +1,113 @@
+<svg version="1.1" baseProfile="full" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-03-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Test that the viewer has the basic capability to handle the 'path'
+          element and its data (d) attribute in combination with the elliptical
+          arc curveto commands, A, a (plus Mm and Zz).
+        </p>
+        <p>
+          There are 6 subtests, each composed from the elliptical arc path commands per
+          the label by the subtest.  The curve positions
+          are marked by small colored squares.  Subtests are filled, or stroked, or
+          both, using simple style properties and colors.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-03-f.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <text font-size="12" x="120" y="14">Elliptical arc curves drawn with commands:</text>
+    <!-- ====================================================================== -->
+    <!-- Simple circle using MAZ  ============================ -->
+    <!-- ====================================================================== -->
+    <path id="Arc_MAZ" fill="none" stroke="#03DD20" stroke-width="10" d="   M  25   70      A  40   40      
0         1      0     25   69   Z    "/>
+    <text font-size="12" x="48" y="70">M, A, Z</text>
+    <rect x="23" y="68" width="4" height="4" fill="#00C000" stroke="none"/>
+    <rect x="23" y="67" width="4" height="4" fill="#00C000" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- filled arc using m, a, & z =================== -->
+    <!-- ====================================================================== -->
+    <path id="Arc_fill_maz" fill="#00FF00" stroke="#0000FF" d="   m  150   100      a  50    40       0      
    1       0      25   -70   z  "/>
+    <text font-size="12" x="124" y="45">m, a, z</text>
+    <rect x="148" y="98" width="4" height="4" fill="#CF0000" stroke="none"/>
+    <rect x="173" y="28" width="4" height="4" fill="#CF0000" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Unterminated arc using M & a ======================================== -->
+    <!-- ====================================================================== -->
+    <path id="Arc_Ma" fill="none" stroke="#000000" d="   M  350    245      a   40    40       0          1  
     0      80    60       "/>
+    <text font-size="12" x="390" y="300">M, a</text>
+    <rect x="348" y="243" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="428" y="303" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Triple Arc using M, A, a, a, & z ===================================== -->
+    <!-- ====================================================================== -->
+    <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  "/>
+    <text font-size="12" x="280" y="135">M, A, a, a, z</text>
+    <rect x="268" y="28" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="343" y="28" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="393" y="28" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="418" y="28" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Tripple arc using M, a, Z, m, A, Z, m, a & z ===================================== -->
+    <!-- ====================================================================== -->
+    <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 "/>
+    <text font-size="12" x="25" y="270">M, a, Z, m, A, Z, m, a, z</text>
+    <rect x="28" y="148" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="93" y="198" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="58" y="178" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="123" y="228" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="98" y="202" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="163" y="252" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <!-- ====================================================================== -->
+    <!-- Sin Wave using M, q, t, t, t, t, & z ================================ -->
+    <!-- ====================================================================== -->
+    <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                     "/>
+    <text font-size="12" x="215" y="246">M, A, A, A, A</text>
+    <rect x="213" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="263" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="313" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="363" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="413" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>
+    <rect x="463" y="188" width="4" height="4" fill="#0000FF" stroke="none"/>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-04-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-04-t-ref.png
new file mode 100644
index 0000000..abd5660
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-04-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-04-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-04-t.svg
new file mode 100644
index 0000000..63fef43
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-04-t.svg
@@ -0,0 +1,82 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-04-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Verify the basic capability to handle the 'path' element, and its data attribute (d)
+          in combination with the straight-line path commands.
+          Two pairs of concentric equilateral triangles are drawn using respectively
+          M,L,Z and m,l,z.  The shapes are identical, with one stroked and
+          one filled.  The fill-mode default of "even-odd" means that
+          the inner triangle is hollow.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-04-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <!-- ====================================================================== -->
+    <!-- First Group of Triangles using M, L & Z commands ===================== -->
+    <!-- ====================================================================== -->
+    <g transform="scale(1.8)">
+      <!--             <text font-size="12"  x="160" y="14">Lines drawn with commands:</text> -->
+      <text font-size="12" x="88" y="30">M, L, L, L, Z,</text>
+      <text font-size="12" x="98" y="46">subpath</text>
+      <text font-size="12" x="88" y="61">M, L, L, L, Z</text>
+      <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  "/>
+      <rect x="60.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="111.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="8.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="60.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="98.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="21.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <text font-size="12" x="42" y="162">stroked</text>
+      <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  "/>
+      <rect x="175.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="226.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="123.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="175.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="213.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="136.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <text font-size="12" x="162" y="162">filled</text>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-05-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-05-t-ref.png
new file mode 100644
index 0000000..f3dd362
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-05-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-05-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-05-t.svg
new file mode 100644
index 0000000..cea68ca
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-05-t.svg
@@ -0,0 +1,79 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-05-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Verify the basic capability to handle the 'path' element, and its data attribute (d)
+          in combination with the straight-line path commands.
+          Two pairs of concentric equilateral triangles are drawn using respectively
+          M,L,Z and m,l,z. The shapes in each pair are identical, with one stroked and
+          one filled.   The fill-mode default of "even-odd" means that
+          the inner triangle is hollow.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-05-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <!-- ====================================================================== -->
+    <!-- Second Group of Triangles using m, l & z commands===================== -->
+    <!-- ====================================================================== -->
+    <g transform="scale(1.8) translate(0, -150)">
+      <text font-size="12" x="96" y="180">m, l, l, l, z,</text>
+      <text font-size="12" x="100" y="194">subpath</text>
+      <text font-size="12" x="97" y="208">m, l, l, l, z</text>
+      <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  "/>
+      <rect x="60.00000" y="188.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="111.96152" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="8.03848" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="60.00000" y="203.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="98.97114" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="21.02886" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <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  "/>
+      <rect x="175.00000" y="188.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="226.96152" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="123.03848" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="175.00000" y="203.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="213.97114" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="136.02886" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-06-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-06-t-ref.png
new file mode 100644
index 0000000..37c2d3f
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-06-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-06-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-06-t.svg
new file mode 100644
index 0000000..5e0fa31
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-06-t.svg
@@ -0,0 +1,83 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-06-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Verify the basic capability to handle the 'path' element, and its data attribute (d)
+          in combination with the straight-line path commands.
+          Two pairs of staircase figures are drawn using
+          respectively M,H,V,Z and m,h,v,z. The shapes in each pair are identical, with one stroked and
+          one filled.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-06-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <g transform="scale(1.8) translate(-200, 0)">
+      <!-- ====================================================================== -->
+      <!-- First Group of Stairs using M, H, V & Z commands====================== -->
+      <!-- ====================================================================== -->
+      <text font-size="12" x="288" y="30">M, H, V, H,</text>
+      <text font-size="12" x="288" y="46">V. H, V, H,</text>
+      <text font-size="12" x="304" y="62">V, Z</text>
+      <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  "/>
+      <rect x="238.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="268.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="268.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="298.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="298.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="328.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="328.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="238.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <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  
"/>
+      <rect x="348.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="378.00000" y="54.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="378.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="408.00000" y="84.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="408.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="438.00000" y="114.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="438.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <rect x="348.00000" y="144.00000" width="4" height="4" fill="#FFFF00" stroke="none"/>
+      <!-- ====================================================================== -->
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-07-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-07-t-ref.png
new file mode 100644
index 0000000..bdd8450
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-07-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-07-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-07-t.svg
new file mode 100644
index 0000000..806e0b5
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-07-t.svg
@@ -0,0 +1,82 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="SVGWG" author="Lofton Henderson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: paths-data-07-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Verify the basic capability to handle the 'path' element, and its data attribute (d)
+          in combination with the straight-line path commands.
+          Two pairs of staircase figures are drawn using
+          respectively M,H,V,Z and m,h,v,z. The shapes in each pair are identical, with one stroked and
+          one filled.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-07-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <g transform="scale(1.8) translate(-200, -150)">
+      <!-- ====================================================================== -->
+      <!-- Second Group of Stairs using m, h, v & z commands====================== -->
+      <!-- ====================================================================== -->
+      <text font-size="12" x="288" y="180">m, h, v, h</text>
+      <text font-size="12" x="288" y="194">v, h, v, h</text>
+      <text font-size="12" x="304" y="208">v, z</text>
+      <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  "/>
+      <rect x="238.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="268.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="268.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="298.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="298.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="328.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="328.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="238.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <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  "/>
+      <rect x="348.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="378.00000" y="188.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="378.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="408.00000" y="218.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="408.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="438.00000" y="248.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="438.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+      <rect x="348.00000" y="278.00000" width="4" height="4" fill="#0000FF" stroke="none"/>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.7 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-08-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-08-t-ref.png
new file mode 100644
index 0000000..632f6b1
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-08-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-08-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-08-t.svg
new file mode 100644
index 0000000..5b2af84
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-08-t.svg
@@ -0,0 +1,82 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="CN" author="SH" status="accepted"
+    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-08-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Verify the basic capability to handle the 'path' element, and its data attribute (d)
+          in combination with the straight-line path commands.
+          Two pairs of concentric equilateral triangles are drawn using
+          M and Z.  No L commands are used in this test as they are implied after
+          an M or Z command.  The shapes are identical, with one stroked and
+          one filled.  The fill-mode default of "even-odd" means that
+          the inner triangle is hollow.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-08-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <!-- ====================================================================== -->
+    <!-- First Group of Triangles using M & Z commands ======================== -->
+    <!-- ====================================================================== -->
+    <text font-size="24" x="75" y="34">Lines drawn with commands:</text>
+    <text font-size="24" x="180" y="64">M and Z</text>
+
+    <g transform="scale(1.8)">
+      <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  "/>
+      <rect x="60.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="111.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="8.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="60.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="98.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="21.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <text font-size="12" x="42" y="162">stroked</text>
+      <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  "/>
+      <rect x="175.00000" y="54.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="226.96152" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="123.03848" y="144.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="175.00000" y="69.00000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="213.97114" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <rect x="136.02886" y="136.50000" width="4" height="4" fill="#00C000" stroke="none"/>
+      <text font-size="12" x="162" y="162">filled</text>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-09-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-09-t-ref.png
new file mode 100644
index 0000000..c95c1a5
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-09-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-09-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-09-t.svg
new file mode 100644
index 0000000..d2908c2
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-09-t.svg
@@ -0,0 +1,79 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="CN" author="SH" status="accepted"
+    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-09-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Verify the basic capability to handle the 'path' element, and its data attribute (d)
+          in combination with the straight-line path commands.
+          Two pairs of concentric equilateral triangles are drawn using
+          m and z.  No l commands are used in this test as they are implied after
+          an m or z command.  The shapes are identical, with one stroked and
+          one filled.  The fill-mode default of "even-odd" means that
+          the inner triangle is hollow.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-09-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <!-- ====================================================================== -->
+    <!-- Second Group of Triangles using m & z commands   ===================== -->
+    <!-- ====================================================================== -->
+    <text font-size="24" x="75" y="34">Lines drawn with commands:</text>
+    <text font-size="24" x="180" y="64">m and z</text>
+    <g transform="scale(1.8) translate(0, -150)">
+      <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  "/>
+      <rect x="60.00000" y="188.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="111.96152" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="8.03848" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="60.00000" y="203.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="98.97114" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="21.02886" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <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  "/>
+      <rect x="175.00000" y="188.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="226.96152" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="123.03848" y="278.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="175.00000" y="203.00000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="213.97114" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>
+      <rect x="136.02886" y="270.50000" width="4" height="4" fill="#40DD20" stroke="none"/>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-10-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-10-t-ref.png
new file mode 100644
index 0000000..8a573f8
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-10-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-10-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-10-t.svg
new file mode 100644
index 0000000..ebfcda8
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-10-t.svg
@@ -0,0 +1,111 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="CN" author="SH" status="accepted"
+    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-10-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Verify that the viewer renders the line caps and line joins for
+          open and closed paths properly.
+          Verify that the open triangular paths are stroked differently at
+          ends of the path than they are at their intermediate corners.
+          In contrast, the corners of a closed path should all appear the
+          same.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-10-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <g transform="translate(10,10)">
+      <text font-size="18" x="10" y="20">open</text>
+      <text font-size="18" x="10" y="38">join=round</text>
+      <text font-size="18" x="10" y="56">cap=butt</text>
+      <text font-size="18" x="10" y="74">M, L</text>
+      <g transform="translate(115,0)">
+        <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"/>
+      </g>
+    </g>
+    <g transform="translate(10,115)">
+      <text font-size="18" x="10" y="20">open</text>
+      <text font-size="18" x="10" y="38">join=bevel</text>
+      <text font-size="18" x="10" y="56">cap=round</text>
+      <text font-size="18" x="10" y="74">m, l</text>
+      <g transform="translate(115,0)">
+        <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"/>
+      </g>
+    </g>
+    <g transform="translate(10,220)">
+      <text font-size="18" x="10" y="20">open</text>
+      <text font-size="18" x="10" y="38">join=miter</text>
+      <text font-size="18" x="10" y="56">cap=square</text>
+      <text font-size="18" x="10" y="74">M, L</text>
+      <g transform="translate(115,0)">
+        <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"/>
+      </g>
+    </g>
+    <g transform="translate(250,10)">
+      <text font-size="18" x="125" y="20">closed</text>
+      <text font-size="18" x="125" y="38">join=round</text>
+      <text font-size="18" x="125" y="56">cap=butt</text>
+      <text font-size="18" x="125" y="74">M, L, Z</text>
+      <g transform="translate(0,0)">
+        <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"/>
+      </g>
+    </g>
+    <g transform="translate(250,115)">
+      <text font-size="18" x="125" y="20">closed</text>
+      <text font-size="18" x="125" y="38">join=bevel</text>
+      <text font-size="18" x="125" y="56">cap=round</text>
+      <text font-size="18" x="125" y="74">m, l, z</text>
+      <g transform="translate(0,0)">
+        <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"/>
+      </g>
+    </g>
+    <g transform="translate(250,220)">
+      <text font-size="18" x="125" y="20">closed</text>
+      <text font-size="18" x="125" y="38">join=miter</text>
+      <text font-size="18" x="125" y="56">cap=square</text>
+      <text font-size="18" x="125" y="74">M, L, Z</text>
+      <g transform="translate(0,0)">
+        <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"/>
+      </g>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-12-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-12-t-ref.png
new file mode 100644
index 0000000..cb54837
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-12-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-12-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-12-t.svg
new file mode 100644
index 0000000..ef5666c
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-12-t.svg
@@ -0,0 +1,66 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="ED" author="CN" status="accepted"
+    version="$Revision: 1.5 $" testname="$RCSfile: paths-data-12-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Test using multiple coord sets to build a polybeizer, and implicit values for initial S.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image exactly, except for possible variations in the 
labelling text (per CSS2 rules).
+      </p>
+
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The rendered picture should match the reference image.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-12-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <!-- Use multiple coord sets to build a polybeizer-->
+    <path fill="none" stroke="black" stroke-width="3" d="M  100 100    C  100 20   200 20   200 100   S   
300 180   300 100"/>
+    <rect x="100" y="100" width="4" height="4" fill="blue" stroke="none"/>
+    <rect x="200" y="100" width="4" height="4" fill="blue" stroke="none"/>
+    <rect x="300" y="100" width="4" height="4" fill="blue" stroke="none"/>
+    <!-- Test if S not preceeded by either C or S ,  first control point is coincident with the current 
point.-->
+    <path fill="none" stroke="black" stroke-width="3" d="M  100 250    S  200 200   200 250     300 300   
300 250"/>
+    <rect x="100" y="250" width="4" height="4" fill="blue" stroke="none"/>
+    <rect x="200" y="200" width="4" height="4" fill="blue" stroke="none"/>
+    <rect x="200" y="250" width="4" height="4" fill="blue" stroke="none"/>
+    <rect x="200" y="300" width="4" height="4" fill="blue" stroke="none"/>
+    <rect x="300" y="300" width="4" height="4" fill="blue" stroke="none"/>
+    <rect x="300" y="250" width="4" height="4" fill="blue" stroke="none"/>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-13-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-13-t-ref.png
new file mode 100644
index 0000000..06adb17
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-13-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-13-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-13-t.svg
new file mode 100644
index 0000000..8525043
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-13-t.svg
@@ -0,0 +1,56 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="ED" author="CN" status="accepted"
+    version="$Revision: 1.5 $" testname="$RCSfile: paths-data-13-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Test multiple coordinates for V and H. 
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>      
+      <p>
+      Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>The test is passed if there is one horizontal green line and one vertical blue line.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-13-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <!-- Use multiple coords to H, should get a straight horizontal line -->
+    <path stroke="green" stroke-width="5" d="   M  240.00000  56.00000    H  270.00000         300.00000 
320.00000 400.00000   "/>
+
+    <!-- Use multiple coords to V, should get a straight vertical line -->
+    <path stroke="blue" stroke-width="5" d="   M  240.00000  156.00000    V  180.00000         200.00000 
260.00000 300.00000   "/>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.5 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-14-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-14-t-ref.png
new file mode 100644
index 0000000..9327792
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-14-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-14-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-14-t.svg
new file mode 100644
index 0000000..543370e
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-14-t.svg
@@ -0,0 +1,56 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="ED" author="CN" status="accepted"
+    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-14-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Test implicit values for moveto. If the first command is 'm' it should be taken as an absolute 
moveto, plus implicit lineto.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>Run the test. No interaction required.</p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>The test is passed if the three triangles are shown: two concentric, unfilled
+      triangles with black strokes on the left, and one unfilled triangle with
+      a thick blue stroke on the right.</p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-14-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <g transform="scale(1.8)">
+      <!-- If the first command is 'm' it should be taken as an absolute moveto, plus implicit lineto. -->
+      <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  "/>
+      <!-- Test implicit lineto. -->
+      <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  "/>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-15-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-15-t-ref.png
new file mode 100644
index 0000000..698756e
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-15-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-15-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-15-t.svg
new file mode 100644
index 0000000..7b9dcbb
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-15-t.svg
@@ -0,0 +1,60 @@
+<svg version="1.1" baseProfile="tiny" 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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  Copyright 2009 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="ED" author="CN" status="accepted"
+    version="$Revision: 1.6 $" testname="$RCSfile: paths-data-15-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+        <p>
+          Test using multiple coord sets to build a polybezier, then T with no preceding Q or T.
+        </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>Run the test. No interaction required.</p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>The test passes if the rendering matches the reference image, apart from any allowable font 
selection differences due to CSS2.</p>
+      <p>A purple wavy line above a short, blue horizontal line must be shown.
+      Small black triangles pointing to the start, middle and end of the blue
+      line must also be shown.</p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-15-t.svg,v $</title>
+  <defs>
+    <font-face font-family="SVGFreeSansASCII" unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+    <g transform="scale(1.8) translate(20 50)">
+      <!-- Use multiple coord sets to build a polybezier-->
+      <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"/>
+      <!-- Test if T not preceded by either Q or T , control point should be coincident with the current 
point.-->
+      <path fill="none" stroke="blue" stroke-width="3" d="M  20 50    T  50 50   80 50"/>
+      <path d="M 20,52 l-2,4 h4 z"/>
+      <path d="M 50,52 l-2,4 h4 z"/>
+      <path d="M 80,52 l-2,4 h4 z"/>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none" fill="black">$Revision: 1.6 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-16-t-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-16-t-ref.png
new file mode 100644
index 0000000..1c3d880
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-16-t-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-16-t.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-16-t.svg
new file mode 100644
index 0000000..ce768ec
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-16-t.svg
@@ -0,0 +1,69 @@
+<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";>
+  <!--======================================================================-->
+  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="ED" author="CM" status="accepted"
+    version="$Revision: 1.4 $" testname="$RCSfile: paths-data-16-t.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathData";>
+      <p>
+        This tests that any implicit lineto commands that result from an
+        'M' or 'm' command with more than one pair of coordinates are absolute
+        if the moveto was specified with 'M' and relative if the moveto was
+        specified with 'm'.
+      </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        After loading the test, the test is passed if two yellow
+        triangles with black borders are shown.  Otherwise, the
+        test has failed.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-16-t.svg,v $</title>
+  <defs>
+    <font-face
+      font-family="SVGFreeSansASCII"
+      unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+
+    <text x='10' y='40' font-size='13'>Test relative-ness of implicit lineto path commands</text>
+
+    <g fill='red' stroke='red' stroke-width='16' stroke-linejoin='round'>
+      <path d='M100,120 L160,220 L40,220 z'/>
+      <path d='M350,120 L410,220 L290,220 z'/>
+    </g>
+    <g fill='gold' stroke='black' stroke-width='16' stroke-linejoin='round'>
+      <path d='M100,120 160,220 40,220 z'/>
+      <path d='m350,120 60,100 -120,0 z'/>
+    </g>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none"
+      fill="black">$Revision: 1.4 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
+  <!-- comment out this watermark once the test is approved -->
+  <!--<g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-17-f-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-17-f-ref.png
new file mode 100644
index 0000000..b5dfc5e
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-17-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-17-f.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-17-f.svg
new file mode 100644
index 0000000..d6801a8
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-17-f.svg
@@ -0,0 +1,65 @@
+<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";>
+  <!--======================================================================-->
+  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <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.4 $" testname="$RCSfile: paths-data-17-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathDataClosePathCommand";>
+      <p>
+        Test that the 'z' and 'Z' command have the same effect.
+      </p>
+      <p>
+        Specify four 'path' elements that each use three 'L' commands to draw three sides of a square. The 
fourth line of each
+        square is drawn via a 'closepath' command. A red square closed via 'z' is covered with a black 
square closed via 'Z' and
+        vice versa.
+      </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The test is passed if two black-stroked, unfilled squares are visible and
+       there is no red visible on the page.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-17-f.svg,v $</title>
+  <defs>
+    <font-face
+      font-family="SVGFreeSansASCII"
+      unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+
+    <path d="M 50 50 L 50 150 L 150 150 L 150 50 z" stroke-width="5" stroke="red" fill="none" />
+    <path d="M 50 50 L 50 150 L 150 150 L 150 50 Z" stroke-width="6" stroke="black" fill="none" />
+    <path d="M 250 50 L 250 150 L 350 150 L 350 50 Z" stroke-width="5" stroke="red" fill="none" />
+    <path d="M 250 50 L 250 150 L 350 150 L 350 50 z" stroke-width="6" stroke="black" fill="none" />
+
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none"
+      fill="black">$Revision: 1.4 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
+  <!-- comment out this watermark once the test is approved 
+  <g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g>-->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-18-f-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-18-f-ref.png
new file mode 100644
index 0000000..a2e2e74
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-18-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-18-f.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-18-f.svg
new file mode 100644
index 0000000..e50a850
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-18-f.svg
@@ -0,0 +1,100 @@
+<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";>
+  <!--======================================================================-->
+  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <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.6 $" testname="$RCSfile: paths-data-18-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathDataGeneralInformation";>
+      <p>
+        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.
+      </p>
+      <p>
+        Various black path segments are rendered that each demonstrate one of the parsing rules. Each path 
segment is placed on top
+        of a similar path segment that lacks the particular parsing rule that is being tested. Test passes 
if no red is visible.
+      </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The test passes if seven thick black horizontal lines are shown with corresponding
+        gold horizontal lines just above them, and the black and gold lines are all of the
+        same length and horizontal position.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-18-f.svg,v $</title>
+  <defs>
+    <font-face
+      font-family="SVGFreeSansASCII"
+      unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+
+    <g fill="gold">
+      <rect x="220" y="40" width="160" height="8"/>
+      <rect x="220" y="80" width="160" height="8"/>
+      <rect x="220" y="120" width="160" height="8"/>
+      <rect x="220" y="160" width="160" height="8"/>
+      <rect x="64.6" y="200" width="319.5" height="8"/>
+      <rect x="140" y="240" width="160" height="8"/>
+      <rect x="220" y="280" width="160" height="8"/>
+    </g>
+
+    <g transform="translate(60,-30) scale(8,2)">
+      <path d="M 20 40 H 40" stroke-width="2" stroke="red" />
+      <path d="M 20 40
+                 H 40" stroke-width="4" stroke="black" />
+  
+      <path d="M 20 60 H 40" stroke-width="2" stroke="red" />
+      <path d="
+                  M
+                  20
+                  60
+                  H
+                  40
+                  " stroke-width="4" stroke="black" />
+  
+      <path d="M 20 80 H40" stroke-width="2" stroke="red" />
+      <path d="M       20,80          H    40" stroke-width="4" stroke="black" />
+  
+      <path d="M 20 100 H 40#90" stroke-width="2" stroke="red" />
+      <path d="M 20 100 H 40" stroke-width="4" stroke="black" />
+  
+      <path d="M 20 120 H 40.5 0.6" stroke-width="2" stroke="red" />
+      <path d="M 20 120 H 40.5.6" stroke-width="4" stroke="black" />
+  
+      <path d="M 20 140 h 10 -20" stroke-width="2" stroke="red" />
+      <path d="M 20 140 h 10-20" stroke-width="4" stroke="black" />
+  
+      <path d="M 20 160 H 40" stroke-width="2" stroke="red" />
+      <path d="M 20 160 H 40#90" stroke-width="4" stroke="black" />
+    </g>
+
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none"
+      fill="black">$Revision: 1.6 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
+  <!-- comment out this watermark once the test is approved 
+  <g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g> -->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-19-f-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-19-f-ref.png
new file mode 100644
index 0000000..e98e77b
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-19-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-19-f.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-19-f.svg
new file mode 100644
index 0000000..5d6d49a
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-19-f.svg
@@ -0,0 +1,107 @@
+<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";>
+  <!--======================================================================-->
+  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <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: paths-data-19-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathDataGeneralInformation";>
+      <p>
+        Test that additional parameters to pathdata commands are treated as additional calls to the most 
recent command.
+      </p>
+      <p>
+        Each of the applicable 'pathdata' commands are used in separate 'path' elements. Each command is 
repeated in red and
+        overlayed with another 'path' element with identical coordinates specified but without the repeated 
command in black.
+        Commands that do not render or do not take parameters are omitted.
+      </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The test is passed if there is no red visible on the page.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-19-f.svg,v $</title>
+  <defs>
+    <font-face
+      font-family="SVGFreeSansASCII"
+      unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+
+    <path d="M20 20 H40 H60" stroke-width="3" stroke="red" fill="none" />
+    <path d="M20 20 H40 60" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M20 40 h20 h20" stroke-width="3" stroke="red" fill="none" />
+    <path d="M20 40 h20 20" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M120 20 V40 V60" stroke-width="3" stroke="red" fill="none" />
+    <path d="M120 20 V40 60" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M140 20 v20 v20" stroke-width="3" stroke="red" fill="none" />
+    <path d="M140 20 v20 20" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M220 20 L 240 20 L260 20" stroke-width="3" stroke="red" fill="none" />
+    <path d="M220 20 L 240 20 260 20 " stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M220 40 l 20 0 l 20 0" stroke-width="3" stroke="red" fill="none" />
+    <path d="M220 40 l 20 0 20 0" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M50 150 C50 50 200 50 200 150 C200 50 350 50 350 150" stroke-width="3" stroke="red" fill="none" 
/>
+    <path d="M50 150 C50 50 200 50 200 150 200 50 350 50 350 150" stroke-width="3" stroke="black" 
fill="none" />
+
+    <path d="M50, 200 c0,-100 150,-100 150,0 c0,-100 150,-100 150,0" stroke-width="3" stroke="red" 
fill="none" />
+    <path d="M50, 200 c0,-100 150,-100 150,0 0,-100 150,-100 150,0" stroke-width="3" stroke="black" 
fill="none" />
+
+    <path d="M50 250 S125 200 200 250 S275, 200 350 250" stroke-width="3" stroke="red" fill="none" />
+    <path d="M50 250 S125 200 200 250 275, 200 350 250" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M50 275 s75 -50 150 0 s75, -50 150 0" stroke-width="3" stroke="red" fill="none" />
+    <path d="M50 275 s75 -50 150 0 75, -50 150 0" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M50 300 Q 125 275 200 300 Q 275 325 350 300" stroke-width="3" stroke="red" fill="none" />
+    <path d="M50 300 Q 125 275 200 300 275 325 350 300" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M50 325 q 75 -25 150 0 q 75 25 150 0" stroke-width="3" stroke="red" fill="none" />
+    <path d="M50 325 q 75 -25 150 0 75 25 150 0" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M425 25 T 425 75 T 425 125" stroke-width="3" stroke="red" fill="none" />
+    <path d="M425 25 T 425 75 425 125" stroke-width="3" stroke="black" fill="none" />
+
+    <path d="M450 25 t 0 50 t 0 50" stroke-width="3" stroke="red" fill="none" />
+    <path d="M450 25 t 0 50 0 50" stroke-width="3" stroke="black" fill="none" />
+
+    <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" />
+    <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" 
/>
+
+    <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" />
+    <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" />
+
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none"
+      fill="black">$Revision: 1.3 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
+  <!-- comment out this watermark once the test is approved 
+  <g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g> -->
+</svg>
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-20-f-ref.png 
b/tests/fixtures/reftests/svg1.1/paths-data-20-f-ref.png
new file mode 100644
index 0000000..60ed4cd
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/paths-data-20-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/paths-data-20-f.svg 
b/tests/fixtures/reftests/svg1.1/paths-data-20-f.svg
new file mode 100644
index 0000000..b0827e5
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/paths-data-20-f.svg
@@ -0,0 +1,87 @@
+<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";>
+  <!--======================================================================-->
+  <!--=  Copyright 2008 World Wide Web Consortium, (Massachusetts          =-->
+  <!--=  Institute of Technology, European Research Consortium for         =-->
+  <!--=  Informatics and Mathematics (ERCIM), Keio University).            =-->
+  <!--=  All Rights Reserved.                                              =-->
+  <!--=  See http://www.w3.org/Consortium/Legal/.                          =-->
+  <!--======================================================================-->
+  <d:SVGTestCase xmlns:d="http://www.w3.org/2000/02/svg/testsuite/description/";
+    template-version="1.4" reviewer="CL" author="ED" status="accepted"
+    version="$Revision: 1.3 $" testname="$RCSfile: paths-data-20-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/paths.html#PathDataEllipticalArcCommands";>
+      <p>
+        Tests parsing of the elliptical arc path syntax.
+      </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        Run the test. No interaction required.
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        The test has passed if the image looks as if there are eight green circles that have
+        two white rectangles overlapping them, like in the reference image. If any red is visible
+        the test has failed.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: paths-data-20-f.svg,v $</title>
+  <defs>
+    <font-face
+      font-family="SVGFreeSansASCII"
+      unicode-range="U+0-7F">
+      <font-face-src>
+        <font-face-uri xlink:href="../resources/SVGFreeSans.svg#ascii"/>
+      </font-face-src>
+    </font-face>
+  </defs>
+  <g id="test-body-content" font-family="SVGFreeSansASCII,sans-serif" font-size="18">
+
+    <!-- no commawsp between arc flags --> 
+    <path d="M120,120 h25 a25,25 0 1,0 -25,25 z" fill="red" stroke="lime"/>
+    <path d="M120,120 h25 a25,25 0 10 -25,25z" fill="lime"/>
+
+    <!-- no commawsp between arc flags and no commawsp after arc flags -->
+    <path d="M200,120 h-25 a25,25 0 1,1 25,25 z" fill="red" stroke="lime"/>
+    <path d="M200,120 h-25 a25,25 0 1125,25 z" fill="lime"/>
+  
+    <!-- out of range large-arc-flag value -->
+    <path d="M280,120 h25 a25,25 0 1,0 -25,25 z" fill="lime" stroke="lime"/>
+    <path d="M280,120 h25 a25,25 0 6 0 -25,25 z" fill="red"/>
+  
+    <!-- negative sweep-flag value -->
+    <path d="M360,120 h-25 a25,25 0 1,1 25,25 z" fill="lime" stroke="lime"/>
+    <path d="M360,120 h-25 a25,25 0 1 -1 25,25 z" fill="red"/>
+   
+    <!-- no commawsp between sweep-flag and following coordinate-pair -->
+    <path d="M120,200 h25 a25,25 0 1,1 -25,-25 z" fill="red" stroke="lime"/>
+    <path d="M120,200 h25 a25,25 0 1 1-25,-25 z" fill="lime"/>
+  
+    <!-- no commawsp before arc flags -->
+    <path d="M200,200 h-25 a25,25 0 1,0 25,-25 z" fill="lime" stroke="lime"/>
+    <path d="M200,200 h-25 a25,2501 025,-25 z" fill="red"/>
+
+    <!-- out of range sweep-flag value -->
+    <path d="M280,200 h25 a25,25 0 1,1 -25,-25 z" fill="lime" stroke="lime"/>
+    <path d="M280,200 h25 a25 25 0 1 7 -25 -25 z" fill="red"/>
+
+    <!-- negative large-arc-flag value -->
+    <path d="M360,200 h-25 a25,25 0 1,0 25,-25 z" fill="lime" stroke="lime"/>
+    <path d="M360,200 h-25 a25,25 0 -1 0 25,-25 z" fill="red"/>
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none"
+      fill="black">$Revision: 1.3 $</text>
+  </g>
+  <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000"/>
+  <!-- comment out this watermark once the test is approved
+  <g id="draft-watermark">
+    <rect x="1" y="1" width="478" height="20" fill="red" stroke="black" stroke-width="1"/>
+    <text font-family="SVGFreeSansASCII,sans-serif" font-weight="bold" font-size="20" x="240"
+      text-anchor="middle" y="18" stroke-width="0.5" stroke="black" fill="white">DRAFT</text>
+  </g> -->
+</svg>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]