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

Side by Side Diff: LayoutTests/fast/text/whitespace-try-ahem/006.html

Issue 1196873002: Try @font-face to load ahem font to investigate flakyness (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Skip virtual/antialiasedtext/fast/text/whitespace-try-ahem 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 PUBLIC "-//W3C//DTD HTML 4.0//EN"> 1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html> 2 <html>
3 <!-- ================================================================ --> 3 <!-- ================================================================ -->
4 <!-- WARNING! This document contains significant trailing whitespace! --> 4 <!-- WARNING! This document contains significant trailing whitespace! -->
5 <!-- ================================================================ --> 5 <!-- ================================================================ -->
6 <head> 6 <head>
7 <title>white-space normal: zero width non-breaking space</title> 7 <title>white-space normal: zero width non-breaking space</title>
8 <style type="text/css"> 8 <style type="text/css">
9 @font-face { font-family: myahem; src: url(../../../resources/Ahem.ttf); }
9 /* setup */ 10 /* setup */
10 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; co lor: white; } 11 .control { display: inline; font: 1em/1 myahem, sans-serif; background: red; color: white; }
11 * { white-space: normall; font: inherit; } 12 * { white-space: normall; font: inherit; }
12 div { display: block; margin: 1em; } 13 div { display: block; margin: 1em; }
13 span { display: inline; } 14 span { display: inline; }
14 15
15 /* test */ 16 /* test */
16 div { font: 20px/1 Ahem; } 17 div { font: 20px/1 myahem; }
17 .green { background: lime; color: green; } 18 .green { background: lime; color: green; }
18 .red { background: red; color: maroon; } 19 .red { background: red; color: maroon; }
19 </style> 20 </style>
20 </head> 21 </head>
21 <body> 22 <body>
22 <div class="control">Ahem_font_required_for_this_test.</div> 23 <div class="control">Ahem_font_required_for_this_test.</div>
23 <p>There should be no red below, only three identical striped green and lime b ars.</p> 24 <p>There should be no red below, only three identical striped green and lime b ars.</p>
24 25
25 <!-- the next two tests are identical, but one uses raw data and the other use s entities --> 26 <!-- the next two tests are identical, but one uses raw data and the other use s entities -->
26 27
(...skipping 10 matching lines...) Expand all
37 class="red"> </span>X<span class="red"> 38 class="red"> </span>X<span class="red">
38 39
39 </span></span></div> 40 </span></span></div>
40 41
41 <div><span class="red">&#x000A;&#x000A;&#x0020;&#x0020;&#x0020;<span class="gr een">X&#x0020;<span class="red"><span class="red">&#x0020;<span class="red">&#x0 00A;&#x0020;&#x0020;&#x0020;</span></span>&#x0020;</span>X&#x0020;<span class="r ed">&#x0020;&#x000A;&#x0020;&#x0020;&#x0020;</span>X<span class="red"><span clas s="red"><span class="green">&#x0020;</span><span class="red">&#x0020;</span></sp an>&#x0020;</span>X&#x000A;<span class="red">&#x0020;&#x000A;&#x0020;&#x0020;&#x 0020;&#x000A;&#x0020;&#x0020;&#x0020;</span>&#x000A;&#x0020;&#x0020;&#x0020;<spa n class="green">X<span class="green">&#x0020;<span class="red">&#x0020;</span></ span><span class="red">&#x0020;</span>X<span class="red">&#x000A;&#x000A;&#x0020 ;&#x0020;</span></span></div> 42 <div><span class="red">&#x000A;&#x000A;&#x0020;&#x0020;&#x0020;<span class="gr een">X&#x0020;<span class="red"><span class="red">&#x0020;<span class="red">&#x0 00A;&#x0020;&#x0020;&#x0020;</span></span>&#x0020;</span>X&#x0020;<span class="r ed">&#x0020;&#x000A;&#x0020;&#x0020;&#x0020;</span>X<span class="red"><span clas s="red"><span class="green">&#x0020;</span><span class="red">&#x0020;</span></sp an>&#x0020;</span>X&#x000A;<span class="red">&#x0020;&#x000A;&#x0020;&#x0020;&#x 0020;&#x000A;&#x0020;&#x0020;&#x0020;</span>&#x000A;&#x0020;&#x0020;&#x0020;<spa n class="green">X<span class="green">&#x0020;<span class="red">&#x0020;</span></ span><span class="red">&#x0020;</span>X<span class="red">&#x000A;&#x000A;&#x0020 ;&#x0020;</span></span></div>
42 43
43 <div><span class="green">X X X X X X</span></div> 44 <div><span class="green">X X X X X X</span></div>
44 45
45 </body> 46 </body>
46 </html> 47 </html>
OLDNEW
« no previous file with comments | « LayoutTests/fast/text/whitespace-try-ahem/005-expected.txt ('k') | LayoutTests/fast/text/whitespace-try-ahem/006-expected.png » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698