5 p { text-decoration: underline; }
6 #firstline1 { color: green; }
7 #firstline2 { color: green; text-decoration: overline; }
8 #firstline3 { color: green; text-decoration: underline; }
12 <div>Test for Bugzilla
<a href=
"https://bugs.webkit.org/show_bug.cgi?id=93829">Bug
93829</a>: Text decorations specified on the containing block are not properly applied when ::first-line is present.
</div>
14 <div>The following text should have the first line text in green color with an underline in black color. The remainder of the text should have black underline.
</div>
16 <span id=
"firstline1">Lorem ipsum dolor set amet. Lorem ipsum
</span><br/><span>dolor set amet. Lorem ipsum dolor set amet.
</span>
18 <div>The following text should have the first line text in green color with an overline in green color and an underline in black color whereas the remainder of the text should only have an underline in black color.
</div>
20 <span id=
"firstline2">Lorem ipsum dolor set amet. Lorem ipsum
</span><br/><span>dolor set amet. Lorem ipsum dolor set amet.
</span>
22 <div>The following text should have the first line text in green color with an underline in green color whereas the remainder of the text should also have an underline in black color.
</div>
24 <span id=
"firstline3">Lorem ipsum dolor set amet. Lorem ipsum
</span><br/><span>dolor set amet. Lorem ipsum dolor set amet.
</span>