| <!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"> |
| <link rel="help" href="https://compat.spec.whatwg.org/#the-webkit-text-fill-color"> |
| <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"> </p></div> |