font-family-name-021.xht (1369B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 <html xmlns="http://www.w3.org/1999/xhtml"> 3 <head> 4 <title>CSS Test: mixed use of quotes in font family names is invalid syntax</title> 5 <link rel="author" title="Mozilla" href="http://www.mozilla.com/" /> 6 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#propdef-font-family" /> 7 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" /> 8 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/> 9 <link rel="match" href="font-family-name-ref.xht"/> 10 <meta name="flags" content="invalid" /> 11 <meta name="assert" content="Mixing quoted name with unquoted portion is invalid syntax, rule is dropped." /> 12 <style type="text/css"> 13 body { font-size: 36px; } 14 span#verify { font-family: CSSTest Verify; } 15 body { font-family: "CSSTest FamilyName"; } 16 div { font-family: "CSSTest Unknown"; } 17 p { 18 font-family: "CSSTest" Fallback; 19 } 20 </style> 21 </head> 22 <body> 23 <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> 24 <p>5678</p> 25 </body> 26 </html>