Automatic update from web-platform-tests Don't let floats/OOFs affect orphans / widows calculation. Empty lines are sometimes created to hold floats (in an inline formatting context). Ignore those for orphans / widows calculation. Bug: 40882665, 40752965 Change-Id: Ica748babcf74e503732160b3bb3332f06ae43174 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7527090 Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Cr-Commit-Position: refs/heads/main@{#1576064} -- wpt-commits: ff59c9f46c7274095cef11e8ecd2b29d946bdb52 wpt-pr: 57381
18 lines
752 B
HTML
18 lines
752 B
HTML
<!DOCTYPE html>
|
|
<title>Abspos after widows</title>
|
|
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
|
<link rel="help" href="https://drafts.csswg.org/css-break/#widows-orphans">
|
|
<link rel="help" href="https://issues.chromium.org/issues/40752965">
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
|
<p>Test passes if there is a filled green square.</p>
|
|
<div style="columns:2; column-fill:auto; line-height:25px; width:100px; height:100px; gap:0; orphans:1; widows:3; background:red;">
|
|
<div style="background:green;">
|
|
<div style="height:50px;"></div>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<br>
|
|
<div style="position:absolute; width:50px; height:25px; background:green;"></div>
|
|
</div>
|
|
</div>
|