tor-browser

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

svg-intrinsic-size-006-ref.html (904B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Test Reference: Test SVG intrinsic sizing with and without preferred aspect-ratio</title>
      4 <link rel="author" title="Ting-Yu Lin" href="mailto:tlin@mozilla.com">
      5 <link rel="author" title="Mozilla" href="https://mozilla.org">
      6 <link rel="help" href="https://drafts.csswg.org/css-sizing-3/#intrinsic-sizes">
      7 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1801581">
      8 
      9 <style>
     10 div {
     11  width: 300px;
     12  height: 30px;
     13  background: green;
     14  line-height: 0;
     15  border: 5px solid black;
     16  margin: 5px;
     17 }
     18 </style>
     19 
     20 <!-- Chrome 110 and Safari 16.4 render these two divs with zero width. -->
     21 <div style="width: 0; height: 0"></div>
     22 <div style="width: 0; height: 0"></div>
     23 
     24 <!-- Chrome 110 and Safari 16.4 render the following divs with 300px width. -->
     25 <div style="width: 300px; height: 150px"></div>
     26 <div></div>
     27 <div></div>
     28 <div></div>
     29 <div></div>