Skip to content

Commit

Permalink
[text-box-trim] Test block-end accumulations
Browse files Browse the repository at this point in the history
This patch updates a test for when the element to trim has
different `text-box-edge` value from the `text-box-edge` value
of the element that has `text-box-trim`, the same condition as
crrev.com/c/5547563, but for block-end side.

Bug: 40254880
Change-Id: Ibaaadee9ef41319c78921b116ca2daae340c3492
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5553822
Auto-Submit: Koji Ishii <kojii@chromium.org>
Commit-Queue: Kent Tamura <tkent@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1304304}
  • Loading branch information
kojiishi authored and chromium-wpt-export-bot committed May 22, 2024
1 parent 18419b3 commit 16e779d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
line-height: 1;
position: relative;
top: -80px;
height: 220px;
height: 100px;
}
</style>
<div class="spacer"></div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
font-family: Ahem;
font-size: 100px;
line-height: 2;
text-box-trim: start;
text-box-trim: both;
text-box-edge: text;
}
</style>
Expand Down

0 comments on commit 16e779d

Please sign in to comment.