Revision be7cffe00b12a1b98f1afe41fbac6d99d159d5ba authored by Anne van Kesteren on 12 April 2018, 14:40:32 UTC, committed by Anne van Kesteren on 12 April 2018, 14:40:32 UTC
1 parent 4d7fca9
webkit-text-fill-color-currentColor.html
<!doctype html>
<title>Test that currentColor is not affected by -webkit-text-fill-color</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<p id="target" style="text-decoration-color: currentColor; color: blue; -webkit-text-fill-color: red;"></p>
<script>
test(function() {
var target = document.getElementById("target");
var cs = window.getComputedStyle(target, null);
var textDecorationColor = cs.getPropertyValue('text-decoration-color');
var color = cs.getPropertyValue('color');
var webkiTextFillColor = cs.getPropertyValue('-webkit-text-fill-color');
assert_true(textDecorationColor == color);
assert_true(textDecorationColor != webkiTextFillColor);
});
</script>
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...