font-variant-ligatures-10.html (1062B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 4 <title>CSS Test: font-variant-ligatures: no-contextual; low level equivalence</title> 5 <link rel="author" title="Chris Lilley" href="chris@w3.org"> 6 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-ligatures-prop"> 7 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop"> 8 <link rel="match" href="font-variant-ligatures-10-ref.html"> 9 <meta name="assert" content="Disables display of contextual alternates (OpenType feature: calt)"> 10 <style> 11 @font-face { 12 font-family: fwf; 13 src: url(support/fonts/FontWithFancyFeatures.otf); 14 } 15 .test { 16 font-family: fwf; 17 font-size: 3em; 18 line-height: 1.1; 19 } 20 .high { 21 font-variant-ligatures: no-contextual; 22 } 23 .low { 24 font-feature-settings: "calt" off; 25 } 26 </style> 27 <body> 28 <p>Test passes if the three lines below are identical, with one cross (✗).</p> 29 <section class="test"> 30 <p class="high">G</p> 31 <p class="low">G</p> 32 <p class="ref">B</p> 33 </section>