Files
sousa-gecko/testing/web-platform/tests/css/css-ui
Kent Tamura b54daeece1 Bug 2053809 [wpt PR 61183] - Propagate block-end annotation space from previous sibling block, a=testonly
Automatic update from web-platform-tests
Propagate block-end annotation space from previous sibling block

When laying out a block container, if it has no block-end border and not
a new formatting context, propagate its last line's block-end annotation
space to its layout result.

During layout of subsequent sibling blocks, this space is retrieved from
the constraint space and added to the initial block-start annotation
space to allow ruby annotations to overlap.

This CL extends ConstraintSpace to carry the previous sibling's
block-end annotation space, and propagates them in BlockLayoutAlgorithm.
This CL also moves block_start_annotation_space from RareData to
BlockData.

WPT:
Update some tests to avoid shorter block-gap, by adding
`overflow: hidden`, which creates a new formatting context.

DesignDoc: https://docs.google.com/document/d/1h1jTJLXHcdMdFUIgMRxkFEJQ3wQ86Ru38sMA9r51pEw/edit?usp=sharing

Bug: 445727139
Change-Id: I52dd0c401883668225ceadf310146261e6c6267d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/8000812
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Koji Ishii <kojii@chromium.org>
Auto-Submit: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1659340}

--

wpt-commits: e62266ca7e915a23ab921231f878d6ef9d5e5453
wpt-pr: 61183
2026-07-12 11:58:38 +00:00
..
…
…

To update the generated tests, run wpt update-built --include css-ui