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