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