1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Text-decoration on descendents with relative positioning</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#lining-striking-props">
7 <meta name="flags" content="">
8 <meta name="assert" content="Text-decoration is moved with relative positioned elements.">
9 <style type="text/css">
10 div
11 {
12 color: orange;
13 text-decoration: underline;
14 }
15 span
16 {
17 border: 1px solid blue;
18 }
19 #span1
20 {
21 left: 75px;
22 position: relative;
23 }
24 </style>
25 </head>
26 <body>
27 <p>Test passes there is an orange line under only the words "Filler Text" below. Between the blue boxes, there cannot be any orange line.</p>
28 <div>
29 <span>Filler Text Filler Text</span><span id="span1">Filler Text Filler Text</span>
30 </div>
31 </body>
32 </html>