summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/transforms/transformed-document-element.html
blob: 56c86c71bd3c49a68699a186dedc194c44f5e0b8 (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-image:url('../../compositing/repaint/resources/grid.png')">
<p>The background of root element shall respect transform but expands to the whole viewport.</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>