2 <title>CSS Test: Text Decoration with first-line pseudo element
</title>
3 <link rel=
"help" href=
"http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">
4 <style type=
"text/css">
10 text-decoration: underline
;
15 font: 24px sans-serif
;
18 text-decoration: overline
;
23 font: 24px sans-serif
;
26 text-decoration: line-through
;
39 <h2>Test case for First-line text-decoration style
</h2>
41 <p> Text-decoration UNDERLINE : Only the first line must have an underline.
42 <div id=
"div1">Underline Underline Underline Underline
<br> Underline Underline Underline Underline
<br> Underline Underline Underline Underline
</div>
45 <p> Text-decoration OVERLINE : Only the first line must have an overline.
46 <div id=
"div2">Overline Overline Overline Overline
<br> Overline Overline Overline Overline
<br> Overline Overline Overline Overline
</div>
49 <p> Text-decoration LINE-THROUGH : Only the first line must have a line through it.
50 <div id=
"div3">Line-Through Line-Through Line-Through Line
<br> Line-Through Line-Through Line-Through Line-Through
<br> Line-Through Line-Through Line-Through Line-Through
</div>