tor-browser

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

border-right-width-thin.html (1018B)


      1 <!DOCTYPE html>
      2 <html>
      3 <head>
      4 <title>CSS Borders: border-right-width: thin equals 1px</title>
      5 <link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#border-width">
      6 <link rel="match" href="reference/border-right-width-1px-ref.html">
      7 <meta name="assert" content="The 'thin' keyword for 'border-right-width' is 1px." />
      8 <style>
      9  div { display: inline-block; height: 100px; }
     10  .red-if-too-thin { width: 1px; background: red; }
     11  .cb { position: relative; }
     12  .red-if-too-thick { width: 20px; background: red; }
     13  .overlap-red-if-too-thick { width: 20px; background: white; position: absolute; left: 0; }
     14  .border-test { border-right-style: solid; border-right-width: thin; margin-left: -1px; }
     15 </style>
     16 </head>
     17 <body>
     18  <p>There should be a black line below and no red.</p>
     19  <div class=red-if-too-thin></div><!--
     20  --><div class=cb><!--
     21    --><div class=border-test></div><!--
     22    --><div class=red-if-too-thick></div><!--
     23    --><div class=overlap-red-if-too-thick></div><!--
     24  --></div>
     25 </body>
     26 </html>