letter-spacing-cursive-001.html (977B)
1 <!DOCTYPE html> 2 <head> 3 <meta charset="utf-8"> 4 <title> 5 CSS Text Test - Letter-spacing should not be applied for Cursive Scripts. 6 </title> 7 <link rel="author" title="Sejal Anand" href="mailto:sejalanand@microsoft.com"> 8 <link rel="help" href="https://www.w3.org/TR/css-text-3/#cursive-tracking"> 9 <link rel="match" href="reference/letter-spacing-cursive-001-ref.html"> 10 <meta name="assert" content="Letter-spacing must not be applied to Arabic text, 11 preserving cursive connections."> 12 <style> 13 div { 14 margin: 1em; 15 font: 24px serif; 16 white-space: nowrap; 17 display: inline-block; 18 outline: 1px solid gray; 19 } 20 .letterspacing { 21 letter-spacing: 10px; /* Should NOT affect Arabic text */ 22 } 23 </style> 24 </head> 25 <body> 26 <p> 27 The following test will pass if no spacing appears between letters within 28 Arabic words. Both Arabic texts should display identically. 29 </p> 30 <div class="letterspacing"> 31 <span>مرحباً</span> 32 </div> 33 <br> 34 <div> 35 <span>مرحباً</span> 36 </div> 37 <br> 38 </body> 39 </html>