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

Side by Side Diff: LayoutTests/css2.1/20110323/word-spacing-remove-space-001-expected.html

Issue 1212753002: Convert tests (except fast/, imported/) using ahem font to ahem.js style (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.01//EN" "http://www.w3.org/TR/html4/st rict.dtd"> 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/st rict.dtd">
2 <html> 2 <html>
3 <head> 3 <head>
4 <title>CSS Test: Word-spacing and white space with multiple spaces</titl e> 4 <title>CSS Test: Word-spacing and white space with multiple spaces</titl e>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/"> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/">
6 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-prop s"> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-prop s">
7 <meta name="flags" content="ahem"> 7 <meta name="flags" content="ahem">
8 <script src="../../resources/ahem.js"></script>
8 <meta name="assert" content="The white space processing removes spaces b efore 'word-spacing' is applied."> 9 <meta name="assert" content="The white space processing removes spaces b efore 'word-spacing' is applied.">
9 <style type="text/css"> 10 <style type="text/css">
10 div 11 div
11 { 12 {
12 font: 16px/1em Ahem; 13 font: 16px/1em Ahem;
13 word-spacing: 2em; 14 word-spacing: 2em;
14 } 15 }
15 #div2, #div3 16 #div2, #div3
16 { 17 {
17 background: black; 18 background: black;
18 display: inline-block; 19 display: inline-block;
19 height: 1em; 20 height: 1em;
20 width: 1em; 21 width: 1em;
21 } 22 }
22 #div3 23 #div3
23 { 24 {
24 margin-left: 3em; 25 margin-left: 3em;
25 } 26 }
26 </style> 27 </style>
27 </head> 28 </head>
28 <body> 29 <body>
29 <p>Test passes if there are only two boxes below.</p> 30 <p>Test passes if there are only two boxes below.</p>
30 <div id="div1">X X</div> 31 <div id="div1">X X</div>
31 <div id="div2"></div><div id="div3"></div> 32 <div id="div2"></div><div id="div3"></div>
32 </body> 33 </body>
33 </html> 34 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698