servo/tests/wpt/css-tests/css-fonts-3_dev/html/font-family-name-010.htm

25 lines
No EOL
1.3 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<title>CSS Test: localized font family name</title>
<link rel="author" title="Mozilla" href="http://www.mozilla.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">
<link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop">
<link rel="match" href="reference/font-family-name-ref.htm">
<meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
<meta name="flags" content="font">
<meta name="assert" content="The 'font-family' property set to and installed font renders the appropriate font. Localized family names should match.">
<style type="text/css">
body { font-size: 36px; }
span#verify { font-family: CSSTest Verify; }
p {
font-family:  , CSSTest Fallback;
}
</style>
</head>
<body>
<div><a href="http://www.w3.org/Style/CSS/Test/Fonts/">Test fonts</a> must be installed for this test: <span id="verify">FAIL</span></div>
<p>5678</p>
</body>
</html>