font-variant-03-ref.html (790B)
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: normal; low level equivalence</title> 5 <link rel="author" title="Chris Lilley" href="chris@w3.org"> 6 <style> 7 @font-face { 8 font-family: fwf; 9 src: url(support/fonts/FontWithFancyFeatures.otf); 10 } 11 .test { 12 font-family: fwf; 13 font-size: 2.4em; 14 line-height: 1.1; 15 color: purple; 16 } 17 .child { 18 color: green; 19 } 20 </style> 21 22 <body> 23 <p>Test passes if the two lines below are identical, with (in purple) eight check marks (✓), 24 and then (in green) eight check marks (✓). </p> 25 <section class="test"> 26 <p class="ref">AAAAAAAA<span class="child">AAAAAAAA</span></p> 27 <p class="ref">AAAAAAAA<span class="child">AAAAAAAA</span></p> 28 </section>