mongolian-orientation-001.html (985B)
1 <!DOCTYPE html> 2 <meta charset="utf-8"> 3 <title>CSS Writing Modes Test: orientation of mongolian</title> 4 <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net/"> 5 <link rel="help" href="https://www.w3.org/TR/css-writing-modes-3/#text-orientation"> 6 <link rel="match" href="reference/mongolian-orientation-001-ref.html"> 7 <meta name="assert" content="Mongolian is intrinsicly vertical, mixed and upright text-orientation are expected to be the same."> 8 <style> 9 div { 10 font-family: "Mongolian White"; /* Not required for the test to work, 11 but it helps make it look not ugly if you have the font installed.*/ 12 font-size: 2em; 13 margin: 1em; 14 writing-mode: vertical-lr; 15 float: left; 16 } 17 div:nth-of-type(1) { text-orientation: mixed; } 18 div:nth-of-type(2) { text-orientation: upright; } 19 </style> 20 21 <p>The test passes if you see two identical lines of vertical text (in Mongolian). 22 23 <div>ᠮᠣᠨᠭᠭᠣᠯ ᠬᠡᠯᠡ</div> 24 <div>ᠮᠣᠨᠭᠭᠣᠯ ᠬᠡᠯᠡ</div>