Bug
1738429 [wpt PR 31436] - Include block-start ruby annotations when block-fragmenting., a=testonly
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 <tkent@chromium.org>
Commit-Queue: Morten Stenshorne <mstensho@chromium.org>
Cr-Commit-Position: refs/heads/main@{#937228}
--
wpt-commits:
c10c757d4f95ed663dd6d8a58d1f33b0e4ee3a98
wpt-pr: 31436