tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

shaping-023.html (1310B)


      1 <!DOCTYPE html>
      2 <html  lang="en" >
      3 <head>
      4 <meta charset="utf-8">
      5 <title>mongolian, colour</title>
      6 <meta name="assert" content="Shaping should not be broken across inline box boundaries for changes to colour 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-023-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    }
     16 .test, .ref { border: 1px solid #02D7F6;  margin: 20px;  padding: 10px; width: 3em; font-size: 120px; font-family: "csstest_noto"; writing-mode: vertical-lr; float:left; }
     17 /* the CSS above is not part of the test */
     18 .styled { color:blue; }
     19 </style>
     20 </head>
     21 <body>
     22 <p class="instructions">Test passes if the three Mongolian characters in each box join, making the two boxes identical.</p>
     23 <div class="test" lang="mn" dir="rtl"><span class="styled"></span></div>
     24 <div class="ref" lang="mn" dir="rtl">&zwj;<span class="styled">&zwj;&zwj;</span>&zwj;</div>
     25 <!-- Notes:
     26 This test uses the Noto Sans Mongolian font to control variables related to font choice.
     27 -->
     28 </body>
     29 </html>