1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Attribute 'nowrap' vs. CSS 'white-space' specificity</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/cascade.html#preshint">
7 <meta name="flags" content="">
8 <meta name="assert" content="Attribute 'nowrap' has a specificity of zero and is overridden by CSS.">
9 <style type="text/css">
10 table
11 {
12 width: 100px;
13 }
14 td
15 {
16 border: solid thin black;
17 }
18 *
19 {
20 white-space: normal;
21 }
22 </style>
23 </head>
24 <body>
25 <p>Test passes if both columns of "Filler Text" below wrap to multiple lines.</p>
26 <table>
27 <tr>
28 <td nowrap="nowrap">Filler Text Filler Text Filler Text Filler Text Filler Text Filler Text Filler Text</td>
29 <td nowrap="nowrap">Filler Text Filler Text Filler Text Filler Text Filler Text Filler Text Filler Text</td>
30 </tr>
31 </table>
32 </body>
33 </html>