tor-browser

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

signed-numbers-001.xht (1198B)


      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 syntax: signed numbers</title>
      5 <link rel="author" title="Bert Bos" href="mailto:bert@w3.org" />
      6 <link rel="help" href="http://www.w3.org/TR/CSS22/syndata.html#numbers" />
      7 <link rel="help" href="http://www.w3.org/TR/CSS22/changes.html#s.4.3.1" />
      8 <link rel="match" href="signed-numbers-001-ref.xht" />
      9 <meta name="assert" content='Both integers and real numbers may immediately be preceded by a "-" or "+" to indicate the sign.' />
     10 <style type="text/css">
     11   div {background: red; width: 20px; height: 100px}
     12   .s1 {background: green; height: 20px}
     13   .s2 {background: green; height: 10px; height: +20px}
     14   .s3 {background: green; height: 20px; height: 1 0px}
     15   .s4 {background: green; height: 20px; height: 1/*comment*/0px}
     16   .s5 {background: green; height: 20px; height: + 10px}
     17 </style>
     18 </head>
     19 <body>
     20   <p>This should show a tall green bar, and no red.</p>
     21   <div>
     22     <div class="s1"></div>
     23     <div class="s2"></div>
     24     <div class="s3"></div>
     25     <div class="s4"></div>
     26     <div class="s5"></div>
     27   </div>
     28 </body>
     29 </html>