diff options
Diffstat (limited to 'testing/web-platform/tests/compat/webkit-text-fill-color-property-005.html')
-rw-r--r-- | testing/web-platform/tests/compat/webkit-text-fill-color-property-005.html | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/testing/web-platform/tests/compat/webkit-text-fill-color-property-005.html b/testing/web-platform/tests/compat/webkit-text-fill-color-property-005.html new file mode 100644 index 000000000..88ac17a81 --- /dev/null +++ b/testing/web-platform/tests/compat/webkit-text-fill-color-property-005.html @@ -0,0 +1,19 @@ +<!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> |