Files
sousa-gecko/testing/web-platform/tests/css/css-ui/reference/text-overflow-string-004-ref.html
T
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

26 lines
574 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Basic User Interface Reference File</title>
<link rel="author" title="Minseong Kim" href="mailto:jja08111@gmail.com">
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
<style>
body, p {
margin: 0;
}
div {
font-size: 10px;
overflow: hidden;
}
span {
font-family: Ahem;
font-size: 30px;
text-emphasis: dot;
}
</style>
<body>
<p>Test passes if text-emphasis is only on a black rectangle, not on the <strong>123</strong></p>
<div>
<span>Test</span>123
</div>
</body>