font-default-02.html (1106B)
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="help" href="https://www.w3.org/TR/css-fonts-3/#font-variant-prop"> 8 <link rel="match" href="font-default-02-ref.html"> 9 <meta name="assert" content="These features must always be enabled, even when the value of the ‘font-variant’ and ‘font-feature-settings’ properties is ‘normal’. "> 10 <style> 11 @font-face { 12 font-family: fwf; 13 src: url(support/fonts/FontWithFancyFeatures.otf); 14 } 15 .tests { 16 font-family: fwf; 17 font-size: 4em; 18 line-height: 1.1; 19 } 20 .test { 21 font-variant: normal; 22 } 23 </style> 24 25 <body> 26 <!-- test font does not currently test for rlig or locl --> 27 <p>Test passes if the three lines below are identical, with six check marks (✓). </p> 28 <section class="tests"> 29 <p class="default">CDGÂÂÄ</p> 30 <p class="test">CDGÂÂÄ</p> 31 <p class="ref">AAAAAA</p> 32 </section>