Source code
Revision control
Copy as Markdown
Other Tools
Test Info:
- This WPT test may be referenced by the following Test IDs:
- /css/css-text/text-spacing-trim/text-spacing-trim-start-002.html - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="match" href="text-spacing-trim-start-002-ref.html">
<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;
inline-size: 3.6em;
text-spacing-trim: trim-start;
}
</style>
<div id="container">
<!--
The available width is set to fit 3.5 full-width characters, but not 4.
4 characters can fit only if the first open parenthesis is set half-width.
-->
<div>(国国国(国国国<br>(国国国</div>
</div>