inlines-006

CSS Inline Box Model: Wrapping Spaces Outside Inline Elements

WeasyPrint

This browser

Flags
interact

Source

 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: CSS Inline Box Model: Wrapping Spaces Outside Inline Elements</title>
 5   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 6   <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/inline/006.xml" type="application/xhtml+xml">
 7   <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#inline-boxes">
 8   <meta name="flags" content="interact">
 9   <style type="text/css">
10    p > span { padding: 0.3em 0; line-height: 3; letter-spacing: 0.2em; }
11    span span { border: solid blue; color: gray; }
12   </style>
13  </head>
14  <body>
15 
16   <p>Resize your window slowly from a wide size to a narrow size. The
17   XXXXXXXXXXXXXXX-filled boxes below should always be perfectly aligned in a grid.</p>
18 
19   <p> <span>
20    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
21    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
22    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
23    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
24    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
25    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
26    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
27    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
28    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
29    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
30    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
31    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
32    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
33    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
34    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
35    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
36    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
37    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
38    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
39    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
40    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
41    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
42    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
43    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
44    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
45    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
46    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
47    <span>XXXXXXXXXXXXXXX</span> <span>XXXXXXXXXXXXXXX</span>
48   </span> </p>
49 
50  </body>
51 </html>