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

Unified Diff: third_party/WebKit/LayoutTests/fast/css/touch-action-parsing.html

Issue 2126323002: Add support for touch-action: pinch-zoom. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Add exception for mac Created 4 years, 3 months 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/LayoutTests/fast/css/touch-action-parsing.html
diff --git a/third_party/WebKit/LayoutTests/fast/css/touch-action-parsing.html b/third_party/WebKit/LayoutTests/fast/css/touch-action-parsing.html
deleted file mode 100644
index c53d146f8581a35ec5371cbaf886a3ea2d01b406..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/css/touch-action-parsing.html
+++ /dev/null
@@ -1,73 +0,0 @@
-<!DOCTYPE HTML>
-<html>
-<head>
-<script src="../../resources/js-test.js"></script>
-<style>
-/*
- Give some rules below something to override in order to test
- that they really are being parsed
-*/
-.defnone {
- touch-action: none;
-}
-</style>
-</head>
-<body>
-<p id="description"></p>
-<div class="test" id="default" expected="auto"></div>
-<div class="test defnone" id="stylesheet-none" expected="none"></div>
-<div class="test defnone" id="explicit-auto" style="touch-action: auto;" expected="auto"></div>
-<div class="test" id="explicit-pan-x" style="touch-action: pan-x;" expected="pan-x"></div>
-<div class="test" id="explicit-pan-left" style="touch-action: pan-left;" expected="pan-left"></div>
-<div class="test" id="explicit-pan-right" style="touch-action: pan-right;" expected="pan-right"></div>
-<div class="test" id="explicit-pan-y" style="touch-action: pan-y;" expected="pan-y"></div>
-<div class="test" id="explicit-pan-up" style="touch-action: pan-up;" expected="pan-up"></div>
-<div class="test" id="explicit-pan-down" style="touch-action: pan-down;" expected="pan-down"></div>
-<div class="test" id="explicit-pan-x-pan-y" style="touch-action: pan-x pan-y;" expected="pan-x pan-y"></div>
-<div class="test" id="explicit-pan-y-pan-x" style="touch-action: pan-y pan-x;" expected="pan-x pan-y"></div>
-<div class="test" id="explicit-pan-left-pan-up" style="touch-action: pan-left pan-up;" expected="pan-left pan-up"></div>
-<div class="test" id="explicit-pan-left-pan-down" style="touch-action: pan-left pan-down;" expected="pan-left pan-down"></div>
-<div class="test" id="explicit-pan-right-pan-up" style="touch-action: pan-right pan-up;" expected="pan-right pan-up"></div>
-<div class="test" id="explicit-pan-right-pan-down" style="touch-action: pan-right pan-down;" expected="pan-right pan-down"></div>
-<div class="test" id="explicit-pan-up-pan-left" style="touch-action: pan-up pan-left;" expected="pan-left pan-up"></div>
-<div class="test" id="explicit-pan-up-pan-right" style="touch-action: pan-up pan-right;" expected="pan-right pan-up"></div>
-<div class="test" id="explicit-pan-down-pan-left" style="touch-action: pan-down pan-left;" expected="pan-left pan-down"></div>
-<div class="test" id="explicit-pan-down-pan-right" style="touch-action: pan-down pan-right;" expected="pan-right pan-down"></div>
-<div class="test" id="explicit-manipulation" style="touch-action: manipulation;" expected="manipulation"></div>
-<div class="test" id="explicit-none" style="touch-action: none;" expected="none"></div>
-<div class="test" id="explicit-invalid-1" style="touch-action: bogus;" expected="auto"></div>
-<div class="test defnone" id="explicit-invalid-2" style="touch-action: auto pan-x;" expected="none"></div>
-<div class="test" id="explicit-invalid-3" style="touch-action: pan-y none;" expected="auto"></div>
-<div class="test" id="explicit-invalid-4" style="touch-action: pan-x pan-x;" expected="auto"></div>
-<div class="test" id="explicit-invalid-5" style="touch-action: manipulation pan-x;" expected="auto"></div>
-<div class="test" id="explicit-invalid-6" style="touch-action: pan-x pan-left;" expected="auto"></div>
-<div class="test" id="explicit-invalid-7" style="touch-action: auto pan-left;" expected="auto"></div>
-<div class="test" id="explicit-invalid-8" style="touch-action: none pan-left;" expected="auto"></div>
-<div class="test" id="explicit-invalid-9" style="touch-action: pan-x pan-right;" expected="auto"></div>
-<div class="test" id="explicit-invalid-10" style="touch-action: pan-y pan-up;" expected="auto"></div>
-<div class="test" id="explicit-invalid-11" style="touch-action: pan-y pan-down;" expected="auto"></div>
-<div class="test" id="explicit-invalid-12" style="touch-action: pan-left pan-right;" expected="auto"></div>
-<div class="test" id="explicit-invalid-13" style="touch-action: pan-up pan-down;" expected="auto"></div>
-<div style="touch-action: none;">
- <div class="test" id="not-inherited" expected="auto"></div>
- <div class="test" id="inherit" style="touch-action: inherit;" expected="none"></div>
-</div>
-<div class="test defnone" id="initial" style="touch-action: initial;" expected="auto"></div>
-
-<div id="console"></div>
-<script>
-description("Test the parsing and application of the touch-action property.");
-
-var tests = document.querySelectorAll('.test');
-var style;
-for (var i = 0; i < tests.length; i++) {
- debug('Test case: ' + tests[i].id);
- style = window.getComputedStyle(tests[i]);
- shouldBeEqualToString('style.touchAction', tests[i].attributes.expected.value);
- debug('');
-}
-
-successfullyParsed = true;
-</script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698