tor-browser

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

font-family-invalid-characters-004.xht (1897B)


      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 square brackets 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-002-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             #div3
     18             {
     19                 background: red;
     20             }
     21             #div1
     22             {
     23                 font-family: test]foo, Ahem;
     24             }
     25             #div2
     26             {
     27                 font-family: test[foo, Ahem;
     28             }
     29             body
     30             {
     31                 background: red;}]
     32             }
     33             #div3
     34             {
     35                 background: transparent;
     36             }
     37             #div3
     38             {
     39                 font-family: test[foo], Ahem;
     40             }
     41             ]]>
     42         </style>
     43     </head>
     44     <body>
     45         <p>Test passes if there are only numbers (1-3) below and no red visible on the page.</p>
     46         <div id="div1">1</div>
     47         <div id="div2">2</div>
     48         <div id="div3">3</div>
     49     </body>
     50 </html>