tor-browser

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

contain-paint-005.html (784B)


      1 <!doctype html>
      2 <html lang=en>
      3  <meta charset=utf-8>
      4  <title>CSS-contain test: paint containment on ruby-base</title>
      5  <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
      6  <meta name=flags content="">
      7  <meta name=assert content="paint containment does not apply to ruby-base">
      8  <link rel="match" href="../reference/pass_if_pass_below.html">
      9  <link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">
     10 
     11 <style>
     12 rb {
     13  contain: paint;
     14  display: ruby-base;
     15  width: 0; /* Because if the test fails, this may get blockified, and which could make wide enough to hold the PASS */
     16 }
     17 rb::after {
     18  content: "PASS";
     19  position: absolute;
     20 }
     21 </style>
     22 
     23 <p>Test passes if there is the word "PASS" below.</p>
     24 <div><ruby><rb></rb></ruby></div>