summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/transforms/transformed-document-element.html
blob: 81a61f1ca48ff2a5368b9dd85012769d50b5f02c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
   "http://www.w3.org/TR/html4/loose.dtd">

<html lang="en">
<head>
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
  <title>Transform on Document</title>
</head>
<body style="background-color: gray">
<p>The portions of the view exposed by the transformed document should be painted white</p>
<script type="text/javascript" charset="utf-8">
  // do this dynamically to avoid pixels from the previous test in potentially unpainted areas
  document.documentElement.style.webkitTransform = 'translateY(200px) rotate(20deg)';
</script>
</body>
</html>