Status: FAIL | Duration: 14ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/CSS2/linebox/vertical-align-121.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: vertical-align: top</title> <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/> <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <!-- 2016-06-01 --> <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/vertical-align/001.html" type="text/html"/> <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#line-height" /> <link rel="match" href="vertical-align-121-ref.xht" /> <meta name="flags" content="ahem" /> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style type="text/css"> div { color: navy; text-align: center; width: 6em; font: 30px/1 Ahem; } span { font-size: 2em; } .bottom { border-bottom: solid blue; } .bottom span { vertical-align: bottom; } .top span { vertical-align: top; } </style> </head> <body> <p>There should be a plus sign with a blue line traversing through its middle.</p> <div class="bottom">x<span>X</span>x</div> <div class="top">x<span>X</span>x</div> </body> </html>
/css/CSS2/linebox/vertical-align-121-ref.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 Reftest Reference</title> <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> <style type="text/css"><![CDATA[ div#table { border-collapse: collapse; display: table; font: 30px/1 Ahem; width: 6em; } div.tr { display: table-row; } div.td { color: white; display: table-cell; } div#top { border-top: blue solid medium; } div.navy { color: navy; } ]]></style> </head> <body> <p>There should be a plus sign with a blue line traversing through its middle.</p> <div id="table"> <div class="tr"><div class="td">A</div><div class="td">B</div><div class="navy td">C</div><div class="navy td">D</div><div class="td">E</div><div class="td">F</div></div> <div class="tr"><div class="td">G</div><div class="navy td">H</div><div class="navy td">I</div><div class="navy td">J</div><div class="navy td">K</div><div class="td">L</div></div> <div class="tr" id="top"><div class="td">M</div><div class="navy td">N</div><div class="navy td">O</div><div class="navy td">P</div><div class="navy td">Q</div><div class="td">R</div></div> <div class="tr"><div class="td">S</div><div class="td">T</div><div class="navy td">U</div><div class="navy td">V</div><div class="td">W</div><div class="td">X</div></div> </div> </body> </html>