Test Purpose: Test correct viewer handling of multiple links on a single object (APS).

At the start of the test, the right-hand frame should display a CGM containing a simple picture with a blue-filled square on the left and a green-filled circle on the right, both with thick black borders. The circle is contained within an Application Structure, with id value of "myObjId". The APS contains a two APS Attributes of type 'linkuri'. Respectively, the first parameter (URI) points to a local PNG file, and to a file of HTML text. Each 2nd parameter (Link Title) contains a short title phrase for the link, respectively, "Link to raster copy of this CGM" and "Link to WebCGM 1.0 reference text". The 3rd parameters on both links are null.

To execute the hyperlink, move the mouse anywhere over the circle and click the left mouse button. According to the WebCGM 1.0 specification, the user shall be given a choice of which link to navigate. The initial view in the left-hand frame is a PNG reference image of a valid "choice" offering, as should appear in the right-hand frame upon clicking the link-bearing circle object. The manner and style of "giving a choice" is viewer dependent. It is suggested in the WebCGM specification, but not required, that the Link Title parameter of the 'linkuri' be used in the presentation of link choice.

Because there is no Behavior parameter associated with either of the 'linkuri' instances, on the link-bearing object in the CGM instance, correct viewer handling of the link will result in image of the target PNG file replacing the CGM picture in the right-hand frame. This is the default WebCGM picture behavior. You should be able to use the browser "Back" and "Forward" buttons to go back and forth between the target PNG image and the source CGM picture in the right-hand frame. Note, however, that this latter normal browser behavior is not part of the WebCGM standard, and it is not a pass/fail criterion for WebCGM viewers for this test.

Viewers are required to give visual feedback to the user that a successful pick has occurred, and an indication of the particular object which has been picked. The exact method of feedback is viewer dependent.

The initial view in the left-hand frame is a PNG reference image of the how the right-hand frame should appear upon activating the link in the WebCGM source instance (i.e., clicking on the circle). The viewer shall present a choice of two links to navigate. The exact location and style of such presentation may vary, and is not a criterion for pass/fail of this test case.

If the first (raster image) link is picked, then the viewer should open a new window and display a raster image of the original source CGM instance. If second (HTML text) link is picked, then the viewer should open a new window and display a section of (HTML) text.

Caveat: Production problems have caused the reference images of this Release 1.0 to show inaccurate text extents in some labels and in the legend box. Text size/extent should NOT be considered as a verdict criterion of these dynamic tests of this test suite release.