OLD | NEW |
1 <div style="word-break: break-all; border: solid blue; font-size: 36px; width: 5
em;"> | 1 <head> |
| 2 <style type="text/css"> |
| 3 @font-face { |
| 4 font-family: notosymbol; |
| 5 src: |
| 6 url("../../third_party/NotoSansSymbol/NotoSansSymbols-Regular-u1d49e,1f1
ef.ttf"); |
| 7 } |
| 8 |
| 9 .breakbox { |
| 10 font-family: notosymbol; |
| 11 word-break: break-all; |
| 12 border: solid blue; |
| 13 font-size: 36px; |
| 14 width: 5em; } |
| 15 </style> |
| 16 </head> |
| 17 <p>The following box should break the sequence of symbols at the 5 character mar
k |
| 18 and not overflow the blue box. This is because U+1D49 is a number category |
| 19 unicode character, for which break-all applies.</p> |
| 20 <div class="breakbox"> |
2 𝒞𝒞𝒞𝒞𝒞𝒞𝒞𝒞
d49e;𝒞 | 21 𝒞𝒞𝒞𝒞𝒞𝒞𝒞𝒞
d49e;𝒞 |
3 </div> | 22 </div> |
| 23 <p>The following box should not break the sequence of symbols since U+1F1EF is n
ot |
| 24 a letter or number category character.</p> |
| 25 <div class="breakbox"> |
| 26 🇯🇵🇯🇵🇯🇵🇯🇵
f1ef;🇵🇯🇵🇯🇵🇯🇵 |
| 27 </div> |
OLD | NEW |