mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 12:51:06 +00:00
c80a73e2f0
2a and 2b are copied from 1a and 1b with "box-decoration-break: clone" added. 3a and 3b are copied from 1a and 1b. They test that the content fit but the table cell's bottom border and padding cannot fit. As of this bug, their rendering matches the block frame's, but 3a can now trigger a "data loss" warning and 3b an assertion in nsTableRowGroupFrame::SplitRowGroup. That might need a deeper look into table's pagination to have a proper fix. Differential Revision: https://phabricator.services.mozilla.com/D72051
36 lines
781 B
HTML
36 lines
781 B
HTML
<!DOCTYPE html>
|
|
<html class="reftest-paged">
|
|
<meta charset="utf-8">
|
|
<title>CSS Fragmentation Test: breaking of a fixed block-size table-cell box-decoration-break:clone</title>
|
|
<link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
|
|
<link rel="author" title="Mozilla" href="https://www.mozilla.org/">
|
|
|
|
<style>
|
|
@page { size:5in 3in; margin:0.5in; }
|
|
|
|
html, body {
|
|
font-size: 12pt; margin: 0;
|
|
}
|
|
|
|
table {
|
|
border-spacing: 0;
|
|
}
|
|
|
|
td {
|
|
width: 1in;
|
|
background: green;
|
|
padding: 0.25in;
|
|
border: 0.25in solid gray;
|
|
box-decoration-break: clone;
|
|
}
|
|
</style>
|
|
|
|
<table>
|
|
<tbody>
|
|
<tr>
|
|
<td style="height: 2in;"><div style="height: 100%; background: yellow;"></div></td>
|
|
</tr>
|
|
</tbody>
|
|
</table>
|
|
</html>
|