chromium/third_party/blink/web_tests/external/wpt/css/css-contain/contain-size-062.html

<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Containment Test: 'contain: size' applies to block box (basic)</title>

  <link rel="author" title="GĂ©rard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
  <link rel="help" href="https://www.w3.org/TR/css-contain-1/#containment-size">
  <link rel="match" href="reference/contain-size-062-ref.html">


  <style>
  div
    {
      border: orange solid 3px;
      color: blue;
      contain: size;
      font-size: 32px;
      width: 400px;
    }
  </style>

  <p>Test passes if the words "Text sample" are below a thick orange line. Test fails if, instead of a thick orange line, there is an orange rectangle with the words "Text sample" in it.

  <div>Text sample</div>