[librsvg/rustification] Add test files for markers



commit f01f0a7c53b518ab4e5f8a14dd0e747f58c1ab7e
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Dec 7 16:59:22 2016 -0600

    Add test files for markers

 .../reftests/svg1.1/painting-marker-01-f-ref.png   |  Bin 0 -> 8618 bytes
 .../reftests/svg1.1/painting-marker-01-f.svg       |  157 +++++++++++++
 .../reftests/svg1.1/painting-marker-02-f-ref.png   |  Bin 0 -> 9358 bytes
 .../reftests/svg1.1/painting-marker-02-f.svg       |  245 ++++++++++++++++++++
 .../reftests/svg1.1/painting-marker-04-f-ref.png   |  Bin 0 -> 27921 bytes
 .../reftests/svg1.1/painting-marker-04-f.svg       |   84 +++++++
 .../reftests/svg1.1/painting-marker-06-f-ref.png   |  Bin 0 -> 8884 bytes
 .../reftests/svg1.1/painting-marker-06-f.svg       |  159 +++++++++++++
 .../reftests/svg1.1/painting-marker-07-f-ref.png   |  Bin 0 -> 5209 bytes
 .../reftests/svg1.1/painting-marker-07-f.svg       |   66 ++++++
 .../svg1.1/painting-marker-properties-01-f-ref.png |  Bin 0 -> 6513 bytes
 .../svg1.1/painting-marker-properties-01-f.svg     |   95 ++++++++
 12 files changed, 806 insertions(+), 0 deletions(-)
---
diff --git a/tests/fixtures/reftests/svg1.1/painting-marker-01-f-ref.png 
b/tests/fixtures/reftests/svg1.1/painting-marker-01-f-ref.png
new file mode 100644
index 0000000..f4d433c
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/painting-marker-01-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/painting-marker-01-f.svg 
b/tests/fixtures/reftests/svg1.1/painting-marker-01-f.svg
new file mode 100644
index 0000000..b48c390
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/painting-marker-01-f.svg
@@ -0,0 +1,157 @@
+<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="Dean Jackson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: painting-marker-01-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/painting.html#Markers";>
+        <p>
+          Tests the basic support for markers. 
+        </p>
+        <p>
+          The top test examines the basic support for the marker element and style. The markers are purple 
rectangles.
+        </p>
+        <p>
+          The middle test examines the support for the different styles of marker properties. The
+          "marker-start" property defines the marker to use at the first vertex of the marked path,
+          in this case a purple rectangle. The "marker-end" property defines the marker to use at the
+          last vertex of the marked path, in this case a blue triangle. The "marker-mid" property
+          defines the marker to use at all vertices, other than the first and last, of the marked path,
+          in this case a green circle.
+        </p>
+        <p>
+          The bottom test examines the support for marker orientation along the
+          path direction. The second vertex, the top right corner of the path, has a marker that
+          is rotated 45 degrees, since that is the average of the horizontal and vertical segments
+          each side. The last vertex, the bottom right corner of the path, has a marker rotated 90
+          degrees since that is the direction of the last path segment.
+        </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>
+        For the three tests, there should be two identical paths with markers drawn. 
+        The path on the left is rendered using the marker elements. The path on the 
+        right is rendered using the equivalent SVG, showing what the marked path should 
+        look like.
+      </p>
+      <p>
+        The rendered picture should match the reference image, except for possible
+        variations in the labelling text (per CSS2 rules).
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: painting-marker-01-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">
+    <defs>
+      <!-- ===================================================================== -->
+      <!-- Define a few simple marker elements                                   -->
+      <!-- ===================================================================== -->
+      <marker id="marker1" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" 
markerUnits="strokeWidth">
+        <rect width="10" height="10" fill="purple" stroke="none"/>
+      </marker>
+      <marker id="marker2" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" 
markerUnits="strokeWidth" orient="auto">
+        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+      </marker>
+      <marker id="markerStart" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" 
markerUnits="strokeWidth">
+        <rect width="10" height="10" fill="purple" stroke="none"/>
+      </marker>
+      <marker id="markerMiddle" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" 
markerUnits="strokeWidth">
+        <circle cx="5" cy="5" r="5" fill="green" stroke="none"/>
+      </marker>
+      <marker id="markerEnd" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" 
markerUnits="strokeWidth">
+        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+      </marker>
+    </defs>
+    <!-- ===================================================================== -->
+    <!-- Basic Marker Test                                                     -->
+    <!-- ===================================================================== -->
+    <text x="170" y="30" font-size="14">Basic Markers</text>
+    <path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker1)" 
marker-mid="url(#marker1)" marker-end="url(#marker1)" d="M 130 40 L 180 40 L 180 90"/>
+    <!-- ===================================================================== -->
+    <!-- Generate the equivalent SVG                                           -->
+    <!-- ===================================================================== -->
+    <g transform="translate(120,0)">
+      <path fill="none" stroke="black" stroke-width="8" d="M 130 40 L 180 40 L 180 90"/>
+      <g transform="translate(130,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" 
stroke-width="8">
+        <rect width="10" height="10" fill="purple" stroke="none"/>
+      </g>
+      <g transform="translate(180,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" 
stroke-width="8">
+        <rect width="10" height="10" fill="purple" stroke="none"/>
+      </g>
+      <g transform="translate(180,90) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" stroke="black" 
stroke-width="8">
+        <rect width="10" height="10" fill="purple" stroke="none"/>
+      </g>
+    </g>
+    <!-- ===================================================================== -->
+    <!-- Start, Middle and End Marker Test                                     -->
+    <!-- ===================================================================== -->
+    <text x="145" y="125" font-size="14">Start, Middle and End</text>
+    <path fill="none" stroke="black" stroke-width="8" marker-start="url(#markerStart)" 
marker-mid="url(#markerMiddle)" marker-end="url(#markerEnd)" d="M 130 135 L 180 135 L 180 185"/>
+    <!-- ===================================================================== -->
+    <!-- Generate the equivalent SVG                                           -->
+    <!-- ===================================================================== -->
+    <g transform="translate(120,0)">
+      <path fill="none" stroke="black" stroke-width="8" d="M 130 135 L 180 135 L 180 185"/>
+      <g transform="translate(130,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" 
stroke="black" stroke-width="8">
+        <rect width="10" height="10" fill="purple" stroke="none"/>
+      </g>
+      <g transform="translate(180,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" 
stroke="black" stroke-width="8">
+        <circle cx="5" cy="5" r="5" fill="green" stroke="none"/>
+      </g>
+      <g transform="translate(180,185) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" 
stroke="black" stroke-width="8">
+        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+      </g>
+    </g>
+    <!-- ===================================================================== -->
+    <!-- Auto Orientation Marker Test                                          -->
+    <!-- ===================================================================== -->
+    <text x="145" y="220" font-size="14">Automatic Orientation</text>
+    <path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker2)" 
marker-mid="url(#marker2)" marker-end="url(#marker2)" d="M 130 230 L 180 230 L 180 280"/>
+    <!-- ===================================================================== -->
+    <!-- Generate the equivalent SVG                                           -->
+    <!-- ===================================================================== -->
+    <g transform="translate(120,0)">
+      <path fill="none" stroke="black" stroke-width="8" d="M 130 230 L 180 230 L 180 280"/>
+      <g transform="translate(130,230) rotate(0) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" 
stroke="black" stroke-width="8">
+        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+      </g>
+      <g transform="translate(180,230) rotate(45) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" 
stroke="black" stroke-width="8">
+        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+      </g>
+      <g transform="translate(180,280) rotate(90) scale(8) scale(0.2, 0.2) translate(-5, -5)" fill="none" 
stroke="black" stroke-width="8">
+        <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+      </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.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/painting-marker-02-f-ref.png 
b/tests/fixtures/reftests/svg1.1/painting-marker-02-f-ref.png
new file mode 100644
index 0000000..bca7095
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/painting-marker-02-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/painting-marker-02-f.svg 
b/tests/fixtures/reftests/svg1.1/painting-marker-02-f.svg
new file mode 100644
index 0000000..bab08fc
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/painting-marker-02-f.svg
@@ -0,0 +1,245 @@
+<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="Dean Jackson" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: painting-marker-02-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/painting.html#Markers";>
+        <p>
+          Tests the rendering of markers, specifically property inheritance. For the four tests, there should
+          be two identical paths with markers drawn. 
+        </p>
+        <p>
+          The top two tests examine the rendering of markers when the marker and the path
+          referencing it share the same parent and all painting properties are specfied on
+          that parent. The first test show inheritance of the 'fill' property and the
+          second the inheritance of the 'paint' property. In both tests, the marker
+          is painting using the same properties as the referencing object. Because of
+          scaling transformations on the marker, the stroke on the second test is thinner
+          than on the referencing object.
+        </p>
+        <p>
+          The third and fourth tests examine the rendering of markers in a situation where the
+          marker and referencing path do NOT share the same parent and painting
+          properties are specified both on the parent of the marked path and on the contents
+          of the marker itself. In both cases, the marker's parent specifies
+          fill="green" stroke="blue" stroke-width="8". For the third test, the marker contents
+          override with stroke="black". For the fourth test, the marker contents
+          override with fill="black". In neither case should you see
+          fill="orange" or stroke="blue" or "stroke="purple" on the markers as these properties
+          are specified on the ancestor of the referencing object or the referencing object itself
+          and thus shouldn't affect the marker.
+        </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 path on the left is rendered using the marker elements. 
+        The path on the right is rendered using the equivalent SVG, 
+        showing what the marked path should look like.  These should be 
+        identical and match the image to the right.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: painting-marker-02-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">
+    <defs>
+      <clipPath id="overflowHiddenClip1" clipPathUnits="userSpaceOnUse">
+        <rect x="0" y="0" width="2" height="2"/>
+      </clipPath>
+      <clipPath id="overflowHiddenClip" clipPathUnits="userSpaceOnUse">
+        <rect x="0" y="0" width="4" height="4"/>
+      </clipPath>
+    </defs>
+    <g fill="green">
+      <text x="125" y="30" font-size="14" fill="black">Marker Rendering Properties</text>
+      <!-- ===================================================================== -->
+      <!-- Fill property                                                         -->
+      <!-- ===================================================================== -->
+      <g fill="black" stroke="none" stroke-width="8">
+        <marker id="marker1" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" 
markerUnits="strokeWidth">
+          <rect width="10" height="10"/>
+        </marker>
+        <text x="100" y="140" font-size="10" fill="black" stroke="none">Fill Property</text>
+        <path marker-start="url(#marker1)" marker-mid="url(#marker1)" marker-end="url(#marker1)" d="M 30 60 
L 80 60 L 80 110 Z"/>
+        <!-- ===================================================================== -->
+        <!-- Generate the equivalent SVG                                           -->
+        <!-- ===================================================================== -->
+        <g transform="translate(120,0)">
+          <path d="M 30 60 L 80 60 L 80 110 Z"/>
+          <g transform="translate(30,60) scale(8) translate(-1, -1)">
+            <g clip-path="url(#overflowHiddenClip1)">
+              <g transform="scale(0.2, 0.2)">
+                <rect width="10" height="10"/>
+              </g>
+            </g>
+          </g>
+          <g transform="translate(80,60) scale(8) translate(-1, -1)">
+            <g clip-path="url(#overflowHiddenClip1)">
+              <g transform="scale(0.2, 0.2)">
+                <rect width="10" height="10"/>
+              </g>
+            </g>
+          </g>
+          <g transform="translate(80,110) scale(8) translate(-1, -1)">
+            <g clip-path="url(#overflowHiddenClip1)">
+              <g transform="scale(0.2, 0.2)">
+                <rect width="10" height="10"/>
+              </g>
+            </g>
+          </g>
+        </g>
+      </g>
+      <!-- ===================================================================== -->
+      <!-- Stroke property                                                       -->
+      <!-- ===================================================================== -->
+      <g fill="none" stroke="black" stroke-width="4">
+        <marker id="marker2" viewBox="0 0 20 20" markerWidth="4" markerHeight="4" refX="10" refY="10" 
markerUnits="strokeWidth">
+          <rect width="20" height="20"/>
+        </marker>
+        <text x="340" y="140" font-size="10" fill="black" stroke="none">Stroke Property</text>
+        <path marker-start="url(#marker2)" marker-mid="url(#marker2)" marker-end="url(#marker2)" d="M 270 60 
L 320 60 L 320 110 Z"/>
+        <!-- ===================================================================== -->
+        <!-- Generate the equivalent SVG                                           -->
+        <!-- ===================================================================== -->
+        <g transform="translate(120,0)">
+          <path d="M 270 60 L 320 60 L 320 110 Z"/>
+          <!-- ===================================================================== -->
+          <!-- Generate the equivalent SVG                                           -->
+          <!-- ===================================================================== -->
+          <g transform="translate(270,60) scale(4) translate(-2, -2)">
+            <g clip-path="url(#overflowHiddenClip)">
+              <g transform="scale(0.2, 0.2)">
+                <rect width="20" height="20"/>
+              </g>
+            </g>
+          </g>
+          <g transform="translate(320,60) scale(4) translate(-2, -2)">
+            <g clip-path="url(#overflowHiddenClip)">
+              <g transform="scale(0.2, 0.2)">
+                <rect width="20" height="20"/>
+              </g>
+            </g>
+          </g>
+          <g transform="translate(320, 110) scale(4) translate(-2, -2)">
+            <g clip-path="url(#overflowHiddenClip)">
+              <g transform="scale(0.2, 0.2)">
+                <rect width="20" height="20"/>
+              </g>
+            </g>
+          </g>
+        </g>
+      </g>
+      <!-- ===================================================================== -->
+      <!-- Define marker element with parents setting painting properties        -->
+      <!-- ===================================================================== -->
+      <g fill="green" stroke="blue" stroke-width="8">
+        <marker id="marker3" viewBox="0 0 20 20" markerWidth="4" markerHeight="4" refX="10" refY="10" 
markerUnits="strokeWidth">
+          <rect width="20" height="20" stroke="black"/>
+        </marker>
+        <marker id="marker4" viewBox="0 0 10 10" markerWidth="4" markerHeight="4" refX="5" refY="5" 
markerUnits="strokeWidth">
+          <rect width="10" height="10" fill="black" stroke-width="4"/>
+        </marker>
+      </g>
+      <!-- ===================================================================== -->
+      <!-- Parent and specified properties                                       -->
+      <!-- ===================================================================== -->
+      <g fill="orange" stroke="blue">
+        <text x="90" y="270" font-size="10" fill="black" stroke="none">Mixed Properties</text>
+        <path stroke="purple" stroke-width="4" marker-start="url(#marker3)" marker-mid="url(#marker3)" 
marker-end="url(#marker3)" d="M 30 190 L 80 190 L 80 240 Z"/>
+        <!-- ===================================================================== -->
+        <!-- Generate the equivalent SVG                                           -->
+        <!-- ===================================================================== -->
+        <g transform="translate(120,0)">
+          <path stroke="purple" stroke-width="4" d="M 30 190 L 80 190 L 80 240 Z"/>
+          <g fill="green" stroke="black" stroke-width="8">
+            <g transform="translate(30,190) scale(4) translate(-2, -2)">
+              <g clip-path="url(#overflowHiddenClip)">
+                <g transform="scale(.2, .2)">
+                  <rect width="20" height="20"/>
+                </g>
+              </g>
+            </g>
+            <g transform="translate(80,190) scale(4) translate(-2, -2)">
+              <g clip-path="url(#overflowHiddenClip)">
+                <g transform="scale(0.2, 0.2)">
+                  <rect width="20" height="20"/>
+                </g>
+              </g>
+            </g>
+            <g transform="translate(80,240) scale(4) translate(-2, -2)">
+              <g clip-path="url(#overflowHiddenClip)">
+                <g transform="scale(0.2, 0.2)">
+                  <rect width="20" height="20"/>
+                </g>
+              </g>
+            </g>
+          </g>
+        </g>
+      </g>
+      <g fill="orange" stroke="green">
+        <text x="340" y="270" font-size="10" fill="black" stroke="none">Mixed Properties</text>
+        <path stroke="purple" stroke-width="4" marker-start="url(#marker4)" marker-mid="url(#marker4)" 
marker-end="url(#marker4)" d="M 270 190 L 320 190 L 320 240 Z"/>
+        <!-- ===================================================================== -->
+        <!-- Generate the equivalent SVG                                           -->
+        <!-- ===================================================================== -->
+        <g transform="translate(120,0)">
+          <path stroke="purple" stroke-width="4" d="M 270 190 L 320 190 L 320 240 Z"/>
+          <g fill="black" stroke="blue" stroke-width="4">
+            <g transform="translate(270,190) scale(4) translate(-2, -2)">
+              <g clip-path="url(#overflowHiddenClip)">
+                <g transform="scale(0.4, 0.4)">
+                  <rect width="10" height="10"/>
+                </g>
+              </g>
+            </g>
+            <g transform="translate(320,190) scale(4) translate(-2, -2)">
+              <g clip-path="url(#overflowHiddenClip)">
+                <g transform="scale(0.4, 0.4)">
+                  <rect width="10" height="10"/>
+                </g>
+              </g>
+            </g>
+            <g transform="translate(320,240) scale(4) translate(-2, -2)">
+              <g clip-path="url(#overflowHiddenClip)">
+                <g transform="scale(0.4, 0.4)">
+                  <rect width="10" height="10"/>
+                </g>
+              </g>
+            </g>
+          </g>
+        </g>
+      </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.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/painting-marker-04-f-ref.png 
b/tests/fixtures/reftests/svg1.1/painting-marker-04-f-ref.png
new file mode 100644
index 0000000..b55f88b
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/painting-marker-04-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/painting-marker-04-f.svg 
b/tests/fixtures/reftests/svg1.1/painting-marker-04-f.svg
new file mode 100644
index 0000000..6abd8ce
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/painting-marker-04-f.svg
@@ -0,0 +1,84 @@
+<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="CL" author="BB" status="accepted"
+    version="$Revision: 1.7 $" testname="$RCSfile: painting-marker-04-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/painting.html#Markers";>
+        <p>
+          The SVG specification defines three properties to reference markers: marker-start, marker-mid,
+          marker-end. It also provides a shorthand property,marker.  Using the marker property from a style 
sheet
+          is equivalent to using all three (start, mid, end). However, shorthand properties cannot be used 
as presentation attributes.
+        </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 shapes in the top row have no markers,
+        while the shapes in the bottom rom have small blue markers
+        (26 in total).
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: painting-marker-04-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">
+    <defs>
+      <marker id="marker1" markerUnits="strokeWidth" refX="50" refY="50" markerWidth="5" markerHeight="5" 
viewBox="0 0 100 100">
+        <rect width="100" height="100" fill="royalblue" stroke="none"/>
+      </marker>
+      <marker id="marker2" markerUnits="strokeWidth" refX="100" refY="100" markerWidth="15" 
markerHeight="15" viewBox="0 0 200 200">
+        <rect width="200" height="200" fill="red" stroke="none"/>
+      </marker>
+    </defs>
+
+    <text font-size="20" x="240" y="28" text-anchor="middle">'marker' attribute test</text>
+
+    <text font-size="20" x="240" y="70" text-anchor="middle" fill="forestgreen">'marker' attribute</text>
+    <g marker="url(#marker2)" fill="gold" stroke="black" fill-rule="evenodd" transform="translate(50,20)" 
id="markme">
+      <path d="M10,60 Q90,60 90,140 Q10,140 10,60 Z M10,140 Q10,60 90,60 Q90,140 10,140 Z M50,70 L80,100 
50,130 20,100 Z"/>
+      <polygon points="100,60 120,140 140,60 160,140 180,60 180,100 100,100"/>
+      <polyline points="190,60 210,140 230,60 250,140 270,60 270,100 190,100"/>
+      <line x1="280" x2="370" y1="60" y2="140"/>
+      <line x1="370" x2="280" y1="60" y2="140"/>
+    </g>
+
+    <text font-size="20" x="240" y="200" text-anchor="middle" fill="forestgreen">'marker-start', 
'marker-mid' &amp; 'marker-end' attributes</text>
+    <g marker-mid="url(#marker1)" marker-end="url(#marker1)" marker-start="url(#marker1)" fill="gold" 
stroke="black" fill-rule="evenodd" transform="translate(50,150)">
+      <path d="M10,60 Q90,60 90,140 Q10,140 10,60 Z M10,140 Q10,60 90,60 Q90,140 10,140 Z M50,70 L80,100 
50,130 20,100 Z"/>
+      <polygon points="100,60 120,140 140,60 160,140 180,60 180,100 100,100"/>
+      <polyline points="190,60 210,140 230,60 250,140 270,60 270,100 190,100"/>
+      <line x1="280" x2="370" y1="60" y2="140"/>
+      <line x1="370" x2="280" y1="60" y2="140"/>
+    </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/painting-marker-06-f-ref.png 
b/tests/fixtures/reftests/svg1.1/painting-marker-06-f-ref.png
new file mode 100644
index 0000000..1998e81
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/painting-marker-06-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/painting-marker-06-f.svg 
b/tests/fixtures/reftests/svg1.1/painting-marker-06-f.svg
new file mode 100644
index 0000000..c1929f8
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/painting-marker-06-f.svg
@@ -0,0 +1,159 @@
+<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="AG" author="ED" status="accepted"
+    version="$Revision: 1.9 $" testname="$RCSfile: painting-marker-06-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/painting.html#MarkerElement";>
+        <p>
+          Tests the basic support for markers. For the three tests, there
+          should be two identical paths with markers drawn. The path on the left is
+          rendered using the marker elements. The path on the right is rendered using
+          the equivalent SVG, showing what the marked path should look like.
+        </p>
+        <p>
+          This test is similar to the painting-marker-01-f.svg test, but has some viewBox attributes
+          that have a non-zero offset.
+        </p>
+        <p>
+          The top test examines the basic support for the marker element and style. The markers are purple 
rectangles.
+        </p>
+        <p>
+          The middle test examines the support for the different styles of marker properties. The
+          "marker-start" property defines the marker to use at the first vertex of the marked path,
+          in this case a purple rectangle. The "marker-end" property defines the marker to use at the
+          last vertex of the marked path, in this case a blue triangle. The "marker-mid" property
+          defines the marker to use at all vertices, other than the first and last, of the marked path,
+          in this case a green circle.
+        </p>
+        <p>
+          The bottom test examines the support for marker orientation along the
+          path direction. The second vertex, the top right corner of the path, has a marker that
+          is rotated 45 degrees, since that is the average of the horizontal and vertical segments
+          each side. The last vertex, the bottom right corner of the path, has a marker rotated 90
+          degrees since that is the direction of the last path segment.
+        </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, except for possible
+        variations in the labelling text (per CSS2 rules).
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: painting-marker-06-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">
+    <defs>
+               <!-- ===================================================================== -->
+               <!-- Define a few simple marker elements                                   -->
+               <!-- ===================================================================== -->
+    <marker id="marker1" viewBox="20 20 10 10" markerWidth="2" markerHeight="2" refX="25" refY="25" 
markerUnits="strokeWidth">
+      <rect x="20" y="20" width="10" height="10" fill="purple" stroke="none"/>
+    </marker>
+    <marker id="marker2" viewBox="-5 -5 10 10" markerWidth="2" markerHeight="2" markerUnits="strokeWidth" 
orient="auto">
+      <path d="M 0 -5 L 5 5 L -5 5 Z" fill="blue" stroke="none"/>
+    </marker>
+       <marker id="markerStart" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" 
markerUnits="strokeWidth">
+                       <rect width="10" height="10" fill="purple" stroke="none"/>
+               </marker>
+               <marker id="markerMiddle" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" 
refY="5" markerUnits="strokeWidth">
+                       <circle cx="5" cy="5" r="5" fill="green" stroke="none"/>
+               </marker>
+               <marker id="markerEnd" viewBox="0 0 10 10" markerWidth="2" markerHeight="2" refX="5" refY="5" 
markerUnits="strokeWidth">
+                       <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+               </marker>
+       </defs>
+               <!-- ===================================================================== -->
+               <!-- Basic Marker Test                                                     -->
+               <!-- ===================================================================== -->
+               <text x="170" y="30" font-size="14">Basic Markers</text>
+               <path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker1)" 
marker-mid="url(#marker1)" marker-end="url(#marker1)" d="M 130 40 L 180 40 L 180 90"/>
+               <!-- ===================================================================== -->
+               <!-- Generate the equivalent SVG                                           -->
+               <!-- ===================================================================== -->
+               <g transform="translate(120,0)">
+                       <path fill="none" stroke="black" stroke-width="8" d="M 130 40 L 180 40 L 180 90"/>
+                       <g transform="translate(130,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" 
fill="none" stroke="black" stroke-width="8">
+                               <rect width="10" height="10" fill="purple" stroke="none"/>
+                       </g>
+                       <g transform="translate(180,40) scale(8) scale(0.2, 0.2) translate(-5, -5)" 
fill="none" stroke="black" stroke-width="8">
+                               <rect width="10" height="10" fill="purple" stroke="none"/>
+                       </g>
+                       <g transform="translate(180,90) scale(8) scale(0.2, 0.2) translate(-5, -5)" 
fill="none" stroke="black" stroke-width="8">
+                               <rect width="10" height="10" fill="purple" stroke="none"/>
+                       </g>
+               </g>
+               <!-- ===================================================================== -->
+               <!-- Start, Middle and End Marker Test                                     -->
+               <!-- ===================================================================== -->
+               <text x="145" y="125" font-size="14">Start, Middle and End</text>
+               <path fill="none" stroke="black" stroke-width="8" marker-start="url(#markerStart)" 
marker-mid="url(#markerMiddle)" marker-end="url(#markerEnd)" d="M 130 135 L 180 135 L 180 185"/>
+               <!-- ===================================================================== -->
+               <!-- Generate the equivalent SVG                                           -->
+               <!-- ===================================================================== -->
+               <g transform="translate(120,0)">
+                       <path fill="none" stroke="black" stroke-width="8" d="M 130 135 L 180 135 L 180 185"/>
+                       <g transform="translate(130,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" 
fill="none" stroke="black" stroke-width="8">
+                               <rect width="10" height="10" fill="purple" stroke="none"/>
+                       </g>
+                       <g transform="translate(180,135) scale(8) scale(0.2, 0.2) translate(-5, -5)" 
fill="none" stroke="black" stroke-width="8">
+                               <circle cx="5" cy="5" r="5" fill="green" stroke="none"/>
+                       </g>
+                       <g transform="translate(180,185) scale(8) scale(0.2, 0.2) translate(-5, -5)" 
fill="none" stroke="black" stroke-width="8">
+                               <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+                       </g>
+               </g>
+               <!-- ===================================================================== -->
+               <!-- Auto Orientation Marker Test                                          -->
+               <!-- ===================================================================== -->
+               <text x="145" y="220" font-size="14">Automatic Orientation</text>
+               <path fill="none" stroke="black" stroke-width="8" marker-start="url(#marker2)" 
marker-mid="url(#marker2)" marker-end="url(#marker2)" d="M 130 230 L 180 230 L 180 280"/>
+               <!-- ===================================================================== -->
+               <!-- Generate the equivalent SVG                                           -->
+               <!-- ===================================================================== -->
+               <g transform="translate(120,0)">
+                       <path fill="none" stroke="black" stroke-width="8" d="M 130 230 L 180 230 L 180 280"/>
+                       <g transform="translate(130,230) rotate(0) scale(8) scale(0.2, 0.2) translate(-5, 
-5)" fill="none" stroke="black" stroke-width="8">
+                               <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+                       </g>
+                       <g transform="translate(180,230) rotate(45) scale(8) scale(0.2, 0.2) translate(-5, 
-5)" fill="none" stroke="black" stroke-width="8">
+                               <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+                       </g>
+                       <g transform="translate(180,280) rotate(90) scale(8) scale(0.2, 0.2) translate(-5, 
-5)" fill="none" stroke="black" stroke-width="8">
+                               <path d="M 5 0 L 10 10 L 0 10 Z" fill="blue" stroke="none"/>
+                       </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.9 $</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/painting-marker-07-f-ref.png 
b/tests/fixtures/reftests/svg1.1/painting-marker-07-f-ref.png
new file mode 100644
index 0000000..ba709ec
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/painting-marker-07-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/painting-marker-07-f.svg 
b/tests/fixtures/reftests/svg1.1/painting-marker-07-f.svg
new file mode 100644
index 0000000..fc08673
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/painting-marker-07-f.svg
@@ -0,0 +1,66 @@
+<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";>
+  <!--======================================================================-->
+  <!--=  SVG 1.1 2nd Edition Test Case                                     =-->
+  <!--======================================================================-->
+  <!--=  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.3 $" testname="$RCSfile: 
painting-marker-07-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://www.w3.org/TR/SVG11/painting.html#Markers";>
+      <p>
+        A 'marker' element with 'display' set to 'none' on that
+        element or any ancestor is rendered when referenced by another element.
+      </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>
+        Test passes if there are two green triangles visible on the page.
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <title id="test-title">$RCSfile: painting-marker-07-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">
+    <defs>
+        <marker id="testMarker" markerWidth="100" markerHeight="100" display="none">
+            <path d="M 0 0 L 200 200 L 0 150 z" fill="green" />
+        </marker>
+        <g display="none">
+          <marker id="testMarker2" markerWidth="100" markerHeight="100">
+            <path d="M 0 0 L 200 200 L 0 150 z" fill="green" />
+          </marker>
+        </g>
+    </defs>
+    <path d="M 0 0 L 25 25" marker-end="url(#testMarker)" />
+    <path d="M 100 0 L 125 25" marker-end="url(#testMarker2)" />
+  </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>
\ No newline at end of file
diff --git a/tests/fixtures/reftests/svg1.1/painting-marker-properties-01-f-ref.png 
b/tests/fixtures/reftests/svg1.1/painting-marker-properties-01-f-ref.png
new file mode 100644
index 0000000..dc54154
Binary files /dev/null and b/tests/fixtures/reftests/svg1.1/painting-marker-properties-01-f-ref.png differ
diff --git a/tests/fixtures/reftests/svg1.1/painting-marker-properties-01-f.svg 
b/tests/fixtures/reftests/svg1.1/painting-marker-properties-01-f.svg
new file mode 100644
index 0000000..cbac3a7
--- /dev/null
+++ b/tests/fixtures/reftests/svg1.1/painting-marker-properties-01-f.svg
@@ -0,0 +1,95 @@
+<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="[reviewer]" author="Microsoft" status="created" version="$Revision: 1.2 $" testname="$RCSfile: 
painting-marker-properties-01-f.svg,v $">
+    <d:testDescription xmlns="http://www.w3.org/1999/xhtml"; 
href="http://dev.w3.org/SVG/profiles/1.1F2/publish/painting.html#MarkerProperties";>
+      <p>
+        <!--[[
+        'Marker-start', 'marker-mid', and 'marker-end' only render markers at the appropriate vertices when 
applied to 'line', 'path', 'polygon' and 'polyline' elements.
+        ]]-->
+      </p>
+    </d:testDescription>
+    <d:operatorScript xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        <!--[[
+        For each attribute ('marker-start', 'marker-mid', and 'marker-end'), create a top 'rect' and a 
bottom 'rect' that define where the marker
+        'rect's should align. Create the 'line', 'path', 'polygon', and 'polyline' elements to render their 
markers between the top and bottom 'rect'
+        elements such that an unbreaking line is formed. The 'line' element does not create a mid marker, so 
the top marker for the 'mid' column is
+        larger than the rest.
+        ]]-->
+      </p>
+    </d:operatorScript>
+    <d:passCriteria xmlns="http://www.w3.org/1999/xhtml";>
+      <p>
+        <!--[[
+        Test passes if there are three unbroken blue rectangles visible on the page.
+        ]]-->
+      </p>
+    </d:passCriteria>
+  </d:SVGTestCase>
+  <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">
+    <style type="text/css"><![CDATA[
+        .start
+        {
+            marker-start: url(#markerTest);
+        }
+        .end
+        {
+            marker-end: url(#markerTest);
+        }
+        .mid
+        {
+            marker-mid: url(#markerTest);
+        }]]>
+    </style>
+    <defs>
+        <marker id="markerTest" markerWidth="100" markerHeight="100" fill="blue">
+            <rect width="50" height="55" />
+        </marker>
+    </defs>
+    <rect width="50" height="55" fill="blue" />
+    <line class="start" y1="50" x2="100" y2="50" stroke="none" />
+    <path class="start" d="M 0 100 L 50 100 L 100 100" />
+    <polygon class="start" points="0,150 50,150 100,150" />
+    <polyline class="start" points="0,200 50,200 100,200" />
+    <rect y="250" width="50" height="50" fill="blue" />
+
+    <rect x="250" width="50" height="55" fill="blue" />
+    <line class="end" x1="150" y1="50" x2="250" y2="50" stroke="none" />
+    <path class="end" d="M 150 100 L 200 100 L 250 100" />
+    <polygon class="end" points="250,150 200,150" />
+    <polyline class="end" points="150,200 200,200 250,200" />
+    <rect x="250" y="250" width="50" height="50" fill="blue" />
+
+    <rect x="350" width="50" height="105" fill="blue" />
+    <path class="mid" d="M 300 100 L 350 100 L 400 100" />
+    <polygon class="mid" points="300,150 350,150" />
+    <polyline class="mid" points="300,200 350,200 400,200" />
+    <rect x="350" y="250" width="50" height="50" fill="blue" />
+  </g>
+  <g font-family="SVGFreeSansASCII,sans-serif" font-size="32">
+    <text id="revision" x="10" y="340" stroke="none"
+      fill="black">$Revision: 1.2 $</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]