tor-browser

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

hyphens-auto-min-content.html (760B)


      1 <!doctype html>
      2 <meta charset=utf-8>
      3 <title>min-content size should match hyphenation</title>
      4 <link rel=author href="mailto:emilio@crisal.io" title="Emilio Cobos Álvarez">
      5 <link rel=author href="https://mozilla.org" title="Mozilla">
      6 
      7 <link rel=help href="https://drafts.csswg.org/css-text-3/#hyphens-property">
      8 <link rel=help href="https://bugzilla.mozilla.org/show_bug.cgi?id=1674204">
      9 
     10 <!--
     11  It's ok to either break or not on the explicit hyphens, but whatever it does
     12  it should match the min-content size
     13 -->
     14 <link rel=match href="hyphens-auto-min-content-ref-1.html">
     15 <link rel=match href="hyphens-auto-min-content-ref-2.html">
     16 
     17 <style>
     18  div {
     19    width: min-content;
     20    hyphens: auto;
     21    border: 1px solid green;
     22  }
     23 </style>
     24 <div>2020-12-12</div>