Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Side by Side Diff: third_party/WebKit/LayoutTests/fast/text/midword-break-before-surrogate-pair.html

Issue 2447513002: Update ICU to 58.1 (Closed)
Patch Set: fix a typo in html comment Created 4 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <head> 1 <head>
2 <style type="text/css"> 2 <style type="text/css">
3 @font-face { 3 @font-face {
4 font-family: notosymbol; 4 font-family: notosymbol;
5 src: 5 src:
6 url("../../third_party/NotoSansSymbol/NotoSansSymbols-Regular-u1d49e,1f1 ef.ttf"); 6 url("../../third_party/NotoSansSymbol/NotoSansSymbols-Regular-u1d49e,1f1 ef.ttf");
7 } 7 }
8 8
9 .breakbox { 9 .breakbox {
10 font-family: notosymbol; 10 font-family: notosymbol;
11 word-break: break-all; 11 word-break: break-all;
12 border: solid blue; 12 border: solid blue;
13 font-size: 36px; 13 font-size: 36px;
14 width: 5em; } 14 width: 5em; }
15 </style> 15 </style>
16 </head> 16 </head>
17 <p>The following box should break the sequence of symbols at the 5 character mar k 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 18 and not overflow the blue box. This is because U+1D49E has a general category(gC ) of Letter, for which break-all applies.</p>
19 unicode character, for which break-all applies.</p>
20 <div class="breakbox"> 19 <div class="breakbox">
21 &#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1 d49e;&#x1d49e; 20 &#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1 d49e;&#x1d49e;
22 </div> 21 </div>
23 <p>The following box should not break the sequence of symbols since U+1F1EF is n ot 22 <p>The following box should break between a pair of regional indicators
24 a letter or number category character.</p> 23 ( U+1F1EF and U+1F1F5 ) because
24 they (as a pair) act like Ideographs (LB=ID) whether or not 'word-break' is brea k-all.
25 </p>
25 <div class="breakbox"> 26 <div class="breakbox">
26 &#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1 f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5; 27 &#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1 f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;
27 </div> 28 </div>
29 <!--
30 TODO(jshin): Add a test string made of non-BMP characters that would
31 overflow even with 'word-break: break-all'. LB=IS or LB=NS would work.
32 https://bugs.chromium.org/p/chromium/issues/detail?id=661320
33 -->
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698