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