CSS1 Test Suite

Version History

Versions are listed most to least recent, with the details of what was changed since the previous version of the Test Suite, a link to each changed page, and a link to the main page of each version. Note that, as time goes on, corrections made in earlier versions may be superseded or removed in later revisions.

Changed the page background for test pages to a light-gray grid on white; this change came as a result of user requests for a less intrusive background.

5.4.1

word-spacing

Minor changes in wording of most tests.

5.4.2

letter-spacing

Minor changes in wording of most tests.

5.4.7

text-indent

Added a light blue background color to the test elements and reworded a couple of tests.

5.4.8

line-height

Added the declaration font-size: 14px to all tests, in an attempt to ensure that the tested values of line-height are visible.

5.5.01

margin-top

Added a light blue background color to all test elements.

5.5.02

margin-right

Added a light blue background color to all test elements; added the declaration text-align: right to the test elements, in order to make the test easier to follow.

5.5.03

margin-bottom

Added a light blue background color to all test elements.

5.5.04

margin-left

Added a light blue background color to all test elements.

5.5.05

margin

Added a light blue background color to all test elements.

5.5.06

padding-top

Minor rewording of some tests.

5.5.07

padding-right

Added the declaration text-align: right to the test elements, in order to make the test easier to follow.

5.5.08

padding-bottom

Minor rewording of some tests.

5.5.10

padding

Minor rewording of some tests.

5.5.22

border

Corrected a hyperlink within the document to point to the correct target. Note that this incorrect URL did NOT affect the tests in previous versions of the Test Suite.

5.5.25

float

Moved some tests to test page 5.5.25c, detailed below.

5.5.25c

float

An entirely new test page, devoted to testing the behavior of floating text elements.

6.1

Length Units

Added a 'reference paragraph' with a left margin set to zero, for comparison against the other test statements.

6.2

Percentage Units

Added a significant set of new test statements proposed by Håkon Lie, and clarified the wording of the test which had been there before.

6.3

Color Units

Changed the color assigned to BODY to be black, and added tests to see what happens when an invalid or out-of-range value is specified: in .seven, a random string of letters is used, and in .eight through .eleven, out-of-bounds value clipping is tested.

Placed the first two @import statements at the beginning of the inline stylesheet, and added another @import statement at the end of the stylesheet to test for browser compliance with section 3.0 of the specification.

1.3

Inheritance

Fixed the declarations to include an omitted BODY rule, the lack of which was making some of the statements invalid; also changed color values of dark green to more obvious colors, based on user feedback that the specific dark green in use was too difficult to distinguish from black.

1.4

Class as Selector

Changed color values of dark green to more obvious colors, as per the explanation for section 1.3.

1.5

ID as Selector

Removed a test for handling of duplicate IDs as being beyond the scope of CSS1.

5.4.3

text-decoration

Changed the invalid declaration {text-decoration: normal;} to use the correct value {text-decoration: none;}.

5.4.4

vertical-align

Refined tests to make desired behavior (or a lack thereof) easier to see.

Added color: red; to the class .four {display: none;}, making it easier to tell if the property value none is being interpreted correctly.

6.3

Color units

Changed the declared values for color in classes .one through .four to match (or at least approximate) the defined color values for the keyword green found in the class .six; also added a test for real-number percentage values.