Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="utf-8">
<title>webkit-text-fill-color should not take effect while rendering text-decoration underline</title>
<link rel="author" title="Jeremy Chen" href="jeremychen@mozilla.com">
<link rel="author" title="Mozilla" href="https://www.mozilla.org">
<meta name="assert" content="The color of text-decoration underline should be green">
<link rel="match" href="webkit-text-fill-color-property-005-ref.html">
<style type="text/css">
p {
color: green;
}
p.underline {
text-decoration: underline;
-webkit-text-fill-color: red
}
</style>
<div><p>Pass if text underline is green!!!</p></div>
<div><p class="underline">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</p></div>