Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text-decor/text-decoration-color-recalc-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<html>
<head>
<title>CSS Test: CSS3 text-decoration-color currentColor is updated</title>
<link rel="match" href="text-decoration-color-recalc-002-ref.html">
</head>
<body>
<p id="p" style="color: red;"><s>Text passes if strikethrough color is green.</s></p>
</body>
<script>
p.offsetTop;
p.style.color = 'green';
</script>
</html>