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

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

Issue 1207173002: [Temporary] try resources/ahem.js (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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 <head> 3 <head>
4 <script src="../../../../resources/ahem.js"></script>
4 <title>white-space normal: zero width non-breaking space</title> 5 <title>white-space normal: zero width non-breaking space</title>
5 <style type="text/css"> 6 <style type="text/css">
6 @font-face { font-family: myahem; src: url(../../../resources/Ahem.ttf); }
7 /* setup */ 7 /* setup */
8 .control { display: inline; font: 1em/1 myahem, sans-serif; background: red; color: white; } 8 .control { display: inline; font: 1em/1 Ahem, sans-serif; background: red; co lor: white; }
9 td * { white-space: normal; font: inherit; } 9 td * { white-space: normal; font: inherit; }
10 div { display: block; } 10 div { display: block; }
11 span { display: inline; } 11 span { display: inline; }
12 12
13 /* test */ 13 /* test */
14 td { font: 20px/1 myahem; color: maroon; background: red; padding: 0; } 14 td { font: 20px/1 Ahem; color: maroon; background: red; padding: 0; }
15 span { background: lime; } 15 span { background: lime; }
16 div { color: green; } 16 div { color: green; }
17 </style> 17 </style>
18 </head> 18 </head>
19 <body> 19 <body>
20 <div class="control">Ahem_font_required_for_this_test.</div> 20 <div class="control">Ahem_font_required_for_this_test.</div>
21 <p>There should be no red below, only a green square bordered in green.</p> 21 <p>There should be no red below, only a green square bordered in green.</p>
22 <!-- U+00A0 is exactly equivalent to U+200B U+0020 U+200B --> 22 <!-- U+00A0 is exactly equivalent to U+200B U+0020 U+200B -->
23 <table> 23 <table>
24 <tr> 24 <tr>
25 <td> 25 <td>
26 <div>XXXXX</div> 26 <div>XXXXX</div>
27 <div>X<span>&#x00A0;&#x00A0;&#x00A0;</span>X</div> 27 <div>X<span>&#x00A0;&#x00A0;&#x00A0;</span>X</div>
28 <div>X<span>&#x200B; &#x200B; &#x200B; &#x200B;</span>X</div> 28 <div>X<span>&#x200B; &#x200B; &#x200B; &#x200B;</span>X</div>
29 <div>X<span> &#x200B; &#x200B; </span>X</div> 29 <div>X<span> &#x200B; &#x200B; </span>X</div>
30 <div>XXXXX</div> 30 <div>XXXXX</div>
31 </td> 31 </td>
32 </tr> 32 </tr>
33 </table> 33 </table>
34 </body> 34 </body>
35 </html> 35 </html>
OLDNEW
« no previous file with comments | « LayoutTests/try-ahem/fast/text/whitespace/003.html ('k') | LayoutTests/try-ahem/resources/Ahem.ttf » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698