Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-break/table/table-cell-vertical-align-002-print-ref.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
<link rel="match" href="table-cell-vertical-align-002-print-ref.html">
<style>
@page { size: 5in 3in; margin: 0.5in; }
body { margin: 0; }
.tbody {
display: flex;
inline-size: min-content;
}
.tbody:nth-child(1) {
background: cyan;
}
.tbody:nth-child(2) {
background: yellow;
}
ol {
margin: 0;
}
</style>
<div class="tbody">
<ol class="td">
<li></li><li></li><li></li><li></li>
</ol>
<div class="td" style="align-self: end">bottom</div>
</div>
<div class="tbody">
<ol class="td">
<li></li><li></li><li></li><li></li>
<li></li><li></li><li></li><li></li>
<li></li><li></li><li></li><li></li>
</ol>
<div class="td">bottom</div>
</div>