summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-text/text-spacing-trim/text-spacing-trim-001-ref.html
blob: d49abab38080591acb8ca3734382a03df3ce9fdf (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
32
33
34
35
36
37
38
39
40
41
<!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;
  text-spacing-trim: space-all;
}
.vrl {
  writing-mode: vertical-rl;
}
halt {
  font-feature-settings: 'halt' 1, 'vhal' 1;
}
</style>
<div id="container">
  <!-- Open + Open/Close/Middle -->
  <div>国(<halt></halt></div>
  <div>国(<halt>((</halt></div>
  <div>国()国</div>
  <div>国(・国</div>
  <div>国( 国</div>
  <!-- Close + Open/Close/Middle -->
  <div>国)<halt></halt></div>
  <div><halt></halt>)国</div>
  <div><halt>))</halt>)国</div>
  <div><halt></halt>・国</div>
  <div><halt></halt> 国</div>
  <!-- Middle + Open/Middle/Close -->
  <div>国・<halt></halt></div>
  <div>国・・国</div>
  <div>国・)国</div>
  <div>国 <halt></halt></div>
  <div>国  国</div>
  <div>国 )国</div>
</div>