This is a list of testable assertions extracted from the XHTML-Print specification. The table below is arranged into four columns:
 This document is part of a set of 
list of tests. The diagram on the right shows how this document refers to three 
other documents:
This document is part of a set of 
list of tests. The diagram on the right shows how this document refers to three 
other documents:
The tests from these list use different naming conventions base on there source:
| Assertion | Section | Test | Quote/Description | 
|---|---|---|---|
| 1 | 1.3.1. Script and Events | 1_3_BF-01.htm | the content of the scriptelement MUST be treated as if its display property were set to the value "none" and the content of thenoscriptelement printed. | 
| 2 | 2.1. Document Conformance | redundant | a document SHALL meet all of the following criteria: | 
| 3 | 2.1. Document Conformance | The document SHALL conform to the constraints expressed in the DTD found in Appendix C and conform to the constraints expressed in Design Rationale. | |
| 4 | 2.1. Document Conformance | The root element of the document MUST be html. | |
| 5 | 2.1. Document Conformance | The name of the default namespace on the root element SHALL be the XHTML namespace name, http://www.w3.org/1999/xhtml. | |
| 6 | 2.1. Document Conformance | There SHALL be a DOCTYPE declaration in the document prior to the root element. | |
| 7 | 2.1. Document Conformance | the public identifier included in the DOCTYPE declaration SHALL reference the DTD found in either Appendix C of this specification or Appendix C of XHTML-Print, PWG Proposed Standard 5102.1 ([XHTMLPRINT], Appendix C), using its Formal Public Identifier. | |
| 8 | 2.1. Document Conformance | The DTD subset MUST NOT be used to override any parameter entities in the DTD. | |
| 9 | 2.1. Document Conformance | The MIME type used to refer to a conforming XHTML-Print document SHALL be either "application/xhtml+xml" or "application/vnd.pwg-xhtml-print+xml". | |
| 10 | 2.1. Document Conformance | Invalid values [of charset parameter] MUST be ignored and the result be as if the value were "utf-8". | |
| 11 | 2.2. Client Conformance | Clients SHALL produce a well-formed XHTML-Print document as defined in XHTML 1.0 [XHTML1] and in Document Conformance. | |
| 12 | 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) | 
| 13 | 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 | 
| 14 | 2.3.1 Formatting/Rendering Rules | 2_3_1_BF-03.htm 2_3_1_BF-03a.mx 2_3_1_BFDep-03a.mx | A printer MUST support images referenced by a URI [RFC2396] containing a scheme name cid [RFC2392] or http [RFC2616]. | 
| 15 | 2.3.2 XHTML Requirements | 2_3_2-BF-01.htm 2_3_2-BF-02.mx 2_3_2-BF-02a.mx 2_3_2-BF-03.htm 2_3_2-BF-04.mx 2_3_2-BF-05.htm 3_7-BF-02a.htm | A conforming printer SHALL support all XHTML Modules listed in The XHTML-Print Document Type. | 
| 16 | 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. | 
| 17 | 2.3.2 XHTML Requirements | 4_3-BF-01.mx B_2-BF-01.htm | Printers supporting image data SHALL support RFC3391 - The MIME Application/Vnd.pwg-multiplexed Content-Type [MIMEMPX] as described in Appendix B. | 
| 18 | 2.3.2 XHTML Requirements | A conforming printer SHALL identify this datastream by the exact string: "XHTML-Print" (without the quotation marks) in all service discovery records and protocols, device identification records and protocols in ... cases where a list of supported datastreams is to be presented by the printer. | |
| 19 | 2.3.2 XHTML Requirements | Where [XHTML-Print documents]... are identified by a MIME media type, either the string "application/xhtml-print+xml" or "application/vnd.pwg-xhtml-print+xml" SHALL be used | |
| 20 | 2.4. Enhanced Layout Extension Conformance | [For Enhanced layout conforming printers,] the style sheet properties of the Enhanced Layout Extension of the CSS Print Profile ([CSSPP] section 2.1) and image processing (Appendix A.3) SHALL be supported | |
| 21 | 3.1 Attributes and Attribute Collections | See below | a conforming printer MUST implement [an] attribute [tagged as a must] | 
| 22 | 3.1 Attributes and Attribute Collections | duplicate of 21 | a conforming printer MUST implement [an] attribute [tagged as a must] | 
| 23 | 3.1 Attributes and Attribute Collections | 2_3_2-BF-01.htm 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_9-ER-01.htm 3_10-BF-01.htm 3_12-BF-01.htm 3_13-BF-01.htm 3_13-BF-01.htm 3_15-BF-05.mx | A conforming printer MUST NOT treat [an] attribute [marked as should] as an error[: style, (style) media, (style) type, (style) xml:lang="preserve"].. | 
| 24 | 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-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 ] | 
| 25 | 3.1 Attributes and Attribute Collections | 3_2-BF-01.htm 3_2-BF-02.htm 3_3-BF-02.htm 3_3-BF-02a.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_9-ER-01.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, (html) version, (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]. | 
| 26 | 3.1 Attributes and Attribute Collections | 3_2-BF-01.htm 3_3-BF-02.htm 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_9-ER-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 ] | 
| 27 | 3.1 Attributes and Attribute Collections | 3_2-BF-01.htm 3_3-BF-02.htm 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_9-ER-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] | 
| 28 | 3.1 Attributes and Attribute Collections | Optional | If a printer implements processing based on the natural language of the document, that processing SHALL be controlled by the xml:langattribute. | 
| 29 | 3.2 Structure Module | 3_2-BF-01.htm | [must support "http://www.w3.org/1999/xhtml" as a value of the xmlnsattribute of thehtmlelement] | 
| 30 | 3.2 Structure Module | Optional | If a printer implements support for meta data then it MUST support the profileattribute of theheadelement | 
| 31 | 3.3 Text Module | 3_3-BF-01.htm | [must support "preserve" as a value of the xml:spaceattribute of thepreelement] | 
| 32 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the checked="checked"attribute of theinputelement] | 
| 33 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the sizeattribute of theinputelement] | 
| 34 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="text"attribute of theinputelement] | 
| 35 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="password"attribute of theinputelement] | 
| 36 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="checkbox"attribute of theinputelement] | 
| 37 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="radio"attribute of theinputelement] | 
| 38 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="submit"attribute of theinputelement] | 
| 39 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="reset"attribute of theinputelement] | 
| 40 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the type="hidden"attribute of theinputelement] | 
| 41 | 3.7 Basic Forms Module | 3_7-BF-02.htm | [must support the valueattribute of theinputelement] | 
| 42 | 3.7 Basic Forms Module | 3_7-BF-03.htm | [must support the sizeattribute of theselecttelement] | 
| 43 | 3.7 Basic Forms Module | 3_7-BF-03.htm | [must support the selected="selected"attribute of theoptionelement] | 
| 44 | 3.7 Basic Forms Module | 3_7-BF-03.htm | [must support the valueattribute of theoptionelement] | 
| 45 | 3.7 Basic Forms Module | 3_7-BF-04.htm | [must support the colsattribute of thetextareaelement] | 
| 46 | 3.7 Basic Forms Module | 3_7-BF-04.htm | [must support the rowsattribute of thetextareaelement] | 
| 47 | 3.7 Basic Forms Module | 3_7-BF-04.htm | The attribute [ rows] MUST be present | 
| 48 | 3.7 Basic Forms Module | 3_7-BF-02.htm | The hiddentype for theinputelement MUST be supported even though nothing is printed, so that a printer can correctly recognize and ignore the element. | 
| 49 | 3.8 Basic Tables Module | 3_8-BF-02.htm | [must support the alignattribute of thetdandthelements] | 
| 50 | 3.8 Basic Tables Module | 3_8-BF-06.htm | [must support the colspanattribute of thetdandthelements] | 
| 51 | 3.8 Basic Tables Module | 3_8-BF-06.htm | [must support the rowspanattribute of thetdandthelements] | 
| 52 | 3.8 Basic Tables Module | 3_8-BF-04.htm | [must support the valignattribute of thetdandthelements] | 
| 53 | 3.8 Basic Tables Module | 3_8-BF-04.htm | [must support the alignattribute of thetrelement] | 
| 54 | 3.8 Basic Tables Module | 3_8-BF-04.htm | [must support the valignattribute of thetrelement] | 
| 55 | 3.8 Basic Tables Module | Optional | If a printer implements a feature to truncate the contents of a cell because of space constraints, it MUST support the abbrattribute and print the value of theabbrattribute (if present) instead of the cell's content. | 
| 56 | 3.8 Basic Tables Module | 3_8-BF-05.htm | A printer MUST support the values left,right, andcenterfor thealignattribute of thetd,th, andtrelements | 
| 57 | 3.8 Basic Tables Module | 3_8-BF-02.htm 3_8-BF-03.htm | If the alignattribute is missing or has an unsupported value a printer MUST act as if thealignattribute has the valueleft. | 
| 58 | 3.8 Basic Tables Module | 3_8-BF-04.htm | A printer MUST support the values top,middle, andbottomfor thevalignattribute of thetd,th, andtrelements | 
| 59 | 3.9 Image Module | 3_9-BF-02.htm | [must support the altattribute of theimgelement] | 
| 60 | 3.9 Image Module | 3_9-BF-03.mx | [must support the heightattribute of theimgelement] | 
| 61 | 3.9 Image Module | 3_9-BF-03.mx | [must support the srcattribute of theimgelement] | 
| 62 | 3.9 Image Module | 3_9-BF-03.mx | [must support the widthattribute of theimgelement] | 
| 63 | 3.9 Image Module | 3_9-BF-03.mx | The [ altandsrc] attribute[s] MUST be present. | 
| 64 | 3.10 Object Module | 3_10-BF-01.htm | Printers MUST support the cid [RFC2392] and http [RFC2616] schemes of a URI [RFC2396] | 
| 65 | 3.10 Object Module | 3_10-BF-03.htm | [must support the codebaseattribute of theobjectelement] | 
| 66 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | [must support the dataattribute of theobjectelement] | 
| 67 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | [must support the heightattribute of theobjectelement] | 
| 68 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | [must support the type="image/jpeg"attribute of theobjectelement] | 
| 69 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | [must support the widthattribute of theobjectelement] | 
| 70 | 3.10 Object Module | The [ name] attribute [of theparamelement] MUST be present. | |
| 71 | 3.10 Object Module | 3_10-BF-01.htm | Printers MUST support the cid [RFC2392] and http [RFC2616] schemes of a URI [RFC2396]. | 
| 72 | 3.10 Object Module | 3_10-BF-01.htm 3_10-BF-03.htm | A printer MUST support resources of type "image/jpeg." | 
| 73 | 3.10 Object Module | 3_10-BF-04.htm | A printer MUST process the content of the  objectelement when it does not recognize or support the object type referenced by the value of thetypeattribute. | 
| 74 | 3.11 Metainformation Module | 2_3_2-BF-01.htm | The [ content] attribute MUST be present. | 
| 75 | 3.12 Scripting Module | 3_12-BF-01.htm | The noscriptelement contains alternate content that MUST be printed in place of the content of thescriptelement. | 
| 76 | 3.13 Style Sheet Module | 3_13-BF-01.htm | The [ type] attribute MUST be present. | 
| 77 | 3.13 Style Sheet Module | 3_13-BF-02.htm | A printer MUST read and process the content of styleelements where themediaattribute has the valueprintorall. | 
| 78 | 3.13 Style Sheet Module | 3_13-BF-03.htm | The absence of the mediaattribute MUST be treated as if themediaattribute had the valueall. | 
| 79 | 3.13 Style Sheet Module | 3_13-BF-04.htm | A printer MUST read and process the content of styleelements where the value of thetypeattribute is "text/css," | 
| 80 | 3.13 Style Sheet Module | 3_13-BF-04.htm | all other values [of the typeattribute that are not "text/css"] MUST cause the content to be ignored. | 
| 81 | 3.15 Link Module | 3_15-BF-02.mx | [must support the charsetattribute of thelinkelement] | 
| 82 | 3.15 Link Module | 3_15-BF-01.mx | [must support the hrefattribute of thelinkelement] | 
| 83 | 3.15 Link Module | 3_15-BF-03.mx 3_15-BF-04.mx | [must support the mediaattribute of thelinkelement] | 
| 84 | 3.15 Link Module | 3_15-BF-01.mx | [must support the rel="stylesheet"attribute of thelinkelement] | 
| 85 | 3.15 Link Module | 3_15-BF-01.mx | [must support the type="text/css"attribute of thelinkelement] | 
| 86 | 3.15 Link Module | 3_15-BF-01.mx 3_15-BF-05.htm | Printers MUST support the cid [RFC2392] and http [RFC2616] schemes of a URI [RFC2396]. | 
| 87 | 3.15 Link Module | Optional | If the printer implements processing based on the natural language of the document, then the hreflangattribute MUST be supported. | 
| 88 | 3.15 Link Module | 3_15-BF-03.mx 3_15-BF-04.mx | A printer MUST read and process the content of external style sheets where the mediaattribute has the valueprintorall. | 
| 89 | 3.15 Link Module | 3_15-BF-01.mx | The absence of the mediaattribute MUST be treat as if themediaattribute had the valueall. | 
| 90 | 3.16 Base Module | 3_16-BF-01.htm 3_16-BF-02.mx | [must support the hrefattribute of thebaseelement] | 
| 91 | 3.16 Base Module | 3_16-BF-01.htm 3_16-BF-02.mx | The [ href] attribute MUST be present | 
| 92 | 3.16 Base Module | 3_16-BF-01.htm 3_16-BF-02.mx | Printers MUST support the cid [RFC2392] and http [RFC2616] schemes of a URI [RFC2396]. | 
| 93 | 4.2 Style Sheets | 4_2-BF-01.mx | printers SHALL support both in-line and referenced style sheets within the styleelement orlinkelement in theheadelement of a document | 
| 94 | 4.2 Style Sheets | 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_9-ER-01.htm 3_10-BF-01.htm 3_12-BF-01.htm 3_15-BF-01.mx | printers SHALL also support the styleattribute [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 ] | 
| 95 | 4.3 Image Data | 4_3-BF-01.mx 4_3-BF-02.mx | printers MUST support two document formats: a format that contains both a document and its referenced image data and the traditional format that contains only the document. | 
| 96 | 4.3 Image Data | 4_3-BF-01.mx B_2-BF-01.htm | Appendix B ... the method that SHALL be used to collect both XHTML-Print and associated image data into a single file or data stream | 
| 97 | 4.4 Side-by-Side Images | Optional | Printers SHALL attempt to preserve content when encountering side-by-side images | 
| 98 | A.2.1 JPEG Processes | 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 | |
| 99 | A.2.2 Handling of APPx Markers | A JPEG decoder for a minimal printer SHALL NOT fail as a consequence of encountering an unsupported APPx marker | |
| 100 | A.2.2 Handling of APPx Markers | all such [unsupported APPx] markers SHALL be correctly parsed, even if they are ignored | |
| 101 | Grayscale Images | Sample values in a grayscale (single-component) JPEG image SHALL be converted to the sRGB color space by setting: Rout= Gout= Bout= Grayin | |
| 102 | Color Images | Sample values in 3-component JPEG images SHALL be interpreted as YCbCr samples, as would be obtained by applying the matrices described in ITU BT.601 [BT601.5] to sRGB input data. | |
| 103 | A.3.1 Handling of EXIF APP1 and APP2 Markers | any future XHTML elements or CSS properties affecting image orientation SHALL take precedence over these IFDs. | |
| 104 | B.1.1 Intent | B_1_1-BF-01.mx | In addition to images, if separate style sheets are to be interleaved with the XHTML-Print data, the same method SHALL be used. | 
| 105 | B.1.2 Objectives | B_1_2-BF-01.mx | image data SHALL be sent near the related XHTML-Print content, so that layout and printing can occur without extensive data buffering | 
| 106 | B.2 MIME type Application/Vnd.pwg-multiplexed | B_2-BF-01.mx RFC 3391 Test List | All printers MUST support image data using RFC3391[MIMEMPX], See RFC 3391 tests | 
| 107 | B.2 MIME type Application/Vnd.pwg-multiplexed | B_2-BF-02.mx | The producer of the compound document MUST assume that the consumer of the compound document has limited memory and therefore include a unique image message for each image reference found in the root document | 
| 108 | B.2 MIME type Application/Vnd.pwg-multiplexed | B_2-BF-03.mx | If a ContentID is present in the header of an image message, that ContentID MUST be unique. | 
| 109 | B.2 MIME type Application/Vnd.pwg-multiplexed | RFC 2775 Test List | URL references in the root document of the multiplexed document MUST be matched to Content-Location and/or Content-ID fields of the referenced message object according to the rules given by RFC2557 - MIME Encapsulation of Aggregate Documents, such as HTML (MHTML) [RFC2557]. See RFC 2775 Test List |