Abstract
This Test Suite has been designed primarily to help implementers evaluate conformance to the 
XHTML-Print W3C Candidate 
Recommendation 20 January 2004. 
It is based upon the W3C HTML 4.01 Test Suite. 
Table of Contents
Status of the test suite
This is the first draft of the test suite for 
XHTML-Print W3C Candidate 
Recommendation.  This version of the test suite contains Basic Functionality 
tests except for tests for Appendix A. JPEG Decoder Requirements. 
Documentation for the test suite is in  
XHTML-Print Test Suite Documentation .
Feedback and discussion regarding the XHTML-Print Test Suite should be sent to
www-html-testsuite@w3.org (archive). 
Send a mail to www-html-testsuite-request@w3.org with "Subject: subscribe" to 
subscribe to this list.
Overview of the test suite
The 
XHTML-Print 
specification normatively references several other specifications. The diagram 
on the right supplements the following list that shows how the specifications are related. 
- XHTML-Print depends on: 
 
  - The Modularization of XHTML 1.0 (XHTMLMOD) for the definition of:
  
 -  elements,
 
  	   -  attributes,  and 
 
  	   -  XHTML Family User Agent conformance criteria.
 
  
   
  - RFC 3391 for the definition of the multiplexed document format. RFC 3391 depends on:
   
 
   -  RFC 2557 
    to define the representation of the relationship between inter-related components
        of a compound document via MIME headers. RFC 2257 depends on: 
     
      -  RFC 822 to define MIME headers and character encodings
 
      -  RFC 2047 (MIME3) to define the encoding of Content-ID and 
      Content-Location message headers.
 
      -  RFC 2017 to define folding of long MIME header field bodies.  
      RFC 2017 depends on 
      	
      		-  RFC 1738 to define the encoding of URLs 
 
      	
       
     
       
    
   
  -  RFC 2396 for the definition of a URI
 
  -  RFC 2392 for the definition of the cid scheme
 
  -  RFC 2616 for the definition of the http scheme 
 
  
   
There are several different types of tests within this test suite, 
because of the 
hierarchy of specifications:
- Tests from the XHTML-Print specification These are named from the 
section of the XHTML-Print specification. 
 
-  Tests from the XHTML Family User 
Agent Conformance section of the XHTML 1.1 specification. These are prefixed 
with "xhtml_conform", for example xhtml_conform-BF-01.htm.
 
-  Tests from the RFC 3391 specification. These are prefixed with "rfc3391", 
for example, rfc3391-BF-01.mx. 
 
-  Tests from the RFC2557 specification. These are prefixed 
with "rfc2557", for example, rfc2557-BF-01.mx 
 
The tests themselves come in two formats:
-  An XHTML-Print document (suffix "htm"), and 
 
-  A compound or multiplexed document (suffix "mx") whose format is defined by
 
RFC3391 - The MIME Application/Vnd.pwg-multiplexed Content-type.
A multiplexed document contains an XHTML-Print document, as well as, all the entities it
references.
 
For each feature, there is at least one page which tests the feature
in various ways, using XHTML-Print markup. The test pages are broken out into
a number of sections which reflect the structure of the XHTML-Print specification itself,
in addition to a Prologue and a few appendices. 
Tests organized by section
In the table of contents, below, tests are organized by section.  There is 
another view of the tests, organized by testable assertions extracted from the 
specification: XHTML-Print Assertions
Table of Contents
- 1. Introduction 
- 1.1. XHTML for Printing
 
- 1.2. Terminology
 
- 1.3. Design Rationale
  
 
 
- 2. Conformance
- 2.1. Document Conformance
 
- 2.2. Client Conformance
 
- 2.3. Printer Conformance
 
- 2.4. Enhanced Layout Extension Conformance
 
 
- 3. The XHTML-Print Document Type 
- 3.1. Attributes and Attribute Collections
 
- 3.2. Structure Module
 
- 3.3. Text Module
 
- 3.4. Hypertext Module
 
- 3.5. List Module
 
- 3.6. Presentation Module
 
- 3.7. Basic Forms Module
 
- 3.8. Basic Tables Module
 
- 3.9. Image Module
 
- 3.10. Object Module
 
- 3.11. Metainformation Module
 
- 3.12. Scripting Module
 
- 3.13. Style Sheet Module
 
- 3.14. Style Sheet Attribute Module
 
- 3.15. Link Module
 
- 3.16. Base Module
 
- 3.17. Character Entities
 
 
- 4. How to Use XHTML-Print 
- 4.1. Recommended Attributes on the 
img and object Elements 
- 4.2. Style Sheets
 
- 4.3. Image Data
 
- 4.4. Side-by-Side Images
 
- 4.5. Forms Usage
 
 
- 5. Acknowledgements
 
- A. JPEG Decoder Requirements 
- A.1. Introduction
 
- A.2. Behaviors of Minimal Printers
 
- A.3. JPEG Decoder for XHTML-Print Enhanced Layout Extension
 
 
- B. Image Data 
- B.1. Introduction
 
- B.2. MIME type Application/Vnd.pwg-multiplexed
 
- B.3. Using object for In-line Image Data
 
 
- C. XHTML-Print DTD and Modules 
- C.1. XHTML-Print 1.0 DTD
 
- C.2. XHTML-Print 1.0 Document Model Module
 
 
- D. References 
- D.1. Normative References
 
- D.2. Informative References
 
 
Feedback regarding the XHTML-Print Test Suite should be sent to
www-html-testsuite@w3.org.