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.html - WPT Dashboard Interop Dashboard
<!doctype html>
<link rel="match" href="reference/text-decoration-color-recalc-ref.html">
<style>
div {
font-size: 50px;
text-decoration: underline solid red;
}
</style>
<script>
onload = function() {
target.style.textDecorationColor = "green";
};
</script>
<p>Test that changes in text-decoration-color are recalculated correctly. PASS
if the text below has a solid green underline, and no red.</p>
<div id="target">
Filler text
</div>