This is a list of testable assertions extracted from the http://www.w3.org/TR/2006/PR-xhtml-print-20060131/ specification.
The table below is arranged into four columns:
The assertions identified within this document intend to describe all mandatory behaviors for conforming Printers. This document does not include testable assertions for conforming documents or testable assertions for recommended behaviors.
XHTML-Print dependencies on the XHTML Family User Agent Conformance requirements are called out in the XHTML Family User Agent Conformance test list.
The tests use a naming convention based on their source:
Assertion | Section | Test File Name | Quote/Description |
---|---|---|---|
1 | 1.3.1. Script and Events | 1_3-BF-01.htm | the content of the script element MUST be treated as if its display property were set to the value "none" and the content of the noscript element printed. |
2 | 2.3.1 Formatting/Rendering Rules | XHTML Family User Agent Conformance test list | A printer MUST conform to the XHTML Family User Agent Conformance section of the Modularization of XHTML specification ([XHTMLMOD], section 3.5) (see XHTML Family User Agent Conformance test list) |
3 | 2.3.1 Formatting/Rendering Rules | 2_3_1-BF-02.htm | If a printer encounters an image in a format it does not support, it SHALL render any alternate content provided. |
4 | 2.3.1 Formatting/Rendering Rules | 2_3_1-BF-03.htm | If the image format is supported and the height and width attributes are not provided, the printer must attempt to print the image at its intrinsic size. |
5 | 2.3.1 Formatting/Rendering Rules | 3_10-BF-01.htm | A printer MUST support images referenced by a URI [RFC2396] containing a scheme name http [RFC2616]. |
6 | 2.3.2 XHTML Requirements | 2_3_2-BF-01.htm 2_3_2-BF-02.htm 2_3_2-BF-02a.htm 2_3_2-BF-03.htm 2_3_2-BF-04.htm 2_3_2-BF-05.htm | A conforming printer SHALL support all XHTML Modules listed in The XHTML-Print Document Type. |
7 | 2.3.2 XHTML Requirements | 2_3_2-BF-06.htm | A conforming printer SHALL print a static version of a form using default and selected values as specified in the form. |
8 | 2.3.2 XHTML Requirements | See CSS test list | A conforming printer SHALL support the CSS constructs and associated values given in the CSS Print Profile |
9 | 3.1 Attributes and Attribute Collections | Tested under individual sections. | a conforming printer MUST implement [an] attribute [tagged as a must] |
10 | 3.1 Attributes and Attribute Collections | 3_13-BF-02.htm 3_3-BF-02a.htm | A conforming printer MUST NOT treat an attribute marked as should as an error: (style) media, (style) xml:space="preserve". |
11 | 3.1 Attributes and Attribute Collections | 3_2-BF-03.htm 3_2-BF-04.htm 3_2-BF-05.htm 3_2-BF-06.htm 3_2-BF-07.htm 3_3-BF-02a.htm 3_3-BF-05.htm 3_4-BF-03.htm 3_5-BF-02.htm 3_6-BF-02.htm 3_7-BF-06.htm 3_8-BF-08.htm 3_8-BF-09.htm 3_9-BF-05.htm 3_10-BF-06.htm 3_10-BF-07.htm 3_12-BF-03.htm 3_15-BF-06.htm 3_15-BF-07.htm | A conforming printer MUST NOT treat an attribute marked as may as an error: xml:lang, (head) profile, (td, th) abbr, (object) declare, (link) hreflang |
12 | 3.1 Attributes and Attribute Collections | 3_2-BF-01.htm 3_3-BF-02.htm 3_3-BF-03.htm 3_3-BF-04.htm 3_4-BF-01.htm 3_4-BF-02.htm 3_5-BF-01.htm 3_6-BF-01.htm 3_7-BF-01.htm 3_7-BF-05.htm 3_8-BF-01.htm 3_8-BF-07.htm 3_9-BF-01.htm 3_9-BF-04.htm 3_10-BF-01.htm 3_10-BF-05.htm 3_11-BF-01.htm 3_12-BF-01.htm 3_12-BF-02.htm 3_15-BF-01.htm | A conforming printer MUST NOT treat [an] attribute [marked as N/A] as an error[: title, (blockquote, q) cite, (a) accesskey, (a) charset, (a) href, (a) hreflang, (a) rel, (a) rev, (a) tabindex, (a) type, (form) action, (form) method, (form) enctype, (input) accesskey, (input) maxlength, (input) name, (input) src, (input) tabindex, (label accesskey, (label) for, (select) multiple, (select) name, (select) tabindex, (textarea) accesskey, (textarea) name, (textarea) tabindex, (table) summary, (td, th) axis, (td, th) scope, (img) londesc, (object) archive, (object) classid, (object) codetype, (object) name, (object) standby, (object) tabindex, (param) id, (param) name, (param) type, (param) value, (param) valuetype, (meta) content, (meta) http-equiv, (meta) name, (meta) scheme, (script) charset, (script) defer, (script) src, (script) type, (style) title, (link) rev]. |
13 | 3.1 Attributes and Attribute Collections | 3_2-BF-01.htm 3_3-BF-02.htm 3_4-BF-01.htm 3_5-BF-01.htm 3_6-BF-01.htm 3_7-BF-01.htm 3_8-BF-01.htm 3_9-BF-01.htm 3_10-BF-01.htm 3_12-BF-01.htm 3_15-BF-01.htm | [must support the class attribute on all elements with CORE attribute set: body, abbr, acronym, address, blockquote, cite, code, dfn, div, em, h1, h2, h3, h4, h5, h6, kbd, p, pre, q, samp, span, strong, var, a, dl, dt, dd, ol, ul, li, b, big, hr, i, small, sub, sup, tt, form, input, label, select, option, textarea, caption, table, td, th, tr, img, object, noscript, link ] |
14 | 3.1 Attributes and Attribute Collections | 3_2-BF-01.htm 3_3-BF-02.htm 3_4-BF-01.htm 3_5-BF-01.htm 3_6-BF-01.htm 3_7-BF-01.htm 3_8-BF-01.htm 3_9-BF-01.htm 3_10-BF-01.htm 3_12-BF-01.htm 3_15-BF-01.htm | [must support the id attribute on all elements with CORE attribute set: body, abbr, acronym, address, blockquote, cite, code, dfn, div, em, h1, h2, h3, h4, h5, h6, kbd, p, pre, q, samp, span, strong, var, a, dl, dt, dd, ol, ul, li, b, big, hr, i, small, sub, sup, tt, form, input, label, select, option, textarea, caption, table, td, th, tr, img, object, noscript, link] |
15 | 3.1 Attributes and Attribute Collections | 3_3-BF-02a.htm 3_4-BF-01.htm 3_5-BF-01.htm 3_6-BF-01.htm 3_7-BF-01.htm 3_8-BF-01.htm 3_9-BF-01.htm 3_10-BF-01.htm 3_12-BF-01.htm | must support the style attribute on all elements with the Common attribute set: body, abbr, acronym, address, blockquote, cite, code, dfn, div, em, h1, h2, h3, h4, h5, h6, kbd, p, pre, q, samp, span, strong, var, a, dl, dt, dd, ol, ul, li, b, big, hr, i, small, sub, sup, tt, form, input, label, select, option, textarea, caption, table, td, th, tr, img, object, noscript, link |
16 | 3.2 Structure Module | 3_2-BF-01.htm | [must support "http://www.w3.org/1999/xhtml" as a value of the xmlns attribute of the html element] |
17 | 3.3 Text Module | 3_3-BF-01.htm 3_3-BF-02a.htm | [must support "preserve" as a value of the xml:space attribute of the pre element] |
18 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the checked="checked" attribute of the input element] |
19 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the size attribute of the input element] |
20 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="text" attribute of the input element] |
21 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="password" attribute of the input element] |
22 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="checkbox" attribute of the input element] |
23 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="radio" attribute of the input element] |
24 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="submit" attribute of the input element] |
25 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="reset" attribute of the input element] |
26 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="hidden" attribute of the input element] |
27 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the value attribute of the input element] |
28 | 3.7 Basic Forms Module | 3_7-BF-03.htm | [must support the size attribute of the select element] |
29 | 3.7 Basic Forms Module | 3_7-BF-03.htm | [must support the selected="selected" attribute of the option element] |
30 | 3.7 Basic Forms Module | 3_7-BF-04.htm | [must support the cols attribute of the textarea element] |
31 | 3.7 Basic Forms Module | 3_7-BF-04.htm | [must support the rows attribute of the textarea element] |
32 | 3.8 Basic Tables Module | 3_8-BF-02.htm | [must support the align attribute of the td and th elements] |
33 | 3.8 Basic Tables Module | 3_8-BF-06.htm | [must support the colspan attribute of the td and th elements] |
34 | 3.8 Basic Tables Module | 3_8-BF-06.htm | [must support the rowspan attribute of the td and th elements] |
35 | 3.8 Basic Tables Module | 3_8-BF-04.htm | [must support the valign attribute of the td and th elements] |
36 | 3.8 Basic Tables Module | 3_8-BF-02.htm | [must support the align attribute of the tr element] |
37 | 3.8 Basic Tables Module | 3_8-BF-04.htm | [must support the valign attribute of the tr element] |
38 | 3.8 Basic Tables Module | Optional (not tested) | If a printer implements a feature to truncate the contents of a cell because of space constraints, it MUST support the abbr attribute and print the value of the abbr attribute (if present) instead of the cell's content. |
39 | 3.8 Basic Tables Module | 3_8-BF-02.htm | If the align attribute is missing or has an unsupported value, a printer MUST act as if the align attribute has the value left for the td and tr elements, and as if the align attribute has the value center for the th element. |
40 | 3.8 Basic Tables Module | 3_8-BF-04.htm | A printer MUST support the values top , middle , and bottom for the valign attribute of the td , th , and tr elements |
41 | 3.9 Image Module | 3_9-BF-02.htm | [must support the alt attribute of the img element] |
42 | 3.9 Image Module | 3_9-BF-03.htm | [must support the height attribute of the img element] |
43 | 3.9 Image Module | 3_9-BF-03.htm | [must support the src attribute of the img element] |
44 | 3.9 Image Module | 3_9-BF-03.htm | [must support the width attribute of the img element] |
45 | 3.10 Object Module | 3_10-BF-03.htm | [must support the codebase attribute of the object element] |
46 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | [must support the data attribute of the object element] |
47 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | [must support the height attribute of the object element] |
48 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | [must support the type="image/jpeg" attribute of the object element] |
49 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | [must support the width attribute of the object element] |
50 | 3.10 Object Module | 3_10-BF-01.htm | Printers MUST support the http [RFC2616] scheme of a URI [RFC2396]. |
51 | 3.10 Object Module | 3_10-BF-04.htm | A printer MUST process the content of the object element when it does not recognize or support the object type referenced by the value of the type attribute. |
52 | 3.13 Style Sheet Module | 3_13-BF-02.htm | A printer MUST read and process the content of style elements where the media attribute has the value print or all . |
53 | 3.13 Style Sheet Module | 3_13-BF-03.htm | The absence of the media attribute MUST be treated as if the media attribute had the value all . |
54 | 3.13 Style Sheet Module | 3_13-BF-04.htm | all unsupported values for type MUST cause the content to be ignored. |
55 | 3.15 Link Module | 3_15-BF-02.htm 3_15-BF-08.htm | [must support the charset attribute of the link element] |
56 | 3.15 Link Module |
3_15-BF-01.htm | [must support the href attribute of the link element] |
57 | 3.15 Link Module | 3_15-BF-03.htm 3_15-BF-04.htm | [must support the media attribute of the link element] |
58 | 3.15 Link Module | 3_15-BF-01.htm 3_15-BF-09.htm | A printer must support the rel="stylesheet" attribute of the link element] |
59 | 3.15 Link Module | 3_15-BF-01.htm | [must support the type="text/css" attribute of the link element] |
60 | 3.15 Link Module | 2_3_2-BF-02.htm 3_9-BF-04.htm 3_15-BF-05.htm 3_16-BF-01.htm | Printers MUST support the http [RFC2616] scheme of a URI [RFC2396]. |
61 | 3.15 Link Module | 3_15-BF-03.htm 3_15-BF-04.htm | A printer MUST read and process the content of external style sheets where the media attribute has the value print or all . |
62 | 3.15 Link Module | 3_15-BF-01.htm | The absence of the media attribute MUST be treat as if the media attribute had the value all . |
63 | 3.15 Link Module | 3_15-BF-01.htm 3_15-BF-09.htm | A printer SHALL support the value stylesheet for the rel attribute along with the value "text/css" for the
type attribute. |
64 | 3.16 Base Module | 3_16-BF-01.htm | [must support the href attribute of the base element] |
65 | 3.16 Base Module | 3_16-BF-01.htm | Printers MUST support the http [RFC2616] scheme of a URI [RFC2396]. |
66 | 4.1.1 Recommended Attributes on the img and object Elements | 3_9-BF-03.htm 3_10-BF-01.htm 3_10-BF-03.htm 4_1_1-BF-01.htm | ...the height and width attributes within the img or the object element ... MAY be expressed as pixels or percentages within the img or the object element. Percentages are relative to the parent element and not the page width or printable area. |
67 | 4.2 Style Sheets | 4_2-BF-01.htm | printers SHALL support both in-line and referenced style sheets within the style element or link element in the head element of a document. |
68 | A.2.1 JPEG Processes | A_2_1-BF-01.htm | A JPEG decoder for an XHTML-Print printer SHALL support all baseline JPEG processes as defined in [CCITT], except for 2- and 4-component images |
69 | A.2.2 Handling of APPx Markers | A_2_2-BF-01.htm | A JPEG decoder for a minimal printer SHALL NOT fail as a consequence of encountering an unsupported APPx marker |
70 | C.1 Normative References |
C_1-BF-01.htm C_1-BF-02.htm | [XML] Section 2.2 All XML processors MUST accept the UTF-8 and UTF-16 encodings of Unicode 3.1. |