tor-browser

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

inline-intrinsic-size-calc.html (676B)


      1 <!doctype html>
      2 <title>Calc gets resolved with 0 percent basis for intrinsic size computation</title>
      3 <link rel="author" title="Emilio Cobos Álvarez" href="mailto:emilio@crisal.io">
      4 <link rel="author" title="Mozilla" href="https://mozilla.org">
      5 <link rel="match" href="inline-intrinsic-size-calc-ref.html">
      6 <link rel="help" href="https://bugzilla.mozilla.org/show_bug.cgi?id=1733952">
      7 <link rel="help" href="https://drafts.csswg.org/css-sizing/#cyclic-percentage-contribution">
      8 <style>
      9  div {
     10    background-color: green;
     11    width: max-content;
     12  }
     13  span {
     14    margin-left: calc(0% + 30px);
     15    padding-left: calc(0% + 50px);
     16  }
     17 </style>
     18 <div>
     19  <span>ABCD</span>
     20 </div>