text-justify-and-trailing-spaces-alt-005-ref.html (909B)
1 <!DOCTYPE html> 2 <html lang="en" > 3 <head> 4 <meta charset="utf-8"> 5 <title>test reference</title> 6 <link rel="author" title="Javier Fernandez" href="mailto:jfernandez@igalia.com" /> 7 <style> 8 @font-face { 9 font-family: 'ezra_silregular'; 10 src: url('/fonts/sileot-webfont.woff') format('woff'); 11 font-weight: normal; 12 font-style: normal; 13 } 14 div { 15 font-family: ezra_silregular, monospace; 16 font-size: 15px; 17 } 18 </style> 19 20 <p>Test passes if we have a first line with hebrew justified and XXX in the second line (left-edge trailing space if not removed)</p> 21 <div style="position: relative; margin-left: 20px; width: 70px;"> 22 <div style="float: right; background: green;">הם</div> 23 <div style="background: green;">דה<br></div> 24 </div> 25 <div style="position: relative; margin-left: 20px; background: blue; width: 70px; direction: rtl;"> 26 <div style="display: inline; background: green; ">XXX</div> 27 </div>