shaping-024.html (1362B)
1 <!DOCTYPE html> 2 <html lang="en" > 3 <head> 4 <meta charset="utf-8"> 5 <title>mongolian, font-style</title> 6 <meta name="assert" content="Shaping should not be broken across inline box boundaries for changes to font-style in Mongolian."> 7 <link rel="author" title="Richard Ishida" href="mailto:ishida@w3.org"> 8 <link rel="help" href="https://drafts.csswg.org/css-text/#boundary-shaping"> 9 <link rel="match" href="reference/shaping-024-ref.html"> 10 <meta name="flags" content="should"> 11 <style type="text/css"> 12 @font-face { 13 font-family: 'csstest_noto'; 14 src: url('/fonts/noto/NotoSansMongolian-regular.woff2') format('woff2'); 15 font-weight: normal; 16 font-style: normal; 17 } 18 .test, .ref { border: 1px solid #02D7F6; margin: 20px; padding: 10px; width: 3em; font-size: 120px; font-family: "csstest_noto"; writing-mode: vertical-lr; } 19 /* the CSS above is not part of the test */ 20 .styled { font-style:italic; } 21 </style> 22 </head> 23 <body> 24 <p class="instructions">Test passes if the three Mongolian characters in each box join, making the two boxes identical.</p> 25 <div class="test" lang="mn" dir="rtl">ᠨ<span class="styled">ᠨ</span>ᠨ</div> 26 <div class="ref" lang="mn" dir="rtl">ᠨ‍<span class="styled">‍ᠨ‍</span>‍ᠨ</div> 27 <!-- Notes: 28 This test uses the Noto Sans Mongolian font to control variables related to font choice. 29 --> 30 </body> 31 </html>