Test viewer ability to select an object in a WebCGM instance by the value of a contained APS attribute 'name' element.
At the start of the test, the right-hand frame should display a some HTML text containing a string, "Click to name-select a WebCGM object." The hyperlink on the HTML text points to a local WebCGM instance, with a "#" fragment identifying the particular object, "myObject", by 'name'. The target WebCGM instance contains a simple picture with three objects: a magenta rectangle, a cyan circle, and a red triangle, all with thick black borders.
The "second object" in the target picture has APS id parameter value 'secondObject', and contains an APS attribute of type 'name' whose value is "myObject". The first and third objects respectively have APS id parameter values "firstObject" and "myObject", and neither contain any other APS attribute elements. Therefore, successful completion of the link navigation request by the viewer will result in display of the target WebCGM and selection of the cyan circle, which is labelled "second object".
Since there are no object behavior parameters associated with the link, and no 'viewcontext' or 'region' APS attributes on the target object, the default 'highlight' behavior is required -- the object shall be highlighted. The exact method of highlighting is viewer dependent.
The initial view in the left-hand frame is a PNG reference image of one correct rendering of how the target WebCGM instance should appear in the right-hand frame after activating the link in the HTML source instance. There should be no significant visual deviation between the reference image of the left frame and the view in the right frame after link activation, except for the method of object highlighting. The reference image shows one valid method -- the border is outlined in red. Any other visual highlighting method -- e.g., changing the color of the whole object -- would be equally acceptable.
You should be able to use the browser "Back" and "Forward" buttons to go back and forth between the target WebCGM picture the source HTML text 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.