system-ui-ur.html (703B)
1 <!doctype html> 2 <html lang="ur"> 3 <meta charset="utf-8"> 4 <title>Tests that system-ui font-family works for Urdu</title> 5 <link rel="help" href="https://drafts.csswg.org/css-fonts/#system-ui-def"> 6 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> 7 <link rel="mismatch" href="system-ui-ur-notref.html"> 8 <link rel="stylesheet" href="/fonts/ahem.css"> 9 <style> 10 @font-face { 11 font-family: noto-naskh; 12 src: url(/fonts/noto/NotoNaskhArabic-regular.woff2), 13 url(/fonts/noto/NotoNaskhArabic-regular.ttf); 14 size-adjust: 50%; /* cause mismatch even if system-ui maps to Noto Naskh */ 15 } 16 p { 17 font-family: Ahem, system-ui, noto-naskh, serif; 18 font-size: 4em; 19 } 20 </style> 21 <p>سلام</p>