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

Unified Diff: Source/web/tests/data/touch-action-tests.css

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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/web/tests/data/touch-action-pan.html ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/web/tests/data/touch-action-tests.css
diff --git a/Source/web/tests/data/touch-action-tests.css b/Source/web/tests/data/touch-action-tests.css
old mode 100644
new mode 100755
index 386d132c10d12f3592995f651ade9de9e4cbe62a..b945ac35669cdbc2de1f059da8816c247d84b537
--- a/Source/web/tests/data/touch-action-tests.css
+++ b/Source/web/tests/data/touch-action-tests.css
@@ -10,6 +10,18 @@
-ms-touch-action: auto;
touch-action: auto;
}
+.ta-panx {
+ -ms-touch-action: pan-x;
+ touch-action: pan-x;
+}
+.ta-pany {
+ -ms-touch-action: pan-y;
+ touch-action: pan-y;
+}
+.ta-panxy {
+ -ms-touch-action: pan-x pan-y;
+ touch-action: pan-x pan-y;
+}
/* Make it easy to visualize div boundaries */
[expected-action] {
@@ -25,6 +37,15 @@
[expected-action=auto]::before {
content: "AUTO \2190 ";
}
+[expected-action=pan-x]::before {
+ content: "PAN-X \2190 ";
+}
+[expected-action=pan-y]::before {
+ content: "PAN-Y \2190 ";
+}
+[expected-action=pan-x-y]::before {
+ content: "PAN-X PAN-Y \2190 ";
+}
body {
/* Leave gap for test to scroll down */
« no previous file with comments | « Source/web/tests/data/touch-action-pan.html ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698