Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(14)

Side by Side Diff: LayoutTests/platform/chromium-android/compositing/layer-creation/overflow-scrolling-touch.html

Issue 12254005: Merge 141769 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1364/
Patch Set: Created 7 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <style>
5 .trigger {
6 width: 200px;
7 height: 200px;
8 background-color: blue;
9 -webkit-transform: translateZ(0);
10 }
11
12 .overflow-scrolling-touch {
13 width: 200px;
14 height: 200px;
15 position: absolute;
16 top: 0px;
17 left: 0px;
18 overflow: scroll;
19 -webkit-overflow-scrolling: touch;
20 background-color: blue;
21 }
22
23 .content {
24 width: 1000px;
25 height: 1000px;
26 position: relative;
27 top: 50px;
28 left: 50px;
29 background-color: green;
30 }
31 </style>
32
33 <script type="text/javascript" charset="utf-8">
34 if (window.layoutTestController) {
35 layoutTestController.dumpAsText();
36 layoutTestController.waitUntilDone();
37 }
38
39 function doTest()
40 {
41 if (window.layoutTestController) {
42 document.getElementById('layers').innerText = window.internals.layerTree AsText(document);
43 layoutTestController.notifyDone();
44 }
45 }
46
47 window.addEventListener('load', doTest, false);
48 </script>
49 </head>
50
51 <body>
52 <div class="trigger"></div>
53
54 <div class="overflow-scrolling-touch">
55 <div class="content"></div>
56 </div>
57
58 <pre id="layers">Layer tree goes here in DRT</pre>
59 </body>
60 </html>
61
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698