eol-spaces-bidi-003-ref.html (657B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text 3 test reference</title> 4 <link rel="author" title="Jose Dapena Paz" href="mailto:jdapena@igalia.com"> 5 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 6 7 <style> 8 div { 9 direction: rtl; 10 11 font: 20px/1 Ahem; 12 margin-left: 20px; 13 background: green; 14 15 width: 4ch; 16 } 17 .blue { color: blue; } 18 .space { color: transparent; } 19 .text { background: blue; } 20 </style> 21 <p>Test passes if a blue box (the white space) is visible at the left start in first line.</p> 22 <div>ب<span class="blue">X</span><span class="text">OP</span><span class="space">X<br>XXX</span>D</div>