Full version, Basic version, Tiny version

Specification link: 17.1 Links out of SVG content: the 'a' element

linking-a-05-t ← index → linking-uri-03-t

# linking-a-07-t
SVG Image | PNG Image

Verify the capability to handle basic links out of SVG content using the 'a' element, with the xlink:href attributes. There are three subtests, in each of which two similarly colored arrows comprise the content of an 'a' element. The arrow on the left, outlined in blue, has no "target" attribute; the arrow on the right, outlined in red, has a "target" attribute. The link destination is expressed by "xlink:href=". The initial view of this test contains the six arrows, labelling text, and the usual template legend and frame.

The top-most (yellow) arrows link 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 test files for Linking. Upon clicking the left-most yellow arrow, the image of the linkingToc-t.svg file should replace the initial view of this test case in the viewer frame. On clicking the right-most yellow arrow, the image of the linkingToc-t.svg should appear in a new frame.

The middle (green) arrows links to the same external SVG file, but with xlink:show="new". Both the left and the right green arrows should produce the image of the linkingToc-t.svg in a new frame.

The bottom-most (blue) arrows links to the same external SVG file, but with xlink:show="replace". Both the left and the right blue arrows should produce the image of the linkingToc-t.svg in a new frame.

The test uses the 'rect' and 'polygon' elements, as well as basic fill (solid simple colors), stroke (black and colored wide and 1-pixel lines), font-family (Arial) and font-size properties.

linking-a-05-t ← index → linking-uri-03-t

Distributed under both the W3C Test Suite License and the W3C 3-clause BSD License.
To contribute to a W3C Test Suite, see the policies and contribution forms.