Files
servo/tests/wpt/css-tests/css21_dev/html4/font-family-applies-to-004.htm

22 lines
870 B
HTML

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: Font-family and 'display: run-in' elements</title>
<link rel="author" title="Microsoft" href="http://www.microsoft.com/">
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-family">
<link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop">
<meta name="flags" content="ahem">
<meta name="assert" content="The 'font-family' property applies to 'display: run-in' elements.">
<style type="text/css">
div
{
display: run-in;
font-family: Ahem;
}
</style>
</head>
<body>
<p>Test passes if there is a square below.</p>
<div>X</div>
</body>
</html>