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

Side by Side Diff: Source/web/tests/data/touch-action-pan.html

Issue 103823003: Implement touch-action pan-x/pan-y handling on the main thread (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@issue1
Patch Set: incorporated review comments Created 7 years 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
« no previous file with comments | « Source/web/tests/TouchActionTest.cpp ('k') | Source/web/tests/data/touch-action-tests.css » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'>
3 <script src='touch-action-tests.js'></script>
4
5 <!--
6 Test a bunch of complex cases where touch-action: [pan-x ||pan-y].
7 -->
8
9 <div class='ta-panx' expected-action='pan-x'>Simple div with touch-action: pan-x </div>
10 <div class='ta-pany' expected-action='pan-y'>Simple div with touch-action: pan-y </div>
11 <div class='ta-panxy' expected-action='pan-x-y'>Simple div with touch-action: pa n-x pan-y</div>
12
13 <div class='ta-none' style='height: 0; margin-bottom: 50px'>
14 <div class='ta-panx' expected-action='none'>
15 Explicitly setting touch-action: pan-x does nothing to prevent propagation o f none
16 </div>
17 </div>
18
19 <div class='ta-pany'>
20 <div class='ta-none' expected-action='none'>
21 Explicitly setting touch-action: none prevent propagation of pan-y
22 </div>
23 </div>
24
25 <div class='ta-panx'>
26 <div class='ta-pany' expected-action='none'>
27 Disjoint flags intersect to none
28 </div>
29 </div>
30
31 <div class='ta-panxy'>
32 <div class='ta-auto' expected-action='pan-x-y'>
33 Explicitly setting touch-action: auto does nothing to prevent propagation of 'pan-x pan-y'
34 </div>
35 </div>
36
37 <div class='ta-panx'>
38 <div class='ta-panxy' expected-action='pan-x'>
39 Explicitly setting touch-action: pan-x pan-y does nothing to prevent propaga tion of pan-x
40 </div>
41 </div>
42
43 <div class='ta-panx'>
44 <div class='ta-auto'>
45 <div class='ta-pany' expected-action='none'>
46 Disjoint flags intersect to none
47 </div>
48 </div>
49 </div>
50
51 <div class='ta-panx'>
52 <div class='scroll ta-pany' expected-action='pan-y'>
53 Touch-action: pan-x is not propagated into overflow-scroll elements
54 </div>
55 </div>
OLDNEW
« no previous file with comments | « Source/web/tests/TouchActionTest.cpp ('k') | Source/web/tests/data/touch-action-tests.css » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698