tor-browser

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

border-008.xht (1775B)


      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: Border set using border-color border-width</title>
      5         <link rel="author" title="Microsoft" href="http://www.microsoft.com/"/>
      6         <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/"/> <!-- 2012-05-16 -->
      7         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#propdef-border"/>
      8         <link rel="help" href="http://www.w3.org/TR/CSS21/box.html#border-shorthand-properties"/>
      9         <link rel="help" href="http://www.w3.org/TR/css3-background/#borders"/>
     10         <link rel="help" href="http://www.w3.org/TR/css3-background/#the-border-shorthands"/>
     11         <link rel="match" href="border-005-ref.xht"/>
     12         <meta name="assert" content="The 'border' shorthand property properly accepts and sets 'border-color' and 'border-width'."/>
     13         <style type="text/css">
     14             div
     15             {
     16                 position: relative;
     17             }
     18             #test
     19             {
     20                 border: blue 1in;
     21                 border-style: solid;
     22                 height: 0;
     23                 width: 0;
     24             }
     25             #reference
     26             {
     27                 background: red;
     28                 height: 2in;
     29                 left: 0;
     30                 position: absolute;
     31                 top: 0;
     32                 width: 2in;
     33             }
     34         </style>
     35     </head>
     36     <body>
     37         <p>Test passes if there is a filled blue square and <strong>no red</strong>.</p>
     38         <div id="wrapper">
     39             <div id="reference"></div>
     40             <div id="test"></div>
     41         </div>
     42     </body>
     43 </html>