forked from mirrors/gecko-dev
Automatic update from web-platform-tests [text-box-trim] Fix end for block-in-inline This patch fixes trimming the end for block-in-inline. All changes are under a runtime flag enabled only for testing. Bug: 40254880 Change-Id: Id711aa3f28b458a9594ba659b308a03cb381de1d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5588017 Commit-Queue: Lingqi Chi <lingqi@chromium.org> Reviewed-by: Lingqi Chi <lingqi@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Auto-Submit: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1309228} -- wpt-commits: 30374552aeb865ab70f691844aedd6534657f37c wpt-pr: 46585
34 lines
754 B
HTML
34 lines
754 B
HTML
<!DOCTYPE html>
|
|
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#propdef-text-box-edge">
|
|
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#propdef-text-box-trim">
|
|
<link rel="match" href="text-box-trim-block-in-inline-end-001-ref.html">
|
|
<link rel="stylesheet" type="text/css" href="/fonts/ahem.css" />
|
|
<style>
|
|
.spacer {
|
|
background: lightgray;
|
|
block-size: 50px;
|
|
}
|
|
.target {
|
|
font-family: Ahem;
|
|
font-size: 50px;
|
|
line-height: 2;
|
|
text-box-trim: end;
|
|
text-box-edge: text;
|
|
}
|
|
</style>
|
|
<div class="spacer"></div>
|
|
<div class="target">
|
|
<div>
|
|
<span>
|
|
<div>A</div>
|
|
</span>
|
|
<span>
|
|
<div>B</div>
|
|
</span>
|
|
<span>
|
|
<div>C</div>
|
|
</span>
|
|
</div>
|
|
<div></div>
|
|
</div>
|
|
<div class="spacer"></div>
|