eol-spaces-bidi-004-ref.html (608B)
1 <!doctype html> 2 <meta charset="utf-8"> 3 <title>CSS Text 3 test reference</title> 4 <link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com"> 5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 7 <style> 8 div#test { 9 text-align: right; 10 11 font: 20px/1 Ahem; 12 background: linear-gradient(green, green) 1ch 0 / cover no-repeat; 13 14 width: 5ch; 15 white-space: pre; 16 17 color: blue; 18 } 19 </style> 20 <p>Test passes if a blue box (the white space) is visible at the left start in first line and <strong>no red</strong> is shown.</p> 21 <div id="test">X <br> </div>