| <head> |
| <style type="text/css"> |
| @font-face { |
| font-family: notosymbol; |
| src: |
| url("../../third_party/NotoSansSymbol/NotoSansSymbols-Regular-u1d49e,1f1ef.ttf"); |
| } |
| |
| .breakbox { |
| font-family: notosymbol; |
| word-break: break-all; |
| border: solid blue; |
| font-size: 36px; |
| width: 5em; } |
| </style> |
| </head> |
| <p>The following box should break the sequence of symbols at the 5 character mark |
| and not overflow the blue box. This is because U+1D49E has a general category(gC) of Letter, for which break-all applies.</p> |
| <div class="breakbox"> |
| 𝒞𝒞𝒞𝒞𝒞𝒞𝒞𝒞𝒞𝒞 |
| </div> |
| <p>The following box should break between a pair of regional indicators |
| ( U+1F1EF and U+1F1F5 ) because |
| they (as a pair) act like Ideographs (LB=ID) whether or not 'word-break' is break-all. |
| </p> |
| <div class="breakbox"> |
| 🇯🇵🇯🇵🇯🇵🇯🇵🇯🇵🇯🇵🇯🇵🇯🇵 |
| </div> |
| <!-- |
| TODO(jshin): Add a test string made of non-BMP characters that would |
| overflow even with 'word-break: break-all'. LB=IS or LB=NS would work. |
| https://bugs.chromium.org/p/chromium/issues/detail?id=661320 |
| --> |