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

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

Issue 1361953002: Surrogate pair line breaking test combined, font added (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebased to chromium repo Created 5 years, 2 months 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 <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 &#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1 d49e;&#x1d49e; 21 &#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1d49e;&#x1 d49e;&#x1d49e;
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 &#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1 f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;&#x1f1ef;&#x1f1f5;
27 </div>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698