This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
test:css2.1:format [2007/07/13 11:16] – arronei | test: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:// | format is documented in the [[http:// | ||
+ | |||
+ | ===== 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. ''< | ||
+ | |||
+ | <code html> | ||
+ | < | ||
+ | <html xmlns=" | ||
+ | < | ||
+ | < | ||
+ | <link rel=" | ||
+ | <link rel=" | ||
+ | <meta name=" | ||
+ | <meta name=" | ||
+ | <style type=" | ||
+ | CSS FOR TEST | ||
+ | ]]></ | ||
+ | </ | ||
+ | < | ||
+ | CONTENT OF TEST | ||
+ | </ | ||
+ | </ | ||
+ | </ | ||
Line 139: | Line 164: | ||
</ | </ | ||
</ | </ | ||
+ | |||
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. | ||
- | '' | + | The assertion |
* 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 < | ||
==== Style Element (embedded styles) ==== | ==== Style Element (embedded styles) ==== |