mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 13:48:23 +02:00
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
43 lines
765 B
HTML
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> <td>
|
|
|
|
<tr><td> <td><span>PASS</span>
|
|
|
|
</table>
|