c42-ibx-ht-000

Inline Elements

WeasyPrint

This browser

Flags
ahem

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: Inline Elements</title>
 5   <meta name="flags" content="ahem">
 6   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#inline-elements">
 7   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 8   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 9   <style type="text/css">
10    div { width: 20em; font: 10px/12px Ahem; color: green; }
11    span { border: solid 10px lime; padding: 2px 0 2px 10px; margin: 10px 10px 0 0; }
12    em { font: 1em/1 Ahem; color: red; }
13   </style>
14   <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" title="10.8.1 Leading and half-leading">
15   <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-non-replaced" title="10.6.1 Inline, non-replaced elements">
16  </head>
17  <body>
18   <p>There should be no red below, only green lines and dots.</p>
19   <div>
20    z z <em> x x x x x x x x x x </em> <span> <em> x x x x x x x x x x
21    x x x </em> y y y y y y y y y </span> y y y y y y y y y y z z z z
22   </div>
23  </body>
24 </html>