upload tizen1.0 source
[framework/web/webkit-efl.git] / LayoutTests / compositing / scroll-painted-composited-content.html
1 <!DOCTYPE html>
2 <html>
3 <head>
4     <title>Test scrolling with composited content that has already been painted</title>
5     <style>
6         body {
7             width: 600px;
8         }
9         div {
10             -webkit-transform: translateZ(0);
11             width: 1000px;
12             height: 800px;
13         }
14     </style>
15 </head>
16 <body>
17     <p>Test for <a href="https://bugs.webkit.org/show_bug.cgi?id=52720">Bug 52720 - REGRESSION
18     (r75987): Assertion failure in WebView::scrollBackingStore when scrolling page with composited
19     content</a>. The test passes if it doesn't assert in Debug builds.</p>
20
21     <div></div>
22
23     <script>
24         if (window.layoutTestController) {
25             layoutTestController.dumpAsText();
26             // Force a paint so that the content will be painted at the current scroll offset (0x0)
27             // before we scroll.
28             layoutTestController.display();
29         }
30         window.scrollBy(300, 0);
31     </script>
32 </body>
33 </html>