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

Unified Diff: LayoutTests/fast/events/touch/compositor-touch-hit-rects-disabled.html

Issue 25507008: Add setting for disabling compositor touch hit testing (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Disable hit testing setting - add test Created 7 years, 2 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
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/compositor-touch-hit-rects-disabled-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/fast/events/touch/compositor-touch-hit-rects-disabled.html
diff --git a/LayoutTests/fast/events/touch/compositor-touch-hit-rects-disabled.html b/LayoutTests/fast/events/touch/compositor-touch-hit-rects-disabled.html
new file mode 100644
index 0000000000000000000000000000000000000000..33bcd6f0f5240ba074a8dca06e5231b6037c947f
--- /dev/null
+++ b/LayoutTests/fast/events/touch/compositor-touch-hit-rects-disabled.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+<head>
+<link rel="stylesheet" href="resources/compositor-touch-hit-rects.css">
+<style>
+</style>
+</head>
+<body>
+<script>
+if (window.internals) {
+ window.internals.settings.setCompositorTouchHitTesting(false);
+}
+</script>
+<p id="description">
+This tests verifies that hit testing can be disabled.
+</p>
+
+<div id="tests">
+ <div class="testcase" id="normalFlow">
+ Normal
+ <span>flow</span>.
+ </div>
+</div>
+
+<div id="console"></div>
+<div style="height: 1000px;"></div>
+<script src="resources/compositor-touch-hit-rects.js"></script>
+</body>
« no previous file with comments | « no previous file | LayoutTests/fast/events/touch/compositor-touch-hit-rects-disabled-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698