tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

font-variant-ligatures-computed.html (1532B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <meta charset="utf-8">
      5 <title>CSS Fonts Module Level 3: getComputedStyle().fontVariantLigatures</title>
      6 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-ligatures-prop">
      7 <meta name="assert" content="font-variant-ligatures computed value is as specified.">
      8 <script src="/resources/testharness.js"></script>
      9 <script src="/resources/testharnessreport.js"></script>
     10 <script src="/css/support/computed-testcommon.js"></script>
     11 </head>
     12 <body>
     13 <div id="target"></div>
     14 <script>
     15 test_computed_value('font-variant-ligatures', 'normal');
     16 test_computed_value('font-variant-ligatures', 'none');
     17 
     18 // <common-lig-values>        = [ common-ligatures | no-common-ligatures ]
     19 test_computed_value('font-variant-ligatures', 'common-ligatures');
     20 test_computed_value('font-variant-ligatures', 'no-common-ligatures');
     21 
     22 // <discretionary-lig-values> = [ discretionary-ligatures | no-discretionary-ligatures ]
     23 test_computed_value('font-variant-ligatures', 'discretionary-ligatures');
     24 test_computed_value('font-variant-ligatures', 'no-discretionary-ligatures');
     25 
     26 // <historical-lig-values>    = [ historical-ligatures | no-historical-ligatures ]
     27 test_computed_value('font-variant-ligatures', 'historical-ligatures');
     28 test_computed_value('font-variant-ligatures', 'no-historical-ligatures');
     29 
     30 // <contextual-alt-values>    = [ contextual | no-contextual ]
     31 test_computed_value('font-variant-ligatures', 'contextual');
     32 test_computed_value('font-variant-ligatures', 'no-contextual');
     33 </script>
     34 </body>
     35 </html>