Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / transforms / transform-inside-overflow-scroll.html
blob6c47644ff044127aaf9b407d954771a5d7406677
1 <html>
2 <head>
3 <style>
4 #scroll {
5 width: 200px;
6 height: 200px;
7 overflow: scroll;
8 border: 1px solid black;
11 #transform {
12 width: 100px;
13 height: 100px;
14 background-color: green;
15 transform: translateY(150px);
17 </style>
18 </head>
20 <body>
22 <p id="result">
23 FAIL. The transform has not been applied to the scrollHeight.
24 </p>
26 <div id="scroll">
27 <div id="transform"></div>
28 </div>
30 <script>
31 if (window.testRunner)
32 testRunner.dumpAsText();
33 var scroll = document.getElementById("scroll");
34 var scrollHeight = scroll.scrollHeight;
35 if (scrollHeight > 200) {
36 var result = document.getElementById("result");
37 result.innerHTML = "SUCCESS! The transform was applied to the scrollHeight!";
39 </script>
40 </body>
41 </html>