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.5.17 border-style
</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 .one {border-style: dashed; border-color: black; border-width: thick;}
11 .two {border-style: groove; border-color: red; border-width: thick;}
12 .three {border-style: none; border-color: purple; border-width: thick;}
</STYLE>
16 <BODY><P>The style declarations which apply to the text below are:
</P>
17 <PRE>.one {border-style: dashed; border-color: black; border-width: thick;}
18 .two {border-style: groove; border-color: red; border-width: thick;}
19 .three {border-style: none; border-color: purple; border-width: thick;}
22 <P style=
"background-color: silver;">
23 This is an unstyled element, save for the background color, and it contains inline elements with classes of
<SPAN class=
"one">class one
</SPAN>, which will result in a dashed thick black border;
<SPAN class=
"two">class two
</SPAN>, which should result in a grooved thick purple border, and
<SPAN class=
"three">class three
</SPAN>, which should result in no border at all. The line-height of the parent element should not change, on any line.
27 <TABLE border
cellspacing=
"0" cellpadding=
"3" class=
"tabletest">
29 <TD colspan=
"2" bgcolor=
"silver"><STRONG>TABLE Testing Section
</STRONG></TD>
32 <TD bgcolor=
"silver"> </TD>
33 <TD><P style=
"background-color: silver;">
34 This is an unstyled element, save for the background color, and it contains inline elements with classes of
<SPAN class=
"one">class one
</SPAN>, which will result in a dashed thick black border;
<SPAN class=
"two">class two
</SPAN>, which should result in a grooved thick purple border, and
<SPAN class=
"three">class three
</SPAN>, which should result in no border at all. The line-height of the parent element should not change, on any line.
36 </TD></TR></TABLE></BODY>