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

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

Issue 16507017: Initial touch-action main thread implementation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Merge with trunk (no changes) 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-overflow.html
diff --git a/Source/web/tests/data/touch-action-overflow.html b/Source/web/tests/data/touch-action-overflow.html
new file mode 100644
index 0000000000000000000000000000000000000000..525aade4a579726e6a61abeda17d3c69a150626f
--- /dev/null
+++ b/Source/web/tests/data/touch-action-overflow.html
@@ -0,0 +1,26 @@
+<!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 overflow: scroll elements.
+-->
+<div class='scroll' style='height:75px'>
+ <div class='ta-none' expected-action="none">
+ touch-action: none still applies in scrollable area
+ </div>
+ <div class='spacer'></div>
+</div>
+
+<div class='ta-none scroll' style='height:75px'>
+ <div expected-action='none'>
+ Touch-action inherited by child in scrollable area
+ </div>
+ <div class='spacer'></div>
+</div>
+
+<div class='ta-none'>
+ <div class='scroll' expected-action='auto'>
+ Touch-action: none is not propagated into overflow-scroll elements
+ </div>
+</div>

Powered by Google App Engine
This is Rietveld 408576698