tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

font-family-invalid-characters-006.xht (1629B)


      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 single 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-006-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             ]]>
     29         </style>
     30     </head>
     31     <body>
     32         <p>Test passes if there are only numbers (1-2) below and no red visible on the page.</p>
     33         <div id="div1">1</div>
     34         <div id="div2">2</div>
     35     </body>
     36 </html>