tor-browser

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

display-contents-text-inherit.html (518B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Display: Apply display:contents text properties to text children</title>
      4 <link rel="author" title="Rune Lillesveen" href="mailto:futhark@chromium.org">
      5 <link rel="help" href="https://drafts.csswg.org/css-display-3/#valdef-display-contents">
      6 <link rel="match" href="display-contents-text-inherit-ref.html">
      7 <style>
      8  div {
      9    display: contents;
     10    white-space: pre;
     11  }
     12 </style>
     13 <p>The words "Two" and "lines" should not be on the same line.</p>
     14 <div>Two
     15 lines</div>