Source code

Revision control

Copy as Markdown

Other Tools

Test Info:

<!DOCTYPE html>
<meta charset="utf-8">
<link rel="match" href="text-spacing-trim-start-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">
<meta name="variant" content="?class=space-first,halt,htb">
<meta name="variant" content="?class=space-first,chws,htb">
<meta name="variant" content="?class=space-first,halt,vrl">
<meta name="variant" content="?class=space-first,chws,vrl">
<meta name="variant" content="?class=trim-start,halt,htb">
<meta name="variant" content="?class=trim-start,chws,htb">
<meta name="variant" content="?class=trim-start,halt,vrl">
<meta name="variant" content="?class=trim-start,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;
inline-size: 4em;
}
.chws #container {
font-family: chws-font;
}
.vrl {
writing-mode: vertical-rl;
}
.trim-start {
text-spacing-trim: trim-start;
}
.space-first {
text-spacing-trim: space-first;
}
</style>
<div id="container">
<div>(国国国(国国国(国</div>
<div>国国国)(国国)(国</div>
<div>国国国国(</div>
<div lang="zh-hans">国国国国“</div>
<div>(国国国<br>(国国国<br>(国</div>
<div>国国国国<br>(</div>
<div lang="zh-hans">国国国国<br>“</div>
</div>