Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / word-spacing-remove-space-002.htm
blob5294ab85ea4aaf75077020a46667c6629802448e
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Word-spacing and white space with multiple non-breaking spaces</title>
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-props">
7 <meta name="flags" content="ahem">
8 <script src="../../resources/ahem.js"></script>
9 <meta name="assert" content="The white space processing removes non-breaking space before 'word-spacing' is applied.">
10 <style type="text/css">
11 div
13 font: 16px/1em Ahem;
15 #div1
17 word-spacing: 2em;
19 #div2, #div3
21 background: black;
22 display: inline-block;
23 height: 1em;
24 width: 1em;
26 #div3
28 margin-left: 12em;
30 </style>
31 </head>
32 <body>
33 <p>Test passes if there are only two boxes below.</p>
34 <div id="div1">X&nbsp; &nbsp; X</div>
35 <div id="div2"></div><div id="div3"></div>
36 </body>
37 </html>