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

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: Don't add delay param to public API just yet Created 7 years, 1 month 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..7126cd7bc64b89b4c64f11c9f01bbcacd1b6d7ab
--- /dev/null
+++ b/Source/web/tests/data/touch-action-overflow.html
@@ -0,0 +1,35 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <link rel="stylesheet" type="text/css" href="touch-action-tests.css"/>
+ <script src="touch-action-tests.js"></script>
+</head>
+<body>
+
+<!--
+ 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>
+
+</body>
+</html>
+

Powered by Google App Engine
This is Rietveld 408576698