1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" "http://www.w3.org/TR/REC-html40/loose.dtd">
4 <TITLE>CSS1 Test Suite: 5.3.3 background-image</TITLE>
5 <META http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
6 <META http-equiv="Content-Style-Type" content="text/css">
8 <LINK rel="stylesheet" type="text/css" media="screen" href="../resources/base.css">
9 <STYLE type="text/css">
10 P {background-image: url(../resources/bg.gif);}
11 .one {background-image: none;}
16 <BODY><P>The style declarations which apply to the text below are:</P>
17 <PRE>P {background-image: url(../resources/bg.gif);}
18 .one {background-image: none;}
23 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).
26 This sentence should be backed by a repeated green-grid image, as should the last three words <STRONG><SPAN class="one">in this sentence</SPAN></STRONG>. If it is not, then <CODE>none</CODE> is interpreted incorrectly. (<CODE>none</CODE> 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.)
29 This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to "shine through" instead.
33 <TABLE border cellspacing="0" cellpadding="3" class="tabletest">
35 <TD colspan="2" bgcolor="silver"><STRONG>TABLE Testing Section</STRONG></TD>
38 <TD bgcolor="silver"> </TD>
40 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).
43 This sentence should be backed by a repeated green-grid image, as should the last three words <STRONG><SPAN class="one">in this sentence</SPAN></STRONG>. If it is not, then <CODE>none</CODE> is interpreted incorrectly. (<CODE>none</CODE> 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.)
46 This sentence should NOT be backed by a repeated green-grid image, allowing the page's background to "shine through" instead.
48 </TD></TR></TABLE></BODY>