forked from mirrors/gecko-dev
Automatic update from web-platform-tests [text-box-trim] Add tests for block-in-inline This patch adds tests for `text-box-trim: start` applying to blocks in inline container. This patch has no behavior changes. Bug: 40254880 Change-Id: I7d9c1e3f60856b5b9002c608d4b0599f10cd765d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5587757 Reviewed-by: Lingqi Chi <lingqi@chromium.org> Auto-Submit: Koji Ishii <kojii@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Kent Tamura <tkent@chromium.org> Commit-Queue: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1308528} -- wpt-commits: fe5bef8bac69c12f725912dff079c8c5ca301a9a wpt-pr: 46563
27 lines
424 B
HTML
27 lines
424 B
HTML
<!DOCTYPE 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;
|
|
position: relative;
|
|
top: -25px;
|
|
height: 275px;
|
|
}
|
|
</style>
|
|
<div class="spacer"></div>
|
|
<div class="target">
|
|
<span>
|
|
<div>
|
|
A<br>
|
|
A
|
|
</div>
|
|
</span>
|
|
A
|
|
</div>
|
|
<div class="spacer"></div>
|