c524-font-var-000

font-variant

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: font-variant</title>
 5   <link rel="help" href="http://www.w3.org/TR/REC-CSS1#font-variant">
 6   <link rel="author" title="CSS1 Test Suite Contributors" href="http://www.w3.org/Style/CSS/Test/CSS1/current/tsack.html">
 7   <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch">
 8   <style type="text/css">
 9    p { color: navy; }
10    .one {font-variant: small-caps;}
11    .two {font-variant: normal;}
12   </style>
13   <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#small-caps" title="15.5 Small-caps: the 'font-variant' property">
14  </head>
15  <body>
16   <p class="one">This sentence Should be In small Caps with Every other Word capitalized. </p>
17   <p class="one">
18    This sentence Should be In small Caps with Every other Word capitalized.
19    <span class="two">This sentence Should be In normal Mixed case (Every other Word capitalized).</span>
20   </p>
21  </body>
22 </html>