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

Unified Diff: third_party/WebKit/Source/web/tests/data/touch-action-iframe.html

Issue 1498923004: Don't reset touch-action zoom state at scrollers (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 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: third_party/WebKit/Source/web/tests/data/touch-action-iframe.html
diff --git a/third_party/WebKit/Source/web/tests/data/touch-action-iframe.html b/third_party/WebKit/Source/web/tests/data/touch-action-iframe.html
new file mode 100644
index 0000000000000000000000000000000000000000..336478a790d536889a0c2814bb76dd5cea37e071
--- /dev/null
+++ b/third_party/WebKit/Source/web/tests/data/touch-action-iframe.html
@@ -0,0 +1,24 @@
+<!DOCTYPE html>
+<link rel='stylesheet' type='text/css' href='touch-action-tests.css'>
+<script src='touch-action-tests.js'></script>
+
+<!--
+ Test a bunch of cases involving iframes.
+-->
+<iframe srcdoc="
+ <div style='touch-action: none;' expected-action='none'>
+ touch-action: none still applies inside an iframe
+ </div>
+"></iframe>
+
+<iframe style='touch-action: none;' srcdoc="
+ <div expected-action='pan-x-y'>
+ Zoom (but not scroll) related touch-action bits propagate into iframes
+ </div>
+"></iframe>
+
+<iframe style='touch-action: manipulation;' srcdoc="
+ <div expected-action='manipulation'>
+ touch-action: manipulation is maintained across iframes
+ </div>
+"></iframe>

Powered by Google App Engine
This is Rietveld 408576698