system-ui-zh.html (741B)
1 <!doctype html> 2 <html lang="zh"> 3 <title>Tests that system-ui font-family works for Chinese</title> 4 <link rel="help" href="https://drafts.csswg.org/css-fonts/#system-ui-def"> 5 <link rel="help" href="https://www.unicode.org/faq/han_cjk.html#3"> 6 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> 7 <link rel="mismatch" href="system-ui-zh-notref.html"> 8 <link rel="stylesheet" href="/fonts/ahem.css"> 9 <style> 10 @font-face { 11 font-family: mplus; 12 src: url(/fonts/mplus-1p-regular.woff); 13 size-adjust: 50%; /* cause mismatch even if system-ui maps to M+ */ 14 } 15 p { 16 font-family: Ahem, system-ui, mplus, serif; 17 font-size: 4em; 18 } 19 </style> 20 <p>直</p> <!-- U+76F4 has distinct Japanese vs Chinese shapes, see Unicode FAQ -->