22 lines
571 B
HTML
22 lines
571 B
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: Shorthand Properties (font)</title>
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/about.html#shorthand">
|
|
<style type="text/css">
|
|
|
|
p.one { font-family: serif; } /* control */
|
|
p.two { font-weight: bold; }
|
|
p.two { font: 1em/normal serif; }
|
|
|
|
</style>
|
|
</head>
|
|
<body>
|
|
|
|
<p>The following paragraphs should be identical:</p>
|
|
|
|
<p class="one">This should be in a normal weight font.</p>
|
|
<p class="two">This should be in a normal weight font.</p>
|
|
|
|
</body>
|
|
</html> |