Files
tubestation/layout/reftests/pagination/rowgroup-page-break-after-always-1-ref.html
Ting-Yu Lin d0d7d7b42e Bug 1863421 Part 1 - Stop reserving row-spacing at the block-start edge in table continuations. r=dholbert
The testcases in our own reftest frameworks are modified to reflect the current
rendering. The main difference after this patch is that we don't apply row
border-spacing at the block-start edge in the table continuations. As a result,
we add `top: -2px` to reference pages such as
`rowgroup-page-break-after-always-1-ref.html` and
`rowgroup-page-break-after-always-2-ref.html` to counteract the default UA table
style `border-spacing: 2px;` [1].

[1] https://searchfox.org/mozilla-central/rev/6b0b8c1003504e302e243c300355ef4d61e24909/layout/style/res/html.css#257

Differential Revision: https://phabricator.services.mozilla.com/D195333
2024-03-06 16:01:58 +00:00

19 lines
423 B
HTML

<!DOCTYPE html>
<html class="reftest-paged">
<style>
div.spacer { height: 50px; width: 50px; border: thin solid green;}
</style>
<table>
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
<div style="page-break-after: always"></div>
<table style="position: relative; top: -2px">
<tbody>
<tr><td><div class="spacer"></div></td></tr>
</tbody>
</table>
</html>