forked from mirrors/gecko-dev
Automatic update from web-platform-tests Don't fragment clipped overflow. When a node clips block-axis overflow, do not insert any further breaks when reaching the block-end of the node. We don't want it to cause generation of superfluous fragmentainers whose only purpose is to hold a zero-size clipped fragment. This introduces another reason for aborting and re-running layout, somewhat similar to the early-break mechanism that we already have (which is involved when we run out of fragmentainer space at a less than ideal location). Bug: 1066616, 829028 Change-Id: Ic2f1082319513a7f24cbe114eb93ebdb75c97bfc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2843465 Reviewed-by: Alison Maher <almaher@microsoft.com> Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Morten Stenshorne <mstensho@chromium.org> Cr-Commit-Position: refs/heads/master@{#875622} -- wpt-commits: 8cdc55ec5c6581f580601bb2b2828f08a589a6ee wpt-pr: 28620
14 lines
807 B
HTML
14 lines
807 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="Morten Stenshorne" href="mailto:mstensho@chromium.org">
|
|
<link rel="help" href="https://www.w3.org/TR/css-break-3/#fragmentation-model">
|
|
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#overflow-properties">
|
|
<meta name="assert" content="Clipping only in the inline direction shouldn't affect fragmentation">
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square.xht">
|
|
<p>Test passes if there is a filled green square and <strong>no red</strong>.</p>
|
|
<div style="columns:4; width:100px; column-gap:0; column-fill:auto; height:100px; background:red;">
|
|
<div style="overflow-x:clip; height:200px;">
|
|
<div style="width:100px; background:red;">
|
|
<div style="width:25px; height:400px; background:green;"></div>
|
|
</div>
|
|
</div>
|
|
</div>
|