wpt / css / CSS2 / text / text-decoration-applies-to-011.xht

Status: FAIL | Duration: 10ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/CSS2/text/text-decoration-applies-to-011.xht

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>CSS Test: Text-decoration application on a 'table-row' element</title>
        <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
        <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#propdef-text-decoration" />
        <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#lining-striking-props" />
        <link rel="match" href="../../reference/pass_if_filler_text_underlined.html"/>
        <meta name="assert" content="The 'text-decoration' property applies to a 'table-row' element." />
        <style type="text/css">
            #table
            {
                display: table;
            }
            #row
            {
                display: table-row;
                text-decoration: underline;
            }
            #cell
            {
                display: table-cell;
            }
        </style>
    </head>
    <body>
        <p>Test passes if the "Filler Text" below has a line under it.</p>
        <div id="table">
            <div id="row">
                <div id="cell">Filler Text</div>
            </div>
        </div>
    </body>
</html>

/css/reference/pass_if_filler_text_underlined.html

<!DOCTYPE HTML>
<html>
<head>
   <title>Reference rendering - pass if Filler Text has line under it</title>
   <link rel="author" title="Opera" href="https://www.opera.com/">
   <link rel="mismatch" href="pass_if_filler_text_underlined-notref.html">
</head>
<body>
   <p>Test passes if the "Filler Text" below has a line under it.</p>
   <div><u>Filler Text</u></div>
</body>
</html>