tor-browser

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

line-clamp-026.html (1304B)


      1 <!DOCTYPE html>
      2 <meta charset="utf-8">
      3 <title>CSS Overflow: ruby annotations after the clamp point are not rendered</title>
      4 <link rel="author" title="Andreu Botella" href="mailto:abotella@igalia.com">
      5 <link rel="help" href="https://drafts.csswg.org/css-overflow-4/#line-clamp">
      6 <link rel="match" href="reference/line-clamp-026-ref.html">
      7 <meta name="assert" content="Ruby annotations are part of a line box's content, and therefore must not be rendered if the line box wouldn't be">
      8 <style>
      9 .clamp {
     10  line-clamp: 3;
     11 
     12  font: 16px / 32px serif;
     13  white-space: pre-wrap;
     14 }
     15 .ruby-under ruby {
     16  ruby-position: under;
     17 }
     18 </style>
     19 <div class="clamp"><ruby><rt>いち</ruby><ruby><rt>ぎょう</ruby><ruby><rt></ruby>
     20 <span class="ruby-under"><ruby><rt></ruby><ruby><rt>ぎょう</ruby><ruby><rt></ruby></span>
     21 <ruby><rt><ruby>さん<rt>san</ruby></ruby><ruby><rt><ruby>ぎょう<rt>gyou</ruby></ruby><ruby><rt><ruby><rt>me</ruby></ruby>
     22 <ruby><rt>よん</ruby><ruby><rt>ぎょう</ruby><ruby><rt></ruby>
     23 <span class="ruby-under"><ruby><rt></ruby><ruby><rt>ぎょう</ruby><ruby><rt></ruby></span>
     24 <ruby><rt><ruby>ろく<rt>roku</ruby></ruby><ruby><rt><ruby>ぎょう<rt>gyou</ruby></ruby><ruby><rt><ruby><rt>me</ruby></ruby></div>