wpt / css / css-fonts / font-feature-settings-tibetan.html

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

/css/css-fonts/font-feature-settings-tibetan.html

<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CSS Test: font-feature-settings Liga and Tibetan shaping</title>
<link rel="author" title="Dominik Röttsches" href="drott@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop">
<link rel="match" href="font-feature-settings-tibetan-ref.html">
<meta name="assert" content="Test that Tibetan shaping works with ligatures disabled.">
<style>
  .letter-spacing {
    letter-spacing: .2px;
  }

  .liga-off {
    font-feature-settings: "liga" off;
  }
</style>
<body>
<p>Test passes if the three lines below are identical.</p>
<section class="test" lang="bo">
  <p>རྒྱུ</p>
  <p class="letter-spacing">རྒྱུ</p>
  <p class="liga-off">རྒྱུ</p>
</section>

/css/css-fonts/font-feature-settings-tibetan-ref.html

<!DOCTYPE html>
<html lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title>CSS Test: font-feature-settings Liga and Tibetan shaping</title>
<body>
<p>Test passes if the three lines below are identical.</p>
<section class="test" lang="bo">
  <p>རྒྱུ</p>
  <p>རྒྱུ</p>
  <p>རྒྱུ</p>
</section>