CSS1 Test Suite: 5.3.3 background-image


[Previous] [Next] [Section] [Contents] [Specification]
Last Updated: 11 May 1998

The style declarations which apply to the text below are:

P {background-image: url(bg.gif);}
.one {background-image: none;}


This sentence should be backed by an image-- a green grid pattern, in this case. The background image should also tile along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere).

This sentence should be backed by a repeated green-grid image, as should the last three words in this sentence. If it is not, then none is interpreted incorrectly. (none means that the element has no background image, allowing the parent to "shine through" by default; since the parent of the words "in this sentence" is the paragraph, then the paragraph's image should be visible.)

This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to "shine through" instead.

This sentence should be backed by an image-- a green grid pattern, in this case. The background image should also tile along both axes, because no repeat direction is specified (specific tests for repeating are found elsewhere).

This sentence should be backed by a repeated green-grid image, as should the last three words in this sentence. If it is not, then none is interpreted incorrectly. (none means that the element has no background image, allowing the parent to "shine through" by default; since the parent of the words "in this sentence" is the paragraph, then the paragraph's image should be visible.)

This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to "shine through" instead.


[Previous] [Next] [Section] [Contents] [Specification]