<!DOCTYPE html>
<html>
<head>
<style>
p { text-decoration: underline; }
#firstline1 { color: green; }
#firstline2 { color: green; text-decoration: overline; }
#firstline3 { color: green; text-decoration: underline; }
</style>
</head>
<body>
<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>
<br/>
<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>
<p>
<span id="firstline1">Lorem ipsum dolor set amet. Lorem ipsum </span><br/><span>dolor set amet. Lorem ipsum dolor set amet.</span>
</p>
<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>
<p>
<span id="firstline2">Lorem ipsum dolor set amet. Lorem ipsum </span><br/><span>dolor set amet. Lorem ipsum dolor set amet.</span>
</p>
<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>
<p>
<span id="firstline3">Lorem ipsum dolor set amet. Lorem ipsum </span><br/><span>dolor set amet. Lorem ipsum dolor set amet.</span>
</p>
</body>
</html>