bidi-tab-001.html (1201B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Text Test: Interaction between tabs and bidi</title> 4 <link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> 5 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net"> 6 <link rel="help" href="https://drafts.csswg.org/css-text-3/#white-space-phase-2"> 7 <link rel="help" href="http://unicode.org/reports/tr9/#L1"> 8 <link rel="match" href="reference/bidi-tab-001-ref.html"> 9 <meta name=assert content="with unicode-bidi: plaintext, lines from bidi paragraphs with strong directionality use that direction"> 10 <style> 11 div { 12 font-family: monospace; 13 font-size: 20px; 14 line-height: 1; 15 white-space: pre; 16 width: 10ch; 17 background: blue; 18 color: blue; 19 } 20 span { 21 background: yellow; 22 } 23 </style> 24 <p>The test passes if the two boxes are identical. 25 26 <div dir=ltr><span dir=ltr>	0</span></div> 27 <div dir=rtl><span dir=rtl>	0</span></div> 28 <div dir=ltr><span dir=rtl>	0</span></div> 29 <div dir=rtl><span dir=ltr>	0</span></div> 30 31 <br> 32 33 <div dir=ltr><span dir=ltr>	0</span></div> 34 <div dir=rtl><span dir=rtl>	0</span></div> 35 <div dir=ltr><span dir=ltrl>	0</span></div> 36 <div dir=rtl><span dir=rtl>	0</span></div>