Source code

Revision control

Copy as Markdown

Other Tools

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<head>
<title>CSS Test: CSS: sanity tests for font inheritance</title>
<link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
<link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/fonts/size/005.xml" type="application/xhtml+xml"/>
<style type="text/css">
span { font: inherit; }
</style>
</head>
<body>
<p>There should be two perfect columns of identical Xs below:</p>
<pre class="test"> XXX XXX
<span>XXX</span> XXX
XXX XXX </pre>
</body>
</html>