wpt / css / css-text / text-spacing-trim / text-spacing-trim-end-001.html?class=chws,htb

Open test on wpt.live | Open ref on wpt.live | wpt.fyi

Runs: Chrome 156.0.8066.0 (wpt@269bca0dd, 2026-09-20) | Firefox 158.0a1 (wpt@bc93a431d, 2026-09-20) | Safari 252 preview (wpt@269bca0dd, 2026-09-20) | Ladybird 1.0-443fa (wpt@269bca0dd, 2026-09-20) | Servo Servo 0.6 (wpt@bc93a431d, 2026-09-20) | Blitz ab0e30b1f (wpt@d552535bc, 2026-09-25)

ChromeFirefoxSafariLadybirdServoBlitz
Total1/10/10/10/10/1NOT RUN

/css/css-text/text-spacing-trim/text-spacing-trim-end-001.html

<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-spacing-trim-property">
<link rel="match" href="text-spacing-trim-end-001-ref.html">
<script src="support/variant-class.js"></script>
<meta name="variant" content="?class=halt,htb">
<meta name="variant" content="?class=chws,htb">
<meta name="variant" content="?class=halt,vrl">
<meta name="variant" content="?class=chws,vrl">
<style>
@font-face {
  font-family: halt-font;
  src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt.otf');
}
@font-face {
  font-family: chws-font;
  src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-chws.otf');
}
#container {
  font-family: halt-font;
  font-size: 20px;
  inline-size: 3.6em;
  text-spacing-trim: trim-start;
}
.chws #container {
  font-family: chws-font;
}
.vrl {
  writing-mode: vertical-rl;
}
</style>
<div id="container">
  <div>国国国)国国国)</div>
</div>

/css/css-text/text-spacing-trim/text-spacing-trim-end-001-ref.html

<!DOCTYPE html>
<meta charset="utf-8">
<script src="support/variant-class.js"></script>
<style>
@font-face {
  font-family: halt-font;
  src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt.otf');
}
#container {
  font-family: halt-font;
  font-size: 20px;
}
.vrl {
  writing-mode: vertical-rl;
}
</style>
<div id="container">
  <div>国国国)<br>国国国)</div>
</div>