Bug 1849381 [wpt PR 41534] - Don't resume on top of repeated header on top of monolit...
commit318f272738a429e306a5f8b36cf29bef52503204
authorMorten Stenshorne <mstensho@chromium.org>
Fri, 8 Sep 2023 18:56:49 +0000 (8 18:56 +0000)
committermoz-wptsync-bot <wptsync@mozilla.com>
Wed, 13 Sep 2023 11:36:40 +0000 (13 11:36 +0000)
tree21a2311637e4bfd66e2f5b81ef2d2bca51106b64
parent3c4a0e5d9303268db72ca0dcd3d099d22a8e958a
Bug 1849381 [wpt PR 41534] - Don't resume on top of repeated header on top of monolithic overflow., a=testonly

Automatic update from web-platform-tests
Don't resume on top of repeated header on top of monolithic overflow.

A repeated table header may have to overlap with monolithic overflow
from the previous page, but actual table content should still resume
*after* the repeated header.

We had code that made sure that we'd resume below monolithic content,
since we temporarily adjust the offset to place the repeated header.
However, if the repeated header is taller than the monolithic overflow,
we're already at the correct offset. Never move the offset back, because
then regular table content might be placed on top of the repeated
header.

Bug: 1458850
Change-Id: Ia01e6ae4ac4498737c67b0ba34b5890b0fc36803
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4793950
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1185295}

--

wpt-commits: 2887e32dd07b00e89918e5b99eb7d9386267ec47
wpt-pr: 41534
testing/web-platform/tests/css/printing/monolithic-overflow-023-print-ref.html [new file with mode: 0644]
testing/web-platform/tests/css/printing/monolithic-overflow-023-print.html [new file with mode: 0644]