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