W3C Logo

W3C Background Tests

September 15, 2003

This version:
/~boland/css3/spec/index.htm
Author
Tim Boland (NIST)

W3C Background Property Tests

NOTE: The format of this cover page will soon change to reflect test descriptions for each test, as well as creation of test ids. Additional tests will be created soon. As soon as a final test format is defined, this document will adhere to that format. The tests are independent of one another, and contain no intrinsic navigation inside them. They are self-contained and autonomous, so may be navigated in any manner desired. One can "view source" to see names of tests for navigation purposes. For now, tests below are HTML, so your browser must support this capability to run these tests. There is a sample test of a different HTML format at the end, as well as some pure XML tests. Finally, a few HTML TNG tests are presented.

The CSS3 Background Module referenced in these tests is here (dated 10 December 2002). NOTE: I put some additional letters at the end of some elements to test certain properties more effectively. Must support "gif" to run these tests; "jpg" also included, and other formats will be included soon.

Background Color-1 This test tests the background color property 1
Background Color-2 This test tests the background color property 2
Background Color-3 This test tests the background color property 3
Background Color-4 This test tests the background color property 3.5
Background Image-1 This test tests the background-image property 4
Background Image-2 This test tests the background-image property 5
Background Image-3 This test tests the background image property 6
Background Image-4 This test tests the background-image property 7
Background Image-5 This test tests the background-image property 8
Background Repeat-1 This test tests the background-repeat property 9
Background Repeat-2 This test tests the background-repeat property 10
Background Repeat-3 This test tests the background-repeat property 11
Background Repeat-4 This test tests the background-repeat property 12
Background Repeat-5 This test tests the background-repeat property 13
Background Repeat-6 This test tests the background-repeat property 14
Background Attachment-1 This test tests the background-attachment property 15
Background Attachment-2 This test tests the background-attachment property 16
Background Attachment-3 This test tests the background-attachment property 17
Background Attachment-4 This test tests the background-attachment property 18
Background Position-1 This test tests the background-position property 19
Background Position-2 This test tests the background-position property 20
Background Position-3 This test tests the background-position property 21
Background Position-4 This test tests the background-position property 22
Background Position-5 This test tests the background-position property 23
Background Position-6 This test tests the background-position property 24
Background Position-7 This test tests the background-position property 25
Background Position-8 This test tests the background-position property 26
Background Position-9 This test tests the background-position property 27
Background Position-10 This test tests the background-position property 28
Background Position-11 This test tests the background-position property 29
Background Position-12 This test tests the background-position property 30
Background Position-13 This test tests the background-position property 31
Background Position-14 This test tests the background-position property 32
Background Position-15 This test tests the background-position property 33
Background Position-16 This test tests the background-position property 34
Background Position-17 This test tests the background-position property 35
Background Position-18 This test tests the background-position property 36
Background Position-19 This test tests the background-position property 37
Background Position-20 This test tests the background-position property 38
Background Position-21 This test tests the background-position property 39
Background Position-22 This test tests the background-position property 40
Background Position-23 This test tests the background-position property 41
Background Clip-1 This test tests the background-clip property 42
Background Clip-2 This test tests the background-clip property 43
Background Clip-3 This test tests the background-clip property 44
Background Origin-1 This test tests the background-origin property 45
Background Origin-2 This test tests the background-origin property 46
Background Origin-3 This test tests the background-origin property 47
Background Size-1 This test tests the background-size property 48
Background Size-2 This test tests the background-size property 49
Background Size-3 This test tests the background-size property 50
Background-1 This test tests the background property 51
Background-2 This test tests the background property 52
Background-3 This test tests the background property 53
Background-4 This test tests the background property 54
Background-5 This test tests the background property 55
Background-6 This test tests the background property 56
Background Spacing-1 This test tests the background-spacing property 57
Background Spacing-2 This test tests the background-spacing property 58
Background Spacing-3 This test tests the background-spacing property 59

An example of a different HTML format is here. This format is similar to that in CSS1 Test Suite.

Some sample XML test cases (for background color) are Test 1 and Test 2. This is in case one wants to use XML to access tests. More will be developed.

Some sample HTML test cases (in TNG Format) for background color are Test 1 and Test 2, and Test 3. This is in case one wants to use HTML TNG to access tests. More can be developed.