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