summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-transforms/transform-origin-007-ref.html
blob: 0febe427a176f26d2276aac835d24bff68694e52 (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 Transforms Test Reference File</title>
<link rel="author" title="Intel" href="http://www.intel.com">
<style>
  #test {
    background-color: green;
    height: 50px;
    margin: 50px;
    width: 50px;
  }
  #container {
    background-color: gray;
    height: 150px;
    position: absolute;
    width: 150px;
  }
</style>
<body>
  <p>Test passes if there is a filled green square in the <strong>center</strong> of the gray square and no red.</p>
  <div id="container"><div id="test"></div></div>
</body>