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"/> |
esprehn
2013/11/21 16:26:29
Leave off /
Rick Byers
2013/11/21 22:09:29
Done.
|
+ <script src="touch-action-tests.js"></script> |
+</head> |
+<body> |
esprehn
2013/11/21 16:26:29
We usually leave off html, head and body unless yo
Rick Byers
2013/11/21 22:09:29
Done.
|
+ |
+<!-- |
+ Test a bunch of cases involving overflow: scroll elements. |
+--> |
+ |
+ <div class='scroll' style='height:75px'> |
esprehn
2013/11/21 16:26:29
nit: It's nice to be consistent with quoting, the
Rick Byers
2013/11/21 22:09:29
Done.
|
+ <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> |
+ |