wpt / css / css-text / text-spacing-trim / text-spacing-trim-fallback-001.html

Status: PASS | Duration: 6ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-text/text-spacing-trim/text-spacing-trim-fallback-001.html

<!DOCTYPE html>
<meta charset="utf-8">
<link rel="help" href="https://drafts.csswg.org/css-text-4/#text-spacing-trim-property">
<link rel="match" href="text-spacing-trim-fallback-001-ref.html">
<script src="support/highlight-chars.js"></script>
<style>
@font-face {
  font-family: halt;
  src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt.otf');
}
@font-face {
  font-family: halt-3002;
  src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt-3002.otf');
}
@font-face {
  font-family: halt-300C;
  src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt-300C.otf');
}
@font-face {
  font-family: halt-FF1A;
  src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt-FF1A.otf');
}
#container {
  font-family: halt;
  font-size: 20px;
}
</style>
<div id="container">
  <div>国。:国</div>
  <div style="font-family: halt-FF1A, halt-3002, halt">国。:国</div>
  <div style="font-family: halt-3002, halt-FF1A, halt">国。:国</div>
  <div style="font-family: halt-3002, halt-300C, halt">国。「国</div>
  <div style="font-family: halt-300C, halt-3002, halt">国。「国</div>
</div>

/css/css-text/text-spacing-trim/text-spacing-trim-fallback-001-ref.html

<!DOCTYPE html>
<meta charset="utf-8">
<script src="support/highlight-chars.js"></script>
<style>
@font-face {
  font-family: halt;
  src: url('/fonts/noto/cjk/NotoSansCJKjp-Regular-subset-halt.otf');
}
#container {
  font-family: halt;
  font-size: 20px;
}
</style>
<div id="container">
  <div>国。:国</div>
  <div>国。:国</div>
  <div>国。:国</div>
  <div>国。「国</div>
  <div>国。「国</div>
</div>