Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/CSS2/text/text-decoration-applies-to-002.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 'block' 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 'block' element." /> <style type="text/css"> span { display: block; text-decoration: underline; } </style> </head> <body> <p>Test passes if the "Filler Text" below has a line under it.</p> <div> <span>Filler Text</span> </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>