font-face-unicode-range.html (862B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Test: font-face unicode-range</title> 4 <link rel="author" title="Intel" href="http://www.intel.com"> 5 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#unicode-range-desc"> 6 <meta name="assert" content="Check if the font-face unicode-range value impacts the content style"> 7 <style> 8 @font-face { 9 font-family: IMPACT; 10 src: url(support/fonts/LigatureSymbolsWithSpaces.woff); 11 unicode-range: U+0041-0044; 12 } 13 @font-face { 14 font-family: NOIMPACT; 15 src: url(support/fonts/LigatureSymbolsWithSpaces.woff); 16 unicode-range: U+0061-0064; 17 } 18 .impact { 19 font-family: IMPACT; 20 } 21 .noimpact { 22 font-family: NOIMPACT; 23 } 24 </style> 25 <body> 26 <p>Test passes if the letters size of two lines are different</p> 27 <div class="impact">ABCDEFG</div> 28 <div class="noimpact">ABCDEFG</div> 29 </body>