font-variant-caps-06.html (1224B)
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-caps: unicase; 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-caps-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-caps-06-ref.html"> 9 <meta name="assert" content="Enables display of mixture of small capitals for uppercase letters with normal lowercase letters (OpenType feature: unic)"> 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-caps: unicase; 22 } 23 .low { 24 font-feature-settings: "smcp" off, "c2sc" off, "pcap" off, "c2pc" off, "unic" on, "titl" off; 25 } 26 .ref { 27 28 } 29 </style> 30 <body> 31 <p>Test passes if the three lines below are identical, with four crosses (✗), one check mark (✓) and one more cross (✗). </p> 32 <section class="test"> 33 <p class="high">JKLMNO</p> 34 <p class="low">JKLMNO</p> 35 <p class="ref">BBBBAB</p> 36 </section>