tor-browser

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

border-width.html (703B)


      1 <!DOCTYPE html>
      2 <title>CSS zoom applies to border-width when specified and inherited</title>
      3 <link rel="help" href="https://drafts.csswg.org/css-viewport/">
      4 <link rel="match" href="border-width-ref.html">
      5 <style>
      6 .box {
      7  width: 60px;
      8  height: 60px;
      9  border: 8px solid red;
     10  margin: 10px;
     11  display: inline-block;
     12 }
     13 .box-rem {
     14  width: 60px;
     15  height: 60px;
     16  border: 0.5rem solid blue;
     17  margin: 10px;
     18  display: inline-block;
     19 }
     20 .zoom {
     21  zoom: 2;
     22 }
     23 </style>
     24 
     25 <div class="box">unzoomed px</div>
     26 <div class="box-rem">unzoomed rem</div>
     27 
     28 <div class="zoom">
     29  <div class="box">zoomed px</div>
     30 </div>
     31 
     32 <div class="zoom box">zoomed inherited px</div>
     33 <div class="zoom box-rem">zoomed inherited rem</div>