WebCGM TR Tabulation
15 February 2001

URI Fragment

TR-TP identifier

WebCGM
reference

Test Requirement (quote/paraphrase from spec) Test Purpose
N76 3.1.1.p2
3.1.1.p4
Viewers shall support pictures and objects (APS) addressing within a WebCGM using URI fragments: base URI, followed by "#", followed by any legal fragment specification according to the WebCGM fragment EBNF. Test that all fragment syntax is supported, in both HTML-to-CGM and CGM-to-CGM links. (Redundant with the individual TPs in this table.)
N92 3.1.1.l1 Viewers shall support the 5 fragment variations: picterm "." objterm | picterm | objterm | picid "." objid | objid Test that each of the 5 fragment variations is supported, in each of the two applicable link configurations HTML-to-CGM and CGM-to-CGM.
N104 3.1.1.l2
Viewers shall support the 2 picterm picture-selection variations: pictureid | pictsequence, respectively containing the (string) id or (numeric) picture sequence number, plus an optional picture behavior value. Test that each of the 2 picterm picture-selection variations, picid and picseqno, are supported , in each of the two applicable link configurations HTML-to-CGM and CGM-to-CGM.
N118 3.1.1.l5 Viewers shall support the 6 picture behavior options: _blank | _self | _parent | _replace | _top | target Test that each of the 6 picture behaviors is supported, in both HTML-to-CGM and CGM-to-CGM links, and in CGM-to-HTML links (linkURI 3rd parameter) as well.
N130 3.1.1.l9 Viewers shall support the 2 objterm object-selection variations: objectid | objectname, respectively containing the (string) APS 'id' parameter or (string) picture sequence number, plus an optional object behavior value. Test that each of the 2 objterm object-selection variations is supported,. in each of the two applicable link configurations HTML-to-CGM and CGM-to-CGM.
N142 3.1.1.l11 Viewers shall support the 3 object behavior options: "view_context" | "highlight" | "highlight_all" Test that each of the 3 object behavior options is supported, in each of the two applicable link configurations HTML-to-CGM and CGM-to-CGM.
N154 3.1.2.1.p1 picid option is id parameter in the BEGIN PICTURE element. If the metafile does not contain a picture with matching id, the first picture in the metafile is chosen. With picture-selection mode of 'picid', test proper picture selection if there is no matching id in the metafile.
N166 3.1.2.1.p2 picseqno option is the sequence number of the picture to be viewed. "1" is the first picture, "2" is the second picture, etc. If picseqno exceeds the number of pictures in the metafile, the last picture is displayed With picture-selection mode of 'picseqno', test proper picture selection, if the number is greater than number of pictures in the metafile.
N178 3.1.2.2.p2 If the picture behavior is not one of the 5 reserved keywords as defined in HTML 4.0, _blank | _self | _parent | _replace | _top, then it shall be a valid Frame Target Name, which begin with [A-Za-z]. (No viewer TP. This is a syntax requirement.)
N190 3.1.2.2.p4 If picture behavior is _blank, the viewer shall load the selected picture in a new, unnamed window. (Note. WebCGM 1.0 defect in statement.) Test that viewer implements picture behavior "_blank" properly, in HTML-to-CGM, CGM-to-CGM, and CGM-to-HTML configurations.
N202 3.1.2.2.p5 If picture behavior is _self, the viewer shall load the document in the same frame as the one containing the CGM picture that refers to this target. (Note. WebCGM 1.0 defect in statement.)

Test that viewer implements picture behavior "_self" properly, in a single frameset multi-frame context, in HTML-to-CGM, CGM-to-CGM, and CGM-to-HTML configurations.

Test that viewer implements picture behavior "_self" properly, in other frame/frameset contexts.

N214 3.1.2.2.p6 If picture behavior is _parent, the viewer shall load the document into the immediate FRAMESET parent of the current frame in which the current picture is displayed. This value is equivalent to "_self" if the current frame has no parent. (Note. WebCGM 1.0 defect in statement.)

Test that viewer implements picture behavior "_parent" properly, in a context with a FRAMESET parent, in HTML-to-CGM, CGM-to-CGM, and CGM-to-HTML configurations.

Test that viewer implements picture behavior "_parent" properly, in a context with no FRAMESET parent.

N226 3.1.2.2.p7 If picture behavior is _replace, the viewer shall replace the current CGM picture by the designated CGM picture in the same rectangular area in the same frame as the picture which refers to this target. (Note. WebCGM 1.0 defect in statement.) Test that viewer implements picture behavior "_replace" properly, multi-frame context, in HTML-to-CGM, CGM-to-CGM, and CGM-to-HTML configurations.
N238 3.1.2.2.p7 _replace is the default picture behavior that viewers shall use in the absence of explicit picture behavior specification in the fragment Test that viewer uses _replace behavior, if picbehavior is missing from fragment, multi-frame context, in HTML-to-CGM, CGM-to-CGM, and CGM-to-HTML configurations.
N250 3.1.2.2.p8 If picture behavior is _top, the viewer should load the document into the full, original window (thus canceling all other frames). This value is equivalent to _self if the current frame has no parent. (Note. WebCGM 1.0 defect in statement.)

Test that viewer implements picture behavior "_top" properly, in a context with a FRAMESET parent, in HTML-to-CGM, CGM-to-CGM, and CGM-to-HTML configurations.

Test that viewer implements picture behavior "_top" properly, in a context with no FRAMESET parent.

N262 3.1.2.2.p9.s1 If the picture behavior value is any valid name string beginning with (a-zA-Z), and if it matches the name of a frame, remove the existing content from the frame whose name matches the string and display the document in the specified frame. Test that viewer implements picture behavior <target-frame-name> properly, in a context with a FRAMESET parent and a name-matched frame, in HTML-to-CGM, CGM-to-CGM, and CGM-to-HTML configurations.
N274 3.1.2.2.p9 If the picture behavior value is any valid name string beginning with (a-zA-Z), and if no frame exists with the specified name, the viewer should load the designated document in a new window with the specified name. Test that viewer implements picture behavior <target-frame-name> properly, in a context with a FRAMESET parent and a *NO* name-matched frame, in HTML-to-CGM, CGM-to-CGM, and CGM-to-HTML configurations.
N286 3.1.2.3.p1 objid option is the id parameter of an APS element of type 'grobject', 'para' or 'subpara' to be selected. If no match is found in the picture, no object is selected.

Test proper viewer object selection for objects of type 'grobject', 'para', and 'subpara', when objid keyword is used, and there is an object in the target with that id, in HTML-to-CGM and CGM-to-CGM configurations.

Test proper viewer action (no-op), when objid keyword is used, and there is *NOT* an object in the target with that id, in HTML-to-CGM and CGM-to-CGM configurations.

N298 3.1.2.3.p2.s1 objname option is the value of a 'name' APS attribute in an APS element of type 'grobject', 'para', or 'subpara'. The first object in the picture which contains a name attribute with a matching value is selected. (Note. WebCGM 1.0 defect in this statement [presumes objbehavior])

Test proper viewer object selection for objects of type 'grobject', 'para', and 'subpara', when objname keyword is used, with no objbehavior, and there is (at least) one object in the target with that name, in HTML-to-CGM and CGM-to-CGM configurations.

N310 3.1.2.3.p2.s3 objname option is the value of a 'name' APS attribute in an APS element of type 'grobject', 'para', or 'subpara'. If no match is found in the picture, no grobject is selected. Test proper viewer action (no-op), when objname keyword is used, and there is *NOT* an object in the target with that name, in HTML-to-CGM and CGM-to-CGM configurations.
N322 3.1.2.3.p2.s4 objname option is the value of a 'name' APS attribute in an APS element of type 'grobject', 'para', or 'subpara'. If more than one match is found in the picture the 'highlight_all' behavior can be used to highlight all selected objects. (Redundant with N382.)
N334 3.1.2.4.p1.s1 If the objbehavior value is view_context, and if a 'ViewContext' attribute exists for a selected object APS, the viewer shall display only the rectangular region of the picture defined in the ViewContext attribute, and highlight the object.

For object selection by objid, with objbehavior of view_context, and a ViewContext attribute on the id-matched target object, test that viewer displays the correct rectangular region and highlights the object, in HTML-to-CGM and CGM-to-CGM configurations.

For object selection by objname, with objbehavior of view_context, and a ViewContext attribute on the name-matched target object, test that viewer displays the correct rectangular region and highlights the object, in HTML-to-CGM and CGM-to-CGM configurations.

N346 3.1.2.4.p1.s2 If the objbehavior value is view_context, and if no 'ViewContext' attribute exists for a selected object APS, the highlight behavior shall be implemented.

Test objbehavior of 'view_context', objid selection, and *NO* ViewContext attribute on the id-matched target object, in HTML-to-CGM and CGM-to-CGM configurations.

Test objbehavior of 'view_context', objname object selection w/ multiple matched objects and *NO* ViewContext attribute on name-matched target objects, in HTML-to-CGM and CGM-to-CGM configurations.

N358 3.1.2.4.p1.s3 highlight is the default object behavior that viewers shall use in the absence of explicit object behavior specification in the fragment (Redundant with N298.)
N370 3.1.2.4.p2 If the objbehavior value is highlight, the viewer shall highlight the first object selected and ignore the ViewContext attribute, if present.

Test objbehavior of 'highlight', w/ objid object selection, ViewContext on matched object, HTML-to-CGM and CGM-to-CGM configurations.

Test objbehavior of 'highlight', w/ objname object selection, multiple matched objects with ViewContext, HTML-to-CGM and CGM-to-CGM configurations.

N382 3.1.2.4.p3 If the objbehavior value is highlight_all, the viewer shall highlight all objects selected.

Test objbehavior of 'highlight_all', w/ objid object selection, ViewContext on matched object, HTML-to-CGM and CGM-to-CGM configurations.

Test objbehavior of 'highlight_all', w/ objname object selection, multiple matched objects with ViewContext, HTML-to-CGM and CGM-to-CGM configurations.

'grobject' and Attributes
(Attributes: region, viewcontext, linkURI, screentip, name)

TR-TP identifier

WebCGM
reference

Test Requirement (quote/paraphrase from spec) Test Purpose
N434 3.2.1.1.p1.s3
3.3
'Grobject' APSs may contain any CGM graphical content allowed by this profile, may contain the other APSs of type grobject and para, and may contain APS attributes region, viewcontext, linkURI, screentip, and name.

Test viewer correctly handles varying instances of 'grobject' content model, via pick/link tests.

(Redundant w/ others in this table?)

N448 3.2.1.1.p1.s2 'grobject' object is geometrically identified for pick purposes either by the set of primitives enclosed between the BEGIN APS and END APS elements (if any), or by the spatial region associated with the 'region' APS Attribute (if present). (Redundant with N460, N448, N486, N515, N534.)
N460 3.2.1.1.p2.n1 Viewer pick behavior. No viewer action required if the object does not contain a 'region' attribute and contains no a LinkURI attributes. [Note. non-action is not explicitly mandated.] Test viewer no-action for non-empty grobject with no 'region' and no 'linkURI'.
N472 3.2.1.1.p2.n2.s1
3.2.2.3.p1
Viewer pick behavior. If the object contains at least one 'LinkURI' attribute but no 'region' attribute, a click on non-transparent areas of the graphical elements of the object selects the object, and the viewer shall cause the link to be navigated. Test viewer link execution for non-empty grobject with no 'region' and 'linkURI', to both HTML and CGM targets, without fragments.
N486 3.2.1.1.p2.n2.s2 Viewer pick behavior. If the object does not contain any visible graphical primitives and no 'region' attribute, no viewer action is required. [Note. non-action is not explicitly mandated.] Test viewer no-action for empty grobject with no 'region' and a 'linkURI'.
N498

3.2.1.1.p2.n2.s3
3.2.2.3.p1

Viewer pick behavior. If the object contains visible graphical primitives, no 'region' attribute, and more than one LinkURI attribute, a click on non-transparent areas of the graphical elements of the object selects the object, and the viewer shall give the user a choice of which URI to navigate, and shall cause the selected link to be navigated. Test viewer link execution for non-empty grobject with no 'region' and multiple 'linkURI', to both HTML and CGM targets, without fragments.
N515

3.2.1.1.p2.n3.s1
3.2.2.1.s1
3.2.2.3.p1

Viewer pick behavior. If the object contains a 'region' attribute and contains one LinkURI attribute, the object is selected by a user click within the 'region', and the viewer shall cause the link to be navigated. Test viewer link execution for grobject with 'region' and a 'linkURI', to both HTML and CGM targets, without fragments.
N534

3.2.1.1.p2.n3.s2
3.2.2.1.s1
3.2.2.3.p1

Viewer pick behavior. If the object contains a 'region' attribute and contains more than one LinkURI attribute, the object is selected by a user click within the 'region', and the viewer shall give the user a choice of which link to navigate, and the viewer shall cause the selected link to be navigated. Test viewer link execution for grobject with 'region' and multiple 'linkURI', to both HTML and CGM targets, without fragments.
N553 3.2.1.1.p2.n4
3.2.2.1.s1
Viewer pick behavior. If the object contains a 'region' attribute but no LinkURI attributes, then no viewer action is required upon user click. [Note. non-action is not explicitly mandated.] Test viewer no-action for grobject with 'region' and no 'linkURI'.
N567 3.2.1.1.p3.n6 Viewer pick behavior. If the pick has selected more than one APS (and each contains a linkURI), and the APSs are not nested, then the APS with the highest pick priority is the one whose picking region (geometry or 'region' attribute) occurs latest in the picture. Test temporal priority for object selection and link execution with multiple overlapping non-nested APSs.
N579 3.2.1.1.p3.n7 Viewer pick behavior. If a user pick has selected more than one APS (and each contains a linkURI), and the APSs are nested, the user shall be given a choice of which URI to negotiate Test for viewer link choice and execution with multiple overlapping nested APS.
N591 3.2.1.1.p4.s1 Viewer pick behavior. Viewers shall give visual feedback to the user that a successful pick has occurred, and an indication of the particular object (or region) which has been picked. Test for viewer visual feedback of successfully picked grobject, for both region and no-region grobjects.
N603 3.2.1.1.p5.b1 If an APS is the target of a link, either from within the picture or from content external to the picture, and if the object contains a 'viewcontext' attribute, the viewer shall fit the view context into the viewer's display rectangle and create a new display inside this rectangle. (Redundant with N334.)
N615 3.2.1.1.p5.b2 If an APS is the target of a link, either from within the picture or from content external to the picture, and if the object does not contain a 'viewcontext' attribute, but contains a 'region' attribute, the viewer shall move the object into view and indicate visually that the region is the target of the link. Test for region highlighting, when a grobject with a region but no viewcontext is the target of a link (CGM-to-CGM and HTML-to-CGM configurations).
N627 3.2.1.1.p5.b3 If an APS is the target of a link, either from within the picture or from content external to the picture, and if the object contains neither a view context nor a region attribute, the viewer shall move the object into view and indicate visually that the graphical primitives of the grobject are the target of the link. Test for object presentation and highlighting, when grobject w/o ViewContext and w/o Region is the target of a link (CGM-to-CGM and HTML-to-CGM configurations).
N639 3.2.2.1.p1.s2 Simple regions of type rectangle, ellipse, polygon, and continuous polybezier can be defined with the 'region' APS attribute (per SDR syntax of 3.2.2.1) Test viewer handling of grobjects each containing one region, of each of the four different simple kinds, and w/ linkURIs.
N651 3.2.2.1.p1.s3 Complex regions which comprise a collection of simple regions can be defined with the 'region' APS attribute (per SDR syntax of 3.2.2.1). The semantics (subregions, and interior/exterior definition) are identical to those of the CGM element CLOSED FIGURE. Test viewer handling a grobject with a complex region and a linkURI.
N663 3.2.2.1.p4 For polygon and polybezier regions, closure is implicit (if the last given point does not match the first, then the viewer closes the region with a straight line segment from the last to the first). Test proper closure of unclosed simple regions of type polybon or polybezier.
N675 3.2.2.2.p1.s1 The 'ViewContext' APS Attribute provides specification to viewers of the initial view of an object, when the viewer has been directed to navigate to the graphical object which contains this attribute. (Redundant with N334.)
N687 3.2.2.2.p1.s2 A 'ViewContext' APS Attribute may be contained within an otherwise empty APS, in which case the APS provides only a viewport specification. Test ViewContext in otherwise empty APS.
N699 3.2.2.3.p4 The first string of linkURI SDR's three strings (URI, LinkTitle, Behavior) defines the link destination, and is any valid URI according to RFC 1738 & 1808. Test a range of valid URIs in linkURI first parameter.
N711 3.2.2.3.p3
3.2.2.3.p6
3.1.2.2
The third string of linkURI SDR's three strings (URI, LinkTitle, Behavior) defines the viewer Behavior, which shall be used when the first (URI) string points to non-CGM media types, and which shall have the values and semantics matching the Picture Behavior parameter (per 3.1.2.2).

Test each of the picture behavior keyword/target options on a CGM-to-HTML link.

(Redundant with N190, N202, N214, N226, N238, N250, N262)

N727 3.2.2.3.p5
3.1.1
If the URI points to CGM media type, pictures and objects within the CGM, as well as picture and object behaviors, shall be encoded in the fragment, per the specifications of 3.1.1.

(No viewer TP. This is a syntax requirement.)

(Redundant with much of 'URI fragment' TP table.)

N741 3.2.2.6.p1 A 'ScreenTip' APS Attribute may occur within any valid APS of WebCGM, and there shall be at most one occurrence within any particular APS. (No viewer TP. This is a syntax requirement.)
N753 3.2.2.6.p3 Viewers shall be capable of displaying the screen tip, if one is defined for a graphical object, visible to the user when the cursor passes over the graphical object, in the common style of Web browsers. Test viewer display of screenTip on 'grobject', 'para', 'subpara', on mouseover.
N765 3.2.2.7.p1
3.2.2.7.p3
3.1.1
The 'name' APS Attribute defines a "common name", not necessarily unique, associated with an object. Viewers shall support object addressing using 'name' as defined in the fragment specification of 3.1.1. (Redundant with specs in 'URI fragment' TP table.)

'layer' and Attributes
(attributes: layername, layerdescription)

TR-TP identifier

WebCGM
reference

Test Requirement (quote/paraphrase from spec) Test Purpose
N822 3.2.1.2.p1.s1 'layer' APS declares that the graphical content within this APS and any valid nested APS ('grobject' and 'para', but not 'layer') belong to the layer identified by the contained 'LayerName' APS attribute. Test viewer correctly handles varying instances of 'layer' content model, in layer-display tests.
N834 3.2.1.2.p1.s2 Each 'layer' APS shall contain exactly one 'LayerName' APS attribute and also may contain one Layer description APS attribute. (No viewer TP. This is a syntax requirement.)
N846 3.2.1.2.p2.s1 Viewers shall provide functionality to inform users of the presence of layers, their names and descriptions. Test that viewer has capability to display layerName and layerDescription in a layered picture.
N858 3.2.1.2.p2.s2 Viewers shall provide functionality to selectively turn on and off the visibility of layers. Test that viewer can selectively turn layer visibility on/off for individual layers (and in combination).
N870 3.2.1.2.p2.s3 Viewer may, but are not required to, provide additional functionality for the view manipulation and browsing of layers. (No viewer TP. Optional functionality.)

'para' and Attributes
(Attributes: region, viewcontext, linkURI, screentip, content)

TR-TP identifier

WebCGM
reference

Test Requirement (quote/paraphrase from spec) Test Purpose
N921

3.2.1.3.p1.s3
3.3

'Para' APSs may contain any CGM graphical content allowed by this profile, may contain 'subpara' APS, and may contain APS attributes, region, viewcontext, linkuri, screentip, and content. Test viewer correctly handles varying instances of 'para' content model, via pick/link tests.
N938 3.2.1.3.p2
3.2.2.8.p1.s1
If viewers support searching, search-match priority shall be: 'para' with matching 'content' (1st priority match); 'para' without 'content' but with recognizable single-element RESTRICTED TEXT match (2nd priority match); or, single-element RESTRICTED TEXT match, outside of any 'para' (3rd priority match).

(No viewer TP. Optional functionality.)

(Or...provide a diagnostic TP that tests proper search priority.)

N952 3.2.1.3.p3 WRT picking and link navigation, the viewer behavior of 'para' is identical to that of 'grobject'. NOTE: This statement causes inclusion here, for 'para', of all of the TRs for 'grobject', except for the first, which is the Content Model, and except for the last, that para's are not addressable by 'name' APS attribute. Replicate all of 'grobject' and "URI fragment" TPs, replacing role of 'grobject' with a 'para', except: any tests involving objname keyword; any tests of 'grobject' content model which do not conform to 'para' content model.

'subpara' and Attributes
(Attributes: region, viewcontext, linkURI, screentip, content)

TR-TP identifier

WebCGM
reference

Test Requirement (quote/paraphrase from spec) Test Purpose
N1006 3.2.1.4.p2.s1
3.3
'Subpara' APSs may contain any CGM graphical content allowed by this profile, may not contain any nested APS, and may contain APS attributes, region, viewcontext, linkuri, screentip, and content. Test viewer correctly handles varying instances of 'subpara' content model, via pick/link tests.
N1020 3.2.1.4.p3
3.2.1.3.p2
3.2.2.8.p1.s1
(Viewer behavior. See ... 'para'.) If viewers support searching, search-match priority shall be: 'subpara' with matching 'content' (1st priority match); 'subpara' without 'content' but with recognizable single-element RESTRICTED TEXT match (2nd priority match); or, single-element RESTRICTED TEXT match, outside of any 'subpara' (3rd priority match).

(No viewer TP. Optional functionality.)

(Or...provide a diagnostic TP that tests proper search priority.)

N1036 3.2.1.4.p3
3.2.1.3.p3
WRT picking and link navigation, the viewer behavior of 'subpara' is identical to that of 'grobject'. NOTE: This statement causes inclusion here, for 'subpara', of all of the TRs for 'grobject', except for the first, which is the Content Model, and except for the last, that subpara's are not addressable by 'name' APS attribute. Replicate all of 'grobject' and "URI fragment" TPs, replacing role of 'grobject' with a 'para', except: any tests involving objname keyword; any tests of 'grobject' content model which do not conform to 'para' content model.

General/Miscellaneous

TR-TP identifier

WebCGM
reference

Test Requirement (quote/paraphrase from spec) Test Purpose
N1087 3.2.1.p1.s1
3.2.2.9.p1.s1
APS types 'grobject', 'layer', 'para', 'subpara' shall be supported by viewers. No other APS types are allowed in WebCGM. (Redundant with previous tables.)