summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text-decor/text-decoration-style-recalc.html
blob: 299d5c9eddbf0869b5c5d7180ef54be0536c22ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
<!doctype html>
<link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-decoration-style-property">
<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>