line-breaking-bidi-003

Line breaking and the bidi algorithm (no breaks)

WeasyPrint

This browser

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html lang="en">
 3  <head>
 4   <title>CSS Test: Line breaking and the bidi algorithm (no breaks)</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/text/white-space/normal/line-breaking/bidi/003.html" type="text/html">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#white-space-model">
 8   <style type="text/css">
 9    .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; color: white; }
10    .test { font: 40px/1 Ahem; border: solid; width: 17em; background: red; }
11    .test > span { background: lime; }
12   </style>
13  </head>
14  <body>
15   <div class="control">Ahem_font_required_for_this_test.</div>
16   <p> There should be no red below, just one unbroken bar of green. (Force bidi: א) </p>
17   <div class="test"><span>&nbsp;&nbsp;&#x202E;&nbsp;&#x202D;&nbsp;&#x202E;&nbsp;&#x202D;&nbsp;&#x202E;&nbsp;&nbsp;&#x202D;&nbsp;&#x202C;&nbsp;<span>&nbsp;</span>&#x202C;&nbsp;&#x202C;&nbsp;&#x202C;&nbsp;&#x202C;&nbsp;&nbsp;&#x202C;&nbsp;</span></div>
18  </body>
19 </html>