font-kerning-05.html (1121B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 4 <title>CSS Test: font-kerning: none; low-level equivalence test</title> 5 <link rel="author" title="Chris Lilley" href="chris@w3.org"> 6 <link rel="match" href="font-kerning-05-ref.html"> 7 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-kerning-prop"> 8 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-feature-settings-prop"> 9 <meta name="assert" content="(for vertical text runs the vkrn feature is disabled instead)"> 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: 2em; 18 line-height: 1.1; 19 writing-mode: vertical-rl; 20 text-orientation: upright; 21 } 22 .high { 23 font-kerning: none; 24 } 25 .low { 26 font-feature-settings: "kern" off, "vkrn" off; 27 } 28 29 </style> 30 <body> 31 32 <p>Test passes if the three lines of <em>vertical</em> text below are identical, with two crosses (✗). </p> 33 <section class="test"> 34 <p class="high">¿À</p> 35 <p class="low">¿À</p> 36 <p class="ref">BB</p> 37 </section>