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

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

Issue 134153016: add 'manipulation' support to CSS touch-action parsing. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 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
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
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>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698