OLD | NEW |
---|---|
1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'> | 2 <link rel='stylesheet' type='text/css' href='touch-action-tests.css'> |
3 <script src='touch-action-tests.js'></script> | 3 <script src='touch-action-tests.js'></script> |
4 | 4 |
5 <!-- | 5 <!-- |
6 Test a bunch of complex cases where touch-action: [pan-x ||pan-y]. | 6 Test a bunch of complex cases where touch-action: [pan-x ||pan-y]. |
7 --> | 7 --> |
8 | 8 |
9 <div class='ta-panx' expected-action='pan-x'>Simple div with touch-action: pan-x </div> | 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> | 10 <div class='ta-pany' expected-action='pan-y'>Simple div with touch-action: pan-y </div> |
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
45 <div class='ta-pany' expected-action='none'> | 45 <div class='ta-pany' expected-action='none'> |
46 Disjoint flags intersect to none | 46 Disjoint flags intersect to none |
47 </div> | 47 </div> |
48 </div> | 48 </div> |
49 </div> | 49 </div> |
50 | 50 |
51 <div class='ta-panx'> | 51 <div class='ta-panx'> |
52 <div class='scroll ta-pany' expected-action='pan-y'> | 52 <div class='scroll ta-pany' expected-action='pan-y'> |
53 Touch-action: pan-x is not propagated into overflow-scroll elements | 53 Touch-action: pan-x is not propagated into overflow-scroll elements |
54 </div> | 54 </div> |
55 </div> | 55 </div> |
56 | |
57 <div class='ta-panx'> | |
Rick Byers
2014/03/05 14:41:13
please also add a simple test for 'manipulation' o
gnana
2014/03/06 08:11:14
Done.
| |
58 <div class='ta-manipulation' expected-action='pan-x'> | |
59 Explicitly setting touch-action: manipulation does nothing to prevent propag ation of 'pan-x' | |
60 </div> | |
61 </div> | |
OLD | NEW |