TA identifier | WebCGM reference |
Test Assertions |
---|---|---|
picobj-addr-uri-fragment | 3.1.1.2.p2 3.1.1.2.p4 |
Picture and object (APS) addressing within a WebCGM uses URI fragments: base URI, followed by "#", followed by any legal fragment specification according to the WebCGM fragment EBNF. [Note. This decomposes into a series of full-syntax-support test requirements, dependent upon the components and allowable variations of the EBNF. Later, specific TRs should be considered to supersede this.] |
ebnf-five-frag-forms | 3.1.1.2.ln1 | [from EBNF] there are 5 fragment variations: picterm "." objterm | picterm | objterm | picid "." objid | objid |
ebnf-two-picterm-forms | 3.1.1.2.ln2 | [from EBNF] there are 2 picterm picture-selection variations: pictureid | pictsequence, respectively containing the (string) id or (numeric) picture sequence number, plus an optional picture behavior value. |
ebnf-need-detailed-syntax | 3.1.1.2 | [from EBNF] there is additional EBNF syntax description for pictureid, pictsequence, ..., down to picid, which is not yet extracted into these test assertions. |
ebnf-six-picbehav-options | 3.1.1.2.ln5 | [from EBNF] there are 6 picture behavior options: _blank | _self | _parent | _replace | _top | target |
ebnf-two-objterm-forms | 3.1.1.2.ln10 | [from EBNF] there are 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. |
ebnf-three-objbehav-options | 3.1.1.2.ln13 | [from EBNF] there are 3 object behavior options: "view_context" | "highlight" | "highlight_all" |
frag-char-repertiore | 3.1.1.3 | [Need to extract new TAs from new 3.1.1.3.] |
non-ascii-in-uri | 3.1.1.4.p2 | A WebCGM processor shall interpret a non-ASCII character in a URI by representing the character in UTF-8 as one or more bytes, and then escaping these bytes with the URI escaping mechanism (i.e., by converting each byte to %HH, where HH is the hexadecimal notation of the byte value). |
picid-is-begpic-id | 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. |
picseqno-is-pic-seqno | 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. |
picseqno-exceeds | 3.1.2.1.p2.s3 | If picseqno exceeds the number of pictures in the metafile, the last picture is displayed |
picbehav-keyword-or-frame | 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]. |
picbehav-blank | 3.1.2.2.p4 | [If picture behavior is _blank,] the viewer shall load the designated content in a new, unnamed window. |
picbehav-self | 3.1.2.2.p5 | [If picture behavior is _self,] the viewer shall load the content in the same frame as the one containing the content that refers to this target. |
picbehav-parent | 3.1.2.2.p6 | [If picture behavior is _parent,] the viewer shall load the content into the immediate FRAMESET parent of the current frame in which the current content is displayed. This value is equivalent to "_self" if the current frame has no parent. |
picbehav-replace | 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. Applicable only to CGM-to-CGM links [...] |
picbehav-replace-default | 3.1.2.2.p7 | this [_replace] is the default behavior for such [CGM-to-CGM] links. |
picbehav-top | 3.1.2.2.p8 | [If picture behavior is _top,] the viewer shall load the content into the full, original window (thus canceling all other frames). This value is equivalent to _self if the current frame has no parent. |
picbehav-frame | 3.1.2.2.p9.s1 | If the picture behavior value is any valid name string other than the above reserved names, (it begins with an alphabetic character (a-zA-Z)), remove the existing content (picture or document) from the frame whose name matches the string and display the specified content in the specified frame. |
picbehav-frame-no | 3.1.2.2.p9.s2 | [If the picture behavior value is a valid framename,] If no frame exists by the specified name, the viewer shall load the designated content (picture or document) in a new window with the specified name. |
picbehav-blank-to-html | 3.1.2.2.tbl.r1.c1 | [If picture behavior is _blank,] The viewer shall load the designated document in a new, unnamed window. |
picbehav-blank-to-cgm | 3.1.2.2.tbl.r1.c2 | [If picture behavior is _blank,] The viewer shall load the designated picture in a new, unnamed window. |
picbehav-self-to-html | 3.1.2.2.tbl.r2.c1 | [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. |
picbehav-self-to-cgm | 3.1.2.2.tbl.r2.c2 | [If picture behavior is _self,] The viewer shall load the picture in the same frame as the one containing the CGM picture that refers to this target. |
picbehav-parent-to-html | 3.1.2.2.tbl.r3.c1 | [If picture behavior is _parent,] the viewer shall load the document into the immediate FRAMESET parent of the current frame in which the current content is displayed. This value is equivalent to "_self" if the current frame has no parent. |
picbehav-parent-to-cgm | 3.1.2.2.tbl.r3.c2 | [If picture behavior is _parent,] the viewer shall load the picture into the immediate FRAMESET parent of the current frame in which the current content is displayed. This value is equivalent to "_self" if the current frame has no parent. |
picbehav-replace-to-html | 3.1.2.2.tbl.r4.c1 | [If picture behavior is _replace,] Not applicable. Default to_self. |
picbehav-replace-to-cgm | 3.1.2.2.tbl.r4.c2 | [If picture behavior is _replace,] The viewer shall replace the current picture by the designated picture in the same rectangular area in the same frame or window as the picture which refers to this target. |
picbehav-default-to-html | 3.1.2.2.tbl.r2.c1 | [picture behavior _self,] This is the default behavior for CGM-to-HTML links. |
picbehav-default-to-cgm | 3.1.2.2.tbl.r4.c2 | [picture behavior _replace,] This is the default for CGM-to-CGM links. |
picbehav-top-to-html | 3.1.2.2.tbl.r5.c1 | [If picture behavior is _top,] The viewer shall 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. |
picbehav-top-to-cgm | 3.1.2.2.tbl.r5.c2 | [If picture behavior is _top,] The viewer shall load the picture into the full, original window (thus canceling all other frames). This value is equivalent to _self if the current frame has no parent. |
picbehav-frame-to-html | 3.1.2.2.tbl.r6.c1 | [If picture behavior is valid framename target,] The viewer shall load the document into the frame identified by "target". If no matching frame can be found, the viewer shall load the designated content document in a new window with the specified name. |
picbehav-frame-to-cgm | 3.1.2.2.tbl.r6.c2 | [If picture behavior is valid framename target,] The viewer shall load the picture into the frame identified by "target". If no matching frame can be found, the viewer shall load the designated content document in a new window with the specified name. |
picbehav-other | 3.1.2.2.p8 | Link interactions between CGM and non-CGM mime types other than HTML follow the same rules as CGM and HTML interactions. |
objid-aps-id-param | 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. |
objname-apsattr-name | 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. |
objname-nomatch | 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. |
objname-multimatch | 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. |
objbehav-viewcontext-vc | 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. |
objbehav-viewcontext-novc | 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. |
objbehav-default | 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 |
objbehav-highlight | 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 |
objbehav-highlight-all | 3.1.2.4.p3 | If the objbehavior value is highlight_all, the viewer shall highlight all objects selected. |
zoom-and-pan | 3.1.2.5 | viewers which operate in an interaction-capable environment shall have zoom and pan controls available to the user. |
TA identifier | WebCGM reference |
Test Assertions |
---|---|---|
grobject-content-model | 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. |
grobject-pick-identify | 3.2.1.1.p1.s2 | The [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). |
pick-link-noregion | 3.2.1.1.p2.li1.s1 | [Viewer pick behavior] If the object contains at least one 'linkuri' attribute but no 'region' attribute, then the object is selected by a click anywhere on the drawn primitives of the object [and the viewer shall execute the link] |
pick-fill-primitive | 3.2.1.1.p2.li1.s2 | [Viewer pick behavior] for filled-area primitives this ["click anywhere on the drawn primitives"] includes: the edge, if edge visibility is 'on'; the interior, if the interior style is other than 'empty' or 'hollow'; and, the boundary, for interior style 'hollow' |
pick-obj-noprimitives | 3.2.1.1.p2.li2.s2 3.2.2.3.p1 |
[Viewer pick behavior] If the object [contains at least 1 linkuri and no region and] does not contain any graphical primitives no further action is required. [TA footnote: non-action is not explicitly mandated.] |
pick-obj-multi-link | 3.2.1.1.p2.li2.s3 3.2.2.3.p1 |
[Viewer pick behavior] If the object [contains no region, and visible graphical primitives and] contains more than one 'linkuri' attribute, the user shall be given a choice of which URI to navigate [if a successful pick occurs]. |
pick-link-region | 3.2.1.1.p2.li3.s1 | [Viewer pick behavior] If the object contains a 'region' attribute and contains at least one 'linkuri' attribute, then the 'region' shall be used for selection. [Can be picked regardless whether it contains no graphical primitives.] |
pick-multi-link-region | 3.2.1.1.p2.li3.s2 | [Viewer pick behavior] If the object [contains a 'region' attribute and] contains more than one 'linkuri' attribute, [then the 'region' shall be used for selection and] the user shall be given a choice of which URI to navigate [in the case of a successful pick.] [Can be picked regardless whether it contains no graphical primitives.] |
pick-nolink-region | 3.2.1.1.p2.li3.s1 | If the object contains a 'region' attribute but no 'linkuri' attributes no further action is required [in the case of a successful pick]. [TA footnote: non-action is not explicitly mandated.] |
N498-obsolete | 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. | |
N515-obsolete | 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. | |
N534-obsolete | 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. | |
N553-obsolete | 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. [Spec, note: non-action is not explicitly mandated.] |
pick-multi-aps | 3.2.1.1.p3.li6 | [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. |
pick-multi-aps-nested | 3.2.1.1.p3.li7 | [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 |
pick-visual-feedback | 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. |
aps-target-viewcontext | 3.2.1.1.p5.bl1 | [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. [if behavior is view_context] |
aps-target-novc-region | 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. The resulting view is a full-picture view, not a zoomed view. |
aps-target-novc-noregion | 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. The resulting view is a full-picture view, not a zoomed view. |
simple-regions-defn | 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)] |
complex-regions | 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).] Their semantics (subregions, and interior/exterior definition) are identical to those of the CGM element CLOSED FIGURE. |
implicit-region-closure | 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). |
multi-simple-regions | 3.2.2.1.p4 | In the case that there are multiple simple regions, m>1, then the individual simple regions each correspond to a REGION in the sense of the CGM CLOSED FIGURE element. |
viewcontext-aps-attr | 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. |
viewcontext-empty-aps | 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. |
linkuri-destination-param | 3.2.2.3.p2.s2 3.2.2.3.p3.s1 |
[of the three strings in linkuri parameter] The first string is the link destination, a URI [...] The destination of a link is specified by a Uniform Resource Identifier, or URI. |
linkuri-destination-anyuri | 3.2.2.3.p2.s2 3.2.2.3.p3.s1 |
[For the linkuri first sub-parameter] Any valid URL under the specifications of RFC-2396 is a valid value of this parameter. |
linkuri-title-param | 3.2.2.3.p2.s2 3.2.2.3.p3.s1 |
[of the three strings in linkuri parameter] the second string (possibly null) is a Link Title parameter, [...] |
linkuri-behavior-noncgm | 3.2.2.3.p2 3.2.2.3.p4 |
[of the three strings in linkuri parameter] the third string is (possibly null) the Behavior [...] The Behavior string defines picture behavior associated with the link. The values and meanings are as defined in 3.1.2.2. In cases that the destination is not CGM media type, the 3rd parameter, Behavior, shall be used if picture behavior is to be specified for the link (there is no other option). |
linkuri-behavior-cgm | 3.2.2.3.p2 3.2.2.3.p4.s4 |
[of the three strings in linkuri parameter] the third string is (possibly null) the Behavior [...] The Behavior string defines picture behavior associated with the link. The values and meanings are as defined in 3.1.2.2. [...]The Behavior string may also be used for links to CGM media types, and is the preferred method. |
screentip-apsattr | 3.2.2.6.p1 | A 'ScreenTip' APS Attribute may occur [...] within any APS of type 'grobject', 'para', 'subpara', and there shall be at most one occurrence within any particular APS. |
screentip-display | 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. |
name-apsattr | 3.2.2.7.p1.s1 | The 'name' APS Attribute defines a "common name", not necessarily unique, associated with an object. |
name-multiple | 3.2.2.7.p1.s4 | Multiple 'name' attributes may be contained within a single APS. |
name-viewer | 3.2.2.7.p3.s3 | The object can optionally be addressed by the value of the 'name' attribute. |
TA identifier | WebCGM reference |
Test Assertions |
---|---|---|
layer-aps-definition | 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. |
layer-attribute-rqts | 3.2.1.2.p1.s2 | Each 'layer' APS shall contain exactly one 'layername' APS attribute and also may contain one 'layerdesc' APS attribute. |
viewer-inform-layer | 3.2.1.2.p2.s1 | Viewers shall provide functionality to inform users of the presence of layers, their names and descriptions. |
toggle-layer-visibility | 3.2.1.2.p2.s2 | Viewers shall provide functionality to selectively turn on and off the visibility of layers. |
layer-view-options | 3.2.1.2.p2.s3 | Viewer may, but are not required to, provide additional functionality for the view manipulation and browsing of layers. |
TA identifier | WebCGM reference |
Test Assertions |
---|---|---|
para-content-model | 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. [sec 3.3, normative content model] |
para-search-priority | 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). |
para-viewer-rqts-set | 3.2.1.3.p3 | In other respects, e.g., picking and link navigation, the viewer behavior of 'para' is identical to that of 'grobject'. [See 3.2.1.1.] [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.] |
TA identifier | WebCGM reference |
Test Assertions |
---|---|---|
subpara-content-model | 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. |
subpara-viewer-rqts-set | 3.2.1.4.p2 3.2.1.3.p2 3.2.2.8.p1.s1 |
Viewer behavior. See ... 'para'. [This statement causes inclusion here, for 'subpara', of all of the TAs for 'para', which are all the TAs 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.] |
subpara-search-priority | 3.2.1.4.p2 3.2.1.3.p2 |
Viewer behavior. See ... 'para'. [This statement causes inclusion here, for 'subpara', of the single TA for 'para' search priority, 'para-search-priority'.] |
TA identifier | WebCGM reference |
Test Assertions |
---|---|---|
OBJECT tag | 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. |
TA identifier | WebCGM reference |
Test Assertions |
---|---|---|
object-tag-rqts | 3.4 | There are some TAs for OBJECT tag, sec 3.4. |