summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/reference/contain-content-011-ref.html
blob: 00ad302ca42fffde46687953b4079e76c44f7f66 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
<!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#green-square
    {
      background-color: green;
      height: 100px;
      width: 100px;
    }

  div#result
    {
      font-size: 3em;
    }
  </style>

  <p>Test passes if there is a filled green square, no red and the number 17.

  <div id="green-square"></div>

  <div id="result">17</div>