font-variant-caps-01.html (1090B)
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: normal; 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-01-ref.html"> 9 <meta name="assert" content="None of the features listed below are enabled. "> 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: normal; 22 } 23 .low { 24 font-feature-settings: "smcp" off, "c2sc" off, "pcap" off, "c2pc" off, "unic" off, "titl" off; 25 } 26 </style> 27 <body> 28 <p>Test passes if the three lines below are identical, with six crosses (✗). </p> 29 <section class="test"> 30 <p class="high">JKLMNO</p> 31 <p class="low">JKLMNO</p> 32 <p class="ref">BBBBBB</p> 33 </section>