Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Next revisionBoth sides next revision
test:css2.1:format [2007/07/13 11:15] – Added the HTMLonly and XHTML only flags arroneitest:css2.1:format [2007/07/13 11:19] – Added template to guidelines page arronei
Line 3: Line 3:
 These are proposed updates to the test suite format. The original These are proposed updates to the test suite format. The original
 format is documented in the [[http://www.w3.org/Style/CSS/Test/guidelines.html|CSS2.1 Test Case Authoring Guidelines]]. format is documented in the [[http://www.w3.org/Style/CSS/Test/guidelines.html|CSS2.1 Test Case Authoring Guidelines]].
 +
 +===== Template for New Tests =====
 +
 +The baseline format for CSS2.1 tests is XHTML 1.1. Images must be in PNG format. A set of scripts generate the various formats from this source version.
 +
 +Copy and paste the following text into a new file, or save this file, and replace the capitalized parts. ''<link>'' elements are used to [[http://www.w3.org/Style/CSS/Test/guidelines.html#links|link to the relevant section of the spec]].
 +
 +<code html>
 +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
 +<html xmlns="http://www.w3.org/1999/xhtml">
 + <head>
 +  <title>CSS 2.1 Test Suite: DESCRIPTION OF TEST</title>
 +  <link rel="author" title="NAME_OF_AUTHOR" href="mailto:EMAIL OR http://CONTACT_PAGE"/>
 +  <link rel="help" href="RELEVANT_SPEC_SECTION"/>
 +  <meta name="flags" content="TOKENS" />
 +  <meta name="assert" content="TEST ASSERTION"/>
 +  <style type="text/css"><![CDATA[
 +   CSS FOR TEST
 +  ]]></style>
 + </head>
 + <body>
 +  CONTENT OF TEST
 + </body>
 +</html>
 +</code>
  
  
Line 182: Line 207:
   * Do not use the ''style'' attribute (inline styles) unless specifically testing that attribute   * Do not use the ''style'' attribute (inline styles) unless specifically testing that attribute
   * Indent nicely!   * Indent nicely!
 +
  
  
Line 211: Line 237:
 **ext**\\ **ext**\\
 The file extension or format of the file. The file extension or format of the file.
 +
 +===== Support files =====
 
test/format.txt · Last modified: 2014/12/09 15:48 by 127.0.0.1
Recent changes RSS feed Valid XHTML 1.0 Valid CSS Driven by DokuWiki