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

Unified Diff: Source/web/tests/data/touch-action-simple.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: removed unrelated file 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 side-by-side diff with in-line comments
Download patch
Index: Source/web/tests/data/touch-action-simple.html
diff --git a/Source/web/tests/data/touch-action-simple.html b/Source/web/tests/data/touch-action-simple.html
old mode 100644
new mode 100755
index 6219b147008ad7de17dff79be53457787c23a809..436e744371457cd6ea5d3628953e17b67c9680ba
--- a/Source/web/tests/data/touch-action-simple.html
+++ b/Source/web/tests/data/touch-action-simple.html
@@ -8,6 +8,9 @@
<div expected-action='auto'>Simple div with no explicit touch-action</div>
<div class='ta-none' expected-action='none'>Simple div with touch-action: none</div>
+<div class='ta-panx' expected-action='pan-x'>Simple div with touch-action: pan-x</div>
Rick Byers 2013/12/12 20:47:24 Please add a separate test case / input file for t
gnana 2013/12/13 16:52:53 Done.
+<div class='ta-pany' expected-action='pan-y'>Simple div with touch-action: pan-y</div>
+<div class='ta-panxy' expected-action='pan-x pan-y'>Simple div with touch-action: pan-x pan-y</div>
<div class='ta-none' style='height: 0; margin-bottom: 50px'>
<div expected-action='none'>
@@ -21,6 +24,48 @@
</div>
</div>
+<div class='ta-none' style='height: 0; margin-bottom: 50px'>
+ <div class='ta-panx' expected-action='none'>
+ Explicitly setting touch-action: pan-x does nothing to prevent propagation of none
+ </div>
+</div>
+
+<div class='ta-none' style='height: 0; margin-bottom: 50px'>
+ <div class='ta-pany' expected-action='none'>
+ Explicitly setting touch-action: pan-y does nothing to prevent propagation of none
Rick Byers 2013/12/12 20:47:24 It's probably overkill to list each possible combi
gnana 2013/12/13 16:52:53 Done.
+ </div>
+</div>
+
+<div class='ta-none' style='height: 0; margin-bottom: 50px'>
+ <div class='ta-panxy' expected-action='none'>
+ Explicitly setting touch-action: pan-x pan-y does nothing to prevent propagation of none
+ </div>
+</div>
+
+<div class='ta-panx' style='height: 0; margin-bottom: 50px'>
Rick Byers 2013/12/12 20:47:24 You don't need the 'height:- margin-bottom: 50px'
gnana 2013/12/13 16:52:53 Done.
+ <div class='ta-pany' expected-action='none'>
+ Explicitly setting touch-action: pan-y does nothing to prevent propagation of pan-x resulting to none
Rick Byers 2013/12/12 20:47:24 I don't think the 'prevent propagation of...' part
gnana 2013/12/13 16:52:53 Done.
+ </div>
+</div>
+
+<div class='ta-pany' style='height: 0; margin-bottom: 50px'>
+ <div class='ta-panx' expected-action='none'>
+ Explicitly setting touch-action: pan-x does nothing to prevent propagation of pan-y resulting to none
+ </div>
+</div>
+
+<div class='ta-panx' style='height: 0; margin-bottom: 50px'>
+ <div class='ta-panxy' expected-action='pan-x'>
+ Explicitly setting touch-action: pan-x pan-y does nothing to prevent propagation of pan-x
+ </div>
+</div>
+
+<div class='ta-pany' style='height: 0; margin-bottom: 50px'>
+ <div class='ta-panxy' expected-action='pan-y'>
+ Explicitly setting touch-action: pan-x pan-y does nothing to prevent propagation of pan-y
+ </div>
+</div>
+
<div style='padding: 20px 0'>
<span class='ta-none' expected-action='auto'>Touch-action should be ignored on inline elements
<div expected-action='auto'>And not propagated to any block children</div>

Powered by Google App Engine
This is Rietveld 408576698