Bug 1555865: added text-decoration-thickness to the text-decoration shorthands r...
[gecko.git] / layout / reftests / text-decoration / text-decoration-shorthands-001.html
blob70917da8408ac9dc56760f76cfcbcee9573423fa
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <meta charset="utf-8">
5 <title>Test case for text-decoration shorthands</title>
6 <meta name="assert" content="text-decoration: the line should not be rendered with text-decoration-thickness's pref set to false">
7 <link rel="author" title="Charlie Marlow" href="mailto:cmarlow@mozilla.com">
8 <link rel="author" title="Mozilla" href="https://www.mozilla.org">
9 <link rel="help" href="https://drafts.csswg.org/css-text-decor-4/#text-decoration-width-property">
10 <link rel="match" href="text-decoration-shorthands-001-ref.html">
11 <style>
13 This test ensures the underline is not rendered when
14 text-decoration-thickness is turned off, since the CSS below
15 should not actually be parsed
17 div{
18 text-decoration: red underline 100px;
20 </style>
21 </head>
22 <body>
23 <p>Test passes if no underline is rendered</p>
24 <div>XX XX</div>
25 </body>
26 </html>