letter-spacing-bidi-001.html (768B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text level 3 Test: letter spacing after bidi</title> 4 <link rel="author" title="Florian Rivoal" href="http://florian.rivoal.net/"> 5 <link rel="help" href="https://drafts.csswg.org/css-text-3/#letter-spacing-property"> 6 <link rel="match" href="reference/letter-spacing-bidi-001-ref.html"> 7 <meta name="assert" content="Letter spacing is inserted after RTL reordering, so letter spacing cannot apply to any of the letters in the span below, 8 since they get split appart."> 9 <style> 10 div { 11 font-family: monospace; 12 font-size: 3em; 13 } 14 span { 15 letter-spacing: 1ch; 16 } 17 </style> 18 19 <p>Test passes if the rightmost character of the line that starts with “a” is under the number 4. 20 <div>12345</div> 21 <div>a<span>bא</span>ב</div>