font-synthesis-weight-webfont-bold.html (763B)
1 <!DOCTYPE html> 2 <html lang = "en"> 3 <meta charset="utf-8"> 4 <title>CSS Test: font synthesis weight: bold web font should not be "double emboldened"</title> 5 <link rel="match" href="font-synthesis-weight-webfont-bold-ref.html"> 6 <link rel="help" href="https://www.w3.org/TR/css-fonts-4/#font-synthesis-weight"> 7 <meta name="assert" content=" If font face is already bold, user agents must not synthesize bold face again"> 8 <style> 9 @font-face { 10 font-family: "lato"; 11 src: url(/fonts/Lato-Bold.ttf) 12 } 13 .test { 14 font-family: "lato"; 15 font-size: 3em; 16 } 17 .synth { 18 font-weight: bold; 19 } 20 </style> 21 22 <p class="test synth">Filler text</p> 23 </html>