gecko-dev/testing/web-platform/tests/css/css-contain/reference/contain-layout-cell-001-ref.html
Manuel Rego Casasnovas 40baecfd55 Bug 1489973 [wpt PR 12926] - [css-contain] Fix contain-layout-cell- tests, a=testonly
Automatic update from web-platform-tests[css-contain] Fix contain-layout-cell- tests (#12926)

Use "vertical-align: top" in some elements otherwise the test fails.
--

wpt-commits: 8f0b9c67a1757b1b3ba8a7fbc79d314e9d431bdf
wpt-pr: 12926

--HG--
extra : rebase_source : 3ed753d4564eb5891095e178bddec7345f66e9e6
extra : source : 12f6dddd7ad1c3f3c465622da159e363af004047
2018-09-13 02:58:38 +00:00

43 lines
765 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Reference Test</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<style>
table
{
background-color: blue;
border-spacing: 2px;
height: 206px;
table-layout: fixed;
width: 206px;
}
td
{
background-color: white;
padding: 0px;
vertical-align: baseline;
}
span
{
background-color: green;
color: white;
font-family: monospace;
vertical-align: top;
}
</style>
<p>Test passes if there is the word PASS and if there is <strong>no red</strong>.
<table>
<tr><td>&nbsp;<td>&nbsp;
<tr><td>&nbsp;<td><span>PASS</span>
</table>