Files
sousa-gecko/testing/web-platform/tests/css/css-text/text-fit/text-box-ref.html
T
Kent Tamura 9b98e17e9b Bug 2036308 [wpt PR 59571] - css-text: Upstream text-fit tests to WPT, a=testonly
Automatic update from web-platform-tests
css-text: Upstream text-fit tests to WPT

Moves Chromium-internal tests to css/css-text/parsing/ and
css/css-text/text-fit/ directories, with replacing the explainer URL
with the specification URL.

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

--

wpt-commits: 40297804c9452253424f9b690e492a399542eb23
wpt-pr: 59571
2026-05-08 08:37:46 +00:00

26 lines
403 B
HTML

<!DOCTYPE html>
<meta name="flags" content="ahem">
<link rel="stylesheet" href="/fonts/ahem.css">
<style>
.target {
width: 120px;
border: 2px solid blue;
margin-bottom: 10px;
font: 20px/2 Ahem;
white-space: pre;
text-box: trim-both cap text;
}
</style>
<div class="target" style="font-size:40px;"
>a b
bc
def
</div>
<div class="target" style="font-size:10px"
>abc abc abcd
bc m
def
</div>