summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/reference/contain-size-062-ref.html
blob: dbfa77f6ac0dfdc03d2f8a8b0407a704617c73a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<!DOCTYPE html>

  <meta charset="UTF-8">

  <title>CSS Reference Test</title>

  <link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">

  <style>
  div
    {
      border: orange solid 3px;
      color: blue;
      font-size: 32px;
      height: 0px;
      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>