font-kerning-01.html (682B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/> 4 <title>CSS Test: font-kerning basic syntax support</title> 5 <link rel="author" title="Chris Lilley" href="chris@w3.org"> 6 <link rel="match" href="font-kerning-01-ref.html"> 7 <link rel="help" href="https://www.w3.org/TR/css-fonts-3/#font-kerning-prop"> 8 <meta name="assert" content=""> 9 <style> 10 .test { 11 margin: 20px; 12 width: 100px; 13 height: 100px; 14 background-color: red 15 } 16 @supports (font-kerning: auto) { 17 section.test { background-color: green; } 18 } 19 </style> 20 <body> 21 22 <p>Test passes if there is a green square, and no red. </p> 23 <section class="test"> 24 25 </section>