Unprefix text-decoration CSS3 properties
[WebKit-https.git] / LayoutTests / imported / w3c / web-platform-tests / css / css-text-decor / text-decoration-line-recalc.html
1 <!doctype html>
2 <link rel="help" href="https://www.w3.org/TR/css-text-decor-3/#text-decoration-line">
3 <link rel="match" href="reference/text-decoration-line-recalc-ref.html">
4 <style>
5     div {
6         font-size: 50px;
7         text-decoration: underline;
8     }
9 </style>
10 <script>
11     onload = function() {
12         target.style.textDecorationLine = "overline";
13     };
14 </script>
15 <p>Test that changes in text-decoration-line are recalculated correctly. PASS
16 if the text below has a solid green overline, and no underline.</p>
17 <div id="target">
18     Filler text
19 </div>