Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / transforms / transformed-document-element.html
blob56c86c71bd3c49a68699a186dedc194c44f5e0b8
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
2 "http://www.w3.org/TR/html4/loose.dtd">
4 <html lang="en">
5 <head>
6 <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
7 <title>Transform on Document</title>
8 </head>
9 <body style="background-image:url('../../compositing/repaint/resources/grid.png')">
10 <p>The background of root element shall respect transform but expands to the whole viewport.</p>
11 <script type="text/javascript" charset="utf-8">
12 // do this dynamically to avoid pixels from the previous test in potentially unpainted areas
13 document.documentElement.style.webkitTransform = 'translateY(200px) rotate(20deg)';
14 </script>
15 </body>
16 </html>