keywords-001

Keywords v. Strings (width)

WeasyPrint

This browser

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: Keywords v. Strings (width)</title>
 5   <link rel="author" title="L. David Baron" href="http://dbaron.org/">
 6   <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#keywords">
 7   <style type="text/css">
 8 
 9   p.one, p.two { width: 10em; border: medium solid; }
10   p.two { width: "auto"; }
11 
12   </style>
13  </head>
14  <body>
15 
16  <p>The next two paragraphs should look identical:</p>
17 
18  <p class="one">Test.</p>
19  <p class="two">Test.</p>
20 
21  </body>
22 </html>