summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-animations/animation-offscreen-to-onscreen-ref.html
blob: 76fd70f3e02f93c460ef29fb34488243a9a2a2f5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html>
<title>Validates rendering of a transformed element when the element is initially off screen</title>
<style type="text/css" media="screen">
  body {
    margin: 0;
  }

  #box {
    position: absolute;
    left: 0px;
    top: 100px;
    height: 100px;
    width: 100px;
    margin: 0;
    background-color: green;
    transform: translate(100px, 0px);
  }
</style>
<body>
  <div id="box"></div>
</body>
</html>