Test fragment syntax in a CGM-to-HTML link, from a Application Structure with linkuri APS Attribute within the CGM, to a named anchor within a HTML document.
At the start of the test, the right-hand frame should display a CGM containing a simple picture with a cyan-filled square on the left and a magenta-filled circle on the right, both with thick black borders. The square is within an Application Structure that contains a single APS Attribute of type 'linkuri'. The first parameter points to a local HTML file, and has a simple "#" fragment consisting only of an ID corresponding to a named anchor in the HTML file. The 2nd parameters of the 'linkuri' is null, and the 3rd (Behavior) parameter is "_self" (this is identical to the default value of the Behavior parameter for CGM-to-HTML links).
To execute the hyperlink, move the mouse anywhere over the square and click the left mouse button. Correct viewer handling of the link will result in the text of the end of the target HTML file replacing the CGM picture in the right-hand frame.
You should be able to use the browser "Back" and "Forward" buttons to go back and forth between the HTML view and the WebCGM view in the right-hand frame. Note, however, that this latter normal 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 HTML text which should appear in the right-hand frame upon activating the link in the WebCGM instance. Note that there may be variations in the visual style of the displayed HTML text, depending upon the browser used. It is not a pass/fail criterion of this test that the visual style of the displayed HTML text exactly match the reference. It is a key criterion of this test that the end of the HTML file is displayed, with the last sentence beginning, "The following table summarizes..."
CAVEAT! A variation of this test was tried, in which the right hand frame initially contained an HTML file with the identical link, pointing to the target HTML file with "#" fragment corresponding to a named anchor at the end of the target file. The test was tried in the Netscape Navigator and Internet Explorer browsers. One of the browsers failed the test, with no WebCGM content involved in the test at all!