summaryrefslogtreecommitdiffstats
path: root/tests/arthur/data/1.1/linking-uri-03-t.svg
diff options
context:
space:
mode:
Diffstat (limited to 'tests/arthur/data/1.1/linking-uri-03-t.svg')
-rw-r--r--tests/arthur/data/1.1/linking-uri-03-t.svg74
1 files changed, 74 insertions, 0 deletions
diff --git a/tests/arthur/data/1.1/linking-uri-03-t.svg b/tests/arthur/data/1.1/linking-uri-03-t.svg
new file mode 100644
index 0000000000..5009ea579b
--- /dev/null
+++ b/tests/arthur/data/1.1/linking-uri-03-t.svg
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11-tiny.dtd">
+<!--======================================================================-->
+<!--= Copyright 2002 World Wide Web Consortium, (Massachusetts =-->
+<!--= Institute of Technology, Institut National de Recherche en =-->
+<!--= Informatique et en Automatique, Keio University). All Rights =-->
+<!--= Reserved. See http://www.w3.org/Consortium/Legal/. =-->
+<!--======================================================================-->
+<!-- ===================================================================== -->
+<!-- linking-uri-03-t.svg -->
+<!-- Notes. This is based on sample file from SVG spec. Requires -->
+<!-- Requires supplemental file, linkingToc-t.svg. -->
+<!-- Author : Lee Klosterman 31-January-2002 -->
+<!--======================================================================-->
+<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" id="svg-root" baseProfile="tiny" width="100%" height="100%" viewBox="0 0 480 360">
+ <SVGTestCase xmlns="http://www.w3.org/2000/02/svg/testsuite/description/">
+ <OperatorScript version="$Revision: 1.8 $" testname="linking-uri-03-t.svg">
+ <Paragraph>
+ Verify the handling of the allowable xlink attributes on the 'a' element.
+ The initial view of this test contains a single green triangle, labelling text,
+ and the usual template legend and frame.
+ </Paragraph>
+ <Paragraph>
+ There is a link on the triangle, pointing to an external SVG file, which is
+ local (in the same directory). The target file contains SVG 'text' elements
+ which comprise a TOC and brief description of all of the BE test files
+ for Linking. Upon clicking the triangle, the image of the linkingToc-t.svg
+ file should replace the initial view of this test case in the viewer frame.
+ </Paragraph>
+ <Paragraph>
+ The purpose of the test is to
+ verify that viewers tolerate the presence of xlink attributes on the 'a'
+ element. The presence of the attributes should not change the behavior of
+ the test in any way. The results of executing the link should be identical
+ to executing the first (topmost) link of linking-a-01-f.
+ </Paragraph>
+ <Paragraph>
+ There are two reference images associated with this test case. The first
+ illustrates the correct "start" or initial state of the rendered SVG file.
+ The second illustrates the correct image after the link is activated
+ (to the linkingToc-t.svg file). (Note. This harness does not yet
+ provide access to multiple PNGs; the first, initial-state PNG is shown.)
+ </Paragraph>
+ <Paragraph>
+ The test uses the 'rect' element, as well as basic fill (solid simple colors),
+ stroke (black and colored wide and 1-pixel lines), font-family (Arial) and font-size properties.
+ </Paragraph>
+ </OperatorScript>
+ </SVGTestCase>
+ <title id="test-title">linking-uri-03-t</title>
+ <desc id="test-desc">Verify xlink attributes on the 'a' element.</desc>
+ <!--======================================================================-->
+ <!--Content of Test Case follows... =====================-->
+ <!--======================================================================-->
+ <g id="test-body-content">
+ <text x="75" y="16" font-size="12">Simple exercise of xlink attributes on the 'a' element.</text>
+ <a xlink:type="simple" xlink:show="replace" xlink:actuate="onRequest" xlink:href="images/linkingToc-t.svg" xlink:role="figure-out-a-role-value-and-associated-xmlns" xlink:title="TOC of Linking BE tests." target="_self">
+ <path d="M 135 122 l 130 0 l -65 130 z" fill="lime" stroke="blue"/>
+ </a>
+ <text x="160" y="116" font-size="12">Click for TOC</text>
+ <text x="25" y="172" font-size="12">Link to local file</text>
+ <text x="25" y="182" font-size="12">linkingToc-t.svg.</text>
+ <rect x="19" y="160" width="100" height="26" fill="none" stroke="black"/>
+ <text x="275" y="144" font-size="10">xlink:type="simple"</text>
+ <text x="275" y="155" font-size="10">xlink:show="replace"</text>
+ <text x="275" y="166" font-size="10">xlink:actuate="onRequest"</text>
+ <text x="275" y="177" font-size="10">xlink:href="linkingToc-t.svg"</text>
+ <text x="275" y="188" font-size="10">xlink:role="figure-out-a-role"</text>
+ <text x="275" y="199" font-size="10">xlink:title="TOC of Linking BE tests."</text>
+ <text x="275" y="210" font-size="10">target="_self"</text>
+ </g>
+ <text id="revision" x="10" y="340" font-size="40" stroke="none" fill="black">$Revision: 1.8 $</text>
+ <rect id="test-frame" x="1" y="1" width="478" height="358" fill="none" stroke="#000000"/>
+</svg>