tor-browser

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

contain-size-004.html (834B)


      1 <!doctype html>
      2 <html lang=en>
      3  <meta charset=utf-8>
      4  <title>CSS-contain test: size containment on ruby-text-container</title>
      5  <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
      6  <meta name=flags content="">
      7  <meta name=assert content="size containment does not to apply ruby-text-container, which is an internal ruby element">
      8  <link rel="match" href="reference/contain-size-004-ref.html">
      9  <link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-size">
     10  <link rel=help href="https://drafts.csswg.org/css-display-3/#internal-ruby-element">
     11 
     12 <style>
     13 div {
     14  overflow: hidden;
     15  position: absolute;
     16 }
     17 rtc {
     18  contain: size;
     19  display: ruby-text-container;
     20  font-size: 1rem;
     21 }
     22 </style>
     23 
     24 <p>This test passes if you can see the word PASS below.
     25 <div><ruby><rtc>PASS</rtc></ruby></div>