Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /compat/webkit-text-fill-color-property-005.html - WPT Dashboard Interop Dashboard
<!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">
<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>