tor-browser

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

contain-size-056.html (813B)


      1 <!DOCTYPE html>
      2 
      3  <meta charset="UTF-8">
      4 
      5  <title>CSS Containment Test: 'contain: size' applies to caption element</title>
      6 
      7  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
      8  <link rel="help" href="https://www.w3.org/TR/css-contain-1/#containment-size">
      9  <link rel="match" href="reference/contain-size-056-ref.html">
     10 
     11 
     12  <style>
     13  table
     14    {
     15      width: 400px;
     16    }
     17 
     18  caption
     19    {
     20      border: orange solid 3px;
     21      color: blue;
     22      contain: size;
     23      font-size: 32px;
     24    }
     25  </style>
     26 
     27  <p>Test passes if the words "Table caption" are below a thick orange line. Test fails if, instead of a thick orange line, there is an orange rectangle with the words "Table caption" in it.
     28 
     29  <table>
     30    <caption>Table caption</caption>
     31  </table>