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

Side by Side Diff: LayoutTests/fast/events/touch/compositor-touch-hit-rects-non-composited-scroll.html

Issue 148423004: Only report bounding box touch hit rect for non-composited scroll layers. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update test description Created 6 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 | Annotate | Revision Log
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <link rel="stylesheet" href="resources/compositor-touch-hit-rects.css">
5 <style>
6 .scroll {
7 overflow-y: scroll;
8 /* Make this just big enough for clipping to occur so we can verify the
9 hit rect is also clipped. */
10 height: 23px;
11 border: 1px solid lightgrey;
12 }
13 </style>
14 </head>
15 <body>
16 <p id="description">
17 This test verifies the hit test regions given to the compositor specifically aro und non-composited
18 overflow scroll elements.
19 </p>
20
21 <div id="tests">
22 <div class="scroll" id="scrollContainer">
23 <div style='height: 13px;'></div>
24 <div class="testcase" id="scrollContent">Scroll content</div>
25 <div style='height: 50px;'></div>
26 </div>
27
28 <div class="scroll testcase" id="scrollContainerWithHandler">
29 <div style='height: 13px;'></div>
30 <div>Scroll content</div>
31 <div style='height: 50px;'></div>
32 </div>
33 </div>
34
35 <div id="console"></div>
36 <div style="height: 1000px;"></div>
37 <script src="resources/compositor-touch-hit-rects.js"></script>
38 <script>
39 // Make fixed-position cases slightly more interesting
40 window.scrollTo(0, 13);
41
42 if (window.internals) {
43 window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(fa lse);
44 }
45 </script>
46 </body>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698