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:16] arroneitest:css2.1:format [2007/08/02 17:11] – make test assertion optional fantasai
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 139: Line 164:
 </code> </code>
 </note> </note>
 +
  
  
Line 151: Line 177:
 This element should contain a detailed explanation on what specifically the test is attempting to prove. This element should contain a detailed explanation on what specifically the test is attempting to prove.
  
-''content'' attribute should //not// be:+The assertion should //not// be:
   * A copy of the title text   * A copy of the title text
   * A copy of the self-verification text   * A copy of the self-verification text
   * A line or reference from the CSS specification   * A line or reference from the CSS specification
 +
 +The test assertion is <strong>optional</strong>.
  
 ==== Style Element (embedded styles) ==== ==== Style Element (embedded styles) ====
 
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