font-default-01.html (1101B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 4 <title>CSS Test: font default features</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/#default-features"> 7 <link rel="match" href="font-default-01-ref.html"> 8 <meta name="assert" content="Required ligatures, common ligatures and contextual forms must be enabled by default (OpenType features: rlig, liga, clig, calt), along with localized forms (OpenType feature: locl), and features required for proper display of composed characters and marks (OpenType features: ccmp, mark, mkmk)."> 9 <style> 10 @font-face { 11 font-family: fwf; 12 src: url(support/fonts/FontWithFancyFeatures.otf); 13 } 14 .tests { 15 font-family: fwf; 16 font-size: 4em; 17 line-height: 1.1; 18 } 19 </style> 20 21 <body> 22 <!-- test font does not currently test for rlig or locl --> 23 <p>Test passes if the two lines below are identical, with six check marks (✓). </p> 24 <section class="tests"> 25 <p class="test">CDGÂÂÄ</p> 26 <p class="ref">AAAAAA</p> 27 </section>