font-family-name-010

localized font family name

WeasyPrint

Reference (good) by WeasyPrint

Reference (good) by this browser

This browser

Flags
font
Assertion
The 'font-family' property set to and installed font renders the appropriate font. Localized family names should match.

Source

 1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
 2 <html>
 3      <head>
 4         <link rel="reference" href="font-family-name-ref.xht">
 5         <title>CSS Test: localized font family name</title>
 6         <link rel="author" title="Mozilla" href="http://www.mozilla.com/">
 7         <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-family">
 8         <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop">
 9         <meta http-equiv="Content-Type" content="text/xhtml; charset=utf-8">
10         <meta name="flags" content="font">
11         <meta name="assert" content="The 'font-family' property set to and installed font renders the appropriate font. Localized family names should match.">
12         <style type="text/css">
13             body { font-size: 36px; }
14             span#verify { font-family: CSSTest Verify; }
15             p {
16                 font-family: CSSテスト フォント名, CSSTest Fallback;
17             }
18         </style>
19     </head>
20     <body>
21         <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>
22         <p>5678</p>
23     </body>
24 </html>