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> |