blob: 534527591a6c0eb5825c66d99e014bb128fb5802 [file] [log] [blame]
robert@webkit.orgbcaad212012-12-12 19:43:45 +00001<!DOCTYPE HTML>
2<html>
3<head>
4 <meta charset="utf-8">
5 <title>White space processing</title>
6 <meta name="flags" content="ahem">
7 <link rel="help" href="http://www.w3.org/TR/CSS21/text.html#spacing-props" title="16.4 Letter and word spacing: the 'letter-spacing' and 'word-spacing' properties">
8 <link rel="author" title="Robert Hogan">
9 <style type="text/css">
10 .wordspacing {
11 margin:.2em 0;
12 word-spacing:-.5em;
13 font:18px Ahem,sans-serif;
14 }
15 .test {
16 margin:.2em 0;
17 font:18px Ahem,sans-serif;
18 }
19 .wordspacing>span {
20 display:inline;
21 }
22 </style>
23</head>
24
25<body>
26
27<p> White space between inline blocks should be affected by the word-spacing property.
28 https://bugs.webkit.org/show_bug.cgi?id=69072 </p>
29
30<p>The following strings must be the same:</p>
31<div class="wordspacing">x x x</div>
32<div class="wordspacing">x x x</div>
33<div class="wordspacing">x x x</div>
34<div class="wordspacing">x x x</div>
35<div class="wordspacing">x x x</div>
36<div class="wordspacing">x x x</div>
37<div class="wordspacing">x x x</div>
38
39<p>The following strings must be the same:</p>
40<div class="test">x x x</div>
41<div class="test">x x x</div>
42<div class="test">x x x</div>
43<div class="test">x x x</div>
44<div class="test">x x x</div>
45<div class="test">x x x</div>
46<div class="test">x x x</div>
47
48<p>The following strings must be the same:</p>
49<div class="test">xxx</div>
50<div class="test">xxx</div>
51<div class="test">xxx</div>
52</body>
53</html>