overflow-wrap-shaping-001-ref.html (858B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text level 3 Test ref</title> 4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> 5 <style> 6 @font-face { 7 font-family: 'csstest_noto'; 8 src: url('/fonts/noto/NotoNaskhArabic-regular.woff2') format('woff2'); 9 } 10 div { 11 font-family: 'csstest_noto'; 12 font-size: 4em; 13 margin: 1rem; 14 } 15 section { 16 float: left; /* to sizing to the intrinsic min of the ref box*/ 17 } 18 #ref { border: solid orange; } 19 #test { border: solid blue; } 20 </style> 21 22 <p>Test passes if the blue and organge boxes are identical. Pay attention to characters at the left of the first line, and on the second line. 23 <section> 24 <div dir=rtl lang=ar id=ref>ﻋﺎﺋﻠ<br>ﺔ</div> 25 <div dir=rtl lang=ar id=test>ﻋﺎﺋﻠ<br>ﺔ</div> 26 </section>