blob: 072fd1e917f1af3567a387b0e3dee4146dab05f1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
<!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;
inline-size: 4em;
text-spacing-trim: space-all;
}
.vrl {
writing-mode: vertical-rl;
}
halt {
font-feature-settings: 'halt' 1, 'vhal' 1;
}
.trim-start {
ps, ls { font-feature-settings: 'halt' 1, 'vhal' 1; }
}
.space-first {
ls { font-feature-settings: 'halt' 1, 'vhal' 1; }
}
</style>
<div id="container">
<div>国)<halt>(国</halt></div>
<div>国国国)<ls>(国</ls></div>
</div>
|