servo/tests/wpt/css-tests/css21_dev/html4/shand-font-000.htm

23 lines
No EOL
718 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Shorthand Properties (font)</title>
<link rel="author" title="L. David Baron" href="http://dbaron.org/">
<link rel="help" href="http://www.w3.org/TR/CSS21/about.html#shorthand">
<link rel="match" href="reference/shand-font-000-ref.htm">
<style type="text/css">
p.one { font-family: serif; } /* control */
p.two { font-weight: bold; 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>