font-variant-east-asian-06.html (1232B)
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-east-asian: simplified; 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-east-asian-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-east-asian-06-ref.html"> 9 <meta name="assert" content="Enables rendering of simplified forms (OpenType feature: smpl)"> 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-east-asian: simplified; 22 } 23 .low { 24 font-feature-settings: "jp78" off, "jp83" off, "jp90" off, "jp04" off, "smpl" on, "trad" off, "fwid" off, "pwid" off, "ruby" off ; 25 } 26 </style> 27 <body> 28 <p>Test passes if the three lines below are identical, with four crosses (✗), one check mark (✓), then four crosses (✗). </p> 29 <section class="test"> 30 <p class="high">YZabcdefg</p> 31 <p class="low">YZabcdefg</p> 32 <p class="ref">BBBBABBBB</p> 33 </section>