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-001.html?class=chws,htb - WPT Dashboard Interop Dashboard
- /css/css-text/text-spacing-trim/text-spacing-trim-001.html?class=chws,vrl - WPT Dashboard Interop Dashboard
- /css/css-text/text-spacing-trim/text-spacing-trim-001.html?class=halt,htb - WPT Dashboard Interop Dashboard
- /css/css-text/text-spacing-trim/text-spacing-trim-001.html?class=halt,vrl - WPT Dashboard Interop Dashboard
<!DOCTYPE html>
<meta charset="utf-8">
<link rel="match" href="text-spacing-trim-001-ref.html">
<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">
<script src="support/variant-class.js"></script>
<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;
}
.chws #container {
font-family: chws-font;
}
.vrl {
writing-mode: vertical-rl;
}
</style>
<div id="container">
<!-- Open + Open/Close/Middle -->
<div>国((国</div>
<div>国(((国</div>
<div>国()国</div>
<div>国(・国</div>
<div>国( 国</div>
<!-- Close + Open/Close/Middle -->
<div>国)(国</div>
<div>国))国</div>
<div>国)))国</div>
<div>国)・国</div>
<div>国) 国</div>
<!-- Middle + Open/Middle/Close -->
<div>国・(国</div>
<div>国・・国</div>
<div>国・)国</div>
<div>国 (国</div>
<div>国 国</div>
<div>国 )国</div>
</div>