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-end-001.html?class=chws,htb - WPT Dashboard Interop Dashboard
- /css/css-text/text-spacing-trim/text-spacing-trim-end-001.html?class=chws,vrl - WPT Dashboard Interop Dashboard
- /css/css-text/text-spacing-trim/text-spacing-trim-end-001.html?class=halt,htb - WPT Dashboard Interop Dashboard
- /css/css-text/text-spacing-trim/text-spacing-trim-end-001.html?class=halt,vrl - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<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>