Skip to content

Commit 44ab398

Browse files
mstenshochromium-wpt-export-bot
authored andcommitted
Printing test for :root block-start margin taller than page.
This is already working in Blink, but I was about to introduce a crasher, and luckily discovered it in time, even though there was no test coverage for it (but now there is!) Change-Id: I60d43d17d67fd1c1da21c692914dd3b6cbae5709 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6509313 Commit-Queue: Ian Kilpatrick <ikilpatrick@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#1455817}
1 parent d8b209a commit 44ab398

2 files changed

Lines changed: 16 additions & 0 deletions

File tree

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
<!DOCTYPE html>
2+
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
3+
<div style="height:1px;"></div>
4+
<div style="break-before:page; margin-top:8px;"></div>
5+
This text should be on the second page.
6+
The first page should be blank.
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<!DOCTYPE html>
2+
<title>Root block-start margin taller than the page</title>
3+
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
4+
<link rel="help" href="https://drafts.csswg.org/css-break/#break-margins">
5+
<link rel="match" href="root-margin-001-print-ref.html">
6+
<style>
7+
html { margin-top: 10in; }
8+
</style>
9+
This text should be on the second page.
10+
The first page should be blank.

0 commit comments

Comments
 (0)