font-synthesis-01-ref.html (607B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 4 <title>CSS Test: font-synthesis: none disables fake bold</title> 5 <link rel="author" title="Chris Lilley" href="chris@w3.org"> 6 <style> 7 @font-face { 8 font-family: "test"; 9 src: url(/fonts/Lato-Medium.ttf); 10 } 11 .test { 12 font-family: "test"; 13 font-size: 3em; 14 } 15 </style> 16 17 <p>Test passes if the two lines below are identical (the second line is <em>not bold</em>), and there is no red.</p> 18 <section class="test"> 19 <p>Filler text</p> 20 <p class="nosynth">Filler text</p> 21 </section>