mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-13 20:14:57 -10:00
Automatic update from web-platform-tests Include block-start ruby annotations when block-fragmenting. The block-offset of a line box with ruby annotations may have been increased to make room for the annotations above. Take this into account when determining whether to break before a line. If the line (including ruby annotations) is at the block-start of the fragmentainer, we cannot break before it, as that would prevent content progress, and we'd get stuck in an infinite loop, retrying to place the line in subsequent fragmentainers, when the fragmentainers aren't tall enough. This fixes external/wpt/css/css-ruby/block-ruby-001.html when LayoutNGBlockFragmentation is enabled. Used to freeze. Bug: 1253341 Change-Id: I14a5eee3f3b4da6a9bcd5efc664344354755ed55 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3250830 Reviewed-by: Kent Tamura <[email protected]> Commit-Queue: Morten Stenshorne <[email protected]> Cr-Commit-Position: refs/heads/main@{#937228} -- wpt-commits: c10c757d4f95ed663dd6d8a58d1f33b0e4ee3a98 wpt-pr: 31436
22 lines
619 B
HTML
22 lines
619 B
HTML
<!DOCTYPE html>
|
|
<link rel="author" title="Morten Stenshorne" href="mailto:[email protected]">
|
|
<link rel="help" href="https://bugs.chromium.org/p/chromium/issues/detail?id=1253341">
|
|
<link rel="match" href="../reference/ref-filled-green-100px-square-only.html">
|
|
<style>
|
|
.ib {
|
|
display: inline-block;
|
|
width: 100px;
|
|
height: 50px;
|
|
background: green;
|
|
}
|
|
</style>
|
|
<p>Test passes if there is a filled green square.</p>
|
|
<div style="columns:1; width:100px; column-fill:auto; height:60px; background:red;">
|
|
<ruby>
|
|
<div class="ib"></div>
|
|
<rt>
|
|
<div class="ib"></div>
|
|
</rt>
|
|
</ruby>
|
|
</div>
|