font-family-invalid-characters-005.xht (1969B)
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: Invalid quotes and pair matching</title> 5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" /> 6 <link rel="author" title="Arron Eicholz" href="http://www.microsoft.com/" /> 7 <link rel="author" title="Elika J. Etemad" href="http://fantasai.inkedblade.net/contact" /> 8 <link rel="help" href="http://www.w3.org/TR/CSS21/fonts.html#font-family-prop"/> 9 <link rel="help" href="http://www.w3.org/TR/CSS21/syndata.html#parsing-errors"/> 10 <link rel="help" href="http://www.w3.org/TR/css-fonts-3/#font-family-prop"/> 11 <link rel="match" href="font-family-invalid-characters-005-ref.html"/> 12 <meta name="flags" content="ahem invalid" /> 13 <meta name="assert" content="Invalid characters in font family names."/> 14 <link rel="stylesheet" type="text/css" href="/fonts/ahem.css" /> 15 <style type="text/css"> 16 <![CDATA[ 17 #div1 18 { 19 background: red; 20 font-family: test"foo, Ahem; 21 color: red; 22 background: transparent; 23 } 24 #div2 25 { 26 font-family: test"foo", Ahem; 27 } 28 #div3 29 { 30 background: red; 31 font-family: test'foo, Ahem; 32 color: red; 33 background: transparent; 34 } 35 #div4 36 { 37 font-family: test'foo', Ahem; 38 } 39 ]]> 40 </style> 41 </head> 42 <body> 43 <p>Test passes if there are only numbers (1-4) below and no red visible on the page.</p> 44 <div id="div1">1</div> 45 <div id="div2">2</div> 46 <div id="div3">3</div> 47 <div id="div4">4</div> 48 </body> 49 </html>