font-family-008.xht (1495B)
1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> 2 3 <html xmlns="http://www.w3.org/1999/xhtml"> 4 5 <head> 6 7 <title>CSS Test: font-family - unquoted font-family names with parentheses or curly braces</title> 8 9 <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/" /> 10 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop" /> 11 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#rule-sets" /> 12 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/> 13 <link rel="match" href="font-family-008-ref.html" /> 14 <meta content="ahem invalid" name="flags" /> 15 <meta content="Unquoted font-family names must not contain unescaped parentheses or unescaped curly braces" name="assert" /> 16 17 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 18 <style type="text/css"><![CDATA[ 19 p#first-test {font-family: Ahem, foo(bar), sans-serif;} 20 21 p#second-test {font-family: Ahem, foo(bar)foo, sans-serif;} 22 23 p#third-test {font-family: Ahem, foo{bar}, sans-serif;} 24 25 p#fourth-test {font-family: Ahem, foo{bar}foo, sans-serif;} 26 ]]></style> 27 28 </head> 29 30 <body> 31 32 <p>Test passes if there is <strong>no black stripe</strong>.</p> 33 34 <p id="first-test">First test Passed</p> 35 36 <p id="second-test">Second test Passed</p> 37 38 <p id="third-test">Third test Passed</p> 39 40 <p id="fourth-test">Fourth test Passed</p> 41 42 </body> 43 </html>