shaping-arabic-diacritics-002-ref.html (857B)
1 <!DOCTYPE html> 2 <html lang="en"> 3 <head> 4 <meta charset="utf-8"> 5 <title>shaping: Arabic diacritics on NBSP - reference</title> 6 <link rel="author" title="Jonathan Kew" href="mailto:jkew@mozilla.com"> 7 <style type="text/css"> 8 @font-face { 9 font-family: ArabicTest; 10 src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2'); 11 } 12 .test { 13 font: 120px/2 ArabicTest, sans-serif; 14 } 15 .test span { 16 padding: .1em .05em 0; 17 background: black; 18 } 19 </style> 20 </head> 21 <body> 22 <p class="instructions">Test passes if the Arabic diacritics are entirely hidden by the black boxes.</p> 23 <!-- Diacritics removed from the test lines, as they should have been completely obscured 24 by the black background anyhow. --> 25 <div class=test>a<span dir=rtl> </span>z</div> 26 <div class=test>a<span dir=rtl> </span>z</div> 27 </body> 28 </html>