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

Side by Side Diff: LayoutTests/fast/text/justify-ideograph.html

Issue 1192223002: Optimize Complex Text Shaping and Caching (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Addressing review comments Created 5 years, 6 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 | Annotate | Revision Log
OLDNEW
1 <!DOCTYPE HTML> 1 <!DOCTYPE HTML>
2 <style> 2 <style>
3 @font-face { 3 @font-face {
4 font-family:Ahem;
drott 2015/06/23 12:45:51 In a somewhat nitpicky attempt to keep this patch
5 src:url(../../resources/Ahem.otf);
6 }
7 @font-face {
4 font-family:cssot; 8 font-family:cssot;
5 src:url(../../third_party/adobe-fonts/CSSFWOrientationTest.otf); 9 src:url(../../third_party/adobe-fonts/CSSFWOrientationTest.otf);
6 } 10 }
7 .container { 11 .container {
8 display: inline-block; 12 display: inline-block;
9 } 13 }
10 #complex { 14 #complex {
11 text-rendering: optimizelegibility 15 text-rendering: optimizelegibility
12 } 16 }
13 dd { 17 dd {
14 border:black solid thin; 18 border:black solid thin;
15 font-family:Ahem, cssot; 19 font-family:Ahem, cssot;
16 text-align:justify; 20 text-align:justify;
21 line-height: 17px;
17 } 22 }
18 </style> 23 </style>
19 <div id="simple" class="container"> 24 <div id="simple" class="container">
20 <h2>Simple</h2> 25 <h2>Simple</h2>
21 <dl> 26 <dl>
22 <dt>Ideographic, Kana, CJK symbols</dt> 27 <dt>Ideographic, Kana, CJK symbols</dt>
23 <dd style="width:9em;">&#x56FD;&#x56FD;&#x3042;&#xFF01;&#x56FD;&#x56FD;&#xFEFF;W WWWWWWW</dd> 28 <dd style="width:9em;">&#x56FD;&#x56FD;&#x3042;&#xFF01;&#x56FD;&#x56FD;&#xFEFF;W WWWWWWW</dd>
24 <dd style="width:9em;">&#x56FD;&#x56FD;&#x3042;&#xFF01;&#x56FD;WWWWWWWWW</dd> 29 <dd style="width:9em;">&#x56FD;&#x56FD;&#x3042;&#xFF01;&#x56FD;WWWWWWWWW</dd>
25 <dd style="width:9em;">&#x56FD;&#x56FD;&#x3042;&#xFF01;&#x56FD; WWWWWWWWW</dd> 30 <dd style="width:9em;">&#x56FD;&#x56FD;&#x3042;&#xFF01;&#x56FD; WWWWWWWWW</dd>
26 <dd style="width:9em;">&#x56FD;&#x56FD;&#x3042;&#xFF01;W WWWWWWWWW</dd> 31 <dd style="width:9em;">&#x56FD;&#x56FD;&#x3042;&#xFF01;W WWWWWWWWW</dd>
(...skipping 19 matching lines...) Expand all
46 </div> 51 </div>
47 <script> 52 <script>
48 document.body.offsetLeft; // Kick off loading @font-face 53 document.body.offsetLeft; // Kick off loading @font-face
49 if (window.testRunner) { 54 if (window.testRunner) {
50 testRunner.waitUntilDone(); 55 testRunner.waitUntilDone();
51 document.body.onload = function () { testRunner.notifyDone(); }; 56 document.body.onload = function () { testRunner.notifyDone(); };
52 } 57 }
53 var tests = document.getElementsByTagName('dl')[0]; 58 var tests = document.getElementsByTagName('dl')[0];
54 document.getElementById('complex').appendChild(tests.cloneNode(true)); 59 document.getElementById('complex').appendChild(tests.cloneNode(true));
55 </script> 60 </script>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698