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

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

Issue 46163008: Revert "Re-land deferred compositing updates with fixed assumptions" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: 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: LayoutTests/fast/events/touch/compositor-touch-hit-rects-trigger-commit.html
diff --git a/LayoutTests/fast/events/touch/compositor-touch-hit-rects-trigger-commit.html b/LayoutTests/fast/events/touch/compositor-touch-hit-rects-trigger-commit.html
deleted file mode 100644
index 4d993e465e7220fb80e83744f19e06d0e700d42e..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/events/touch/compositor-touch-hit-rects-trigger-commit.html
+++ /dev/null
@@ -1,49 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-
-<style>
- #touchElement {
- width: 20px;
- height: 20px;
- }
-</style>
-
-</head>
-<body>
-
-<p id="description">
-This tests checks that deferred compositing is still invoked when nothing except touch hit rects change.
-The trickiness is that touch hit rects cannot be recomputed until after compositing is updated, so
-there is a risk of accidentally skipping updating touch rects unless we ping the compositor correctly.
-</p>
-
-<div id="touchElement"></div>
-
-<pre id="result"></pre>
-
-<script>
-
- function dummyListener() { }
-
- if (window.testRunner)
- testRunner.dumpAsText();
-
- if (window.internals) {
- window.internals.settings.setForceCompositingMode(true);
- window.internals.forceCompositingUpdate(document);
- document.getElementById("touchElement").addEventListener("touchmove", dummyListener, false);
- window.internals.forceCompositingUpdate(document);
-
- var rects = window.internals.touchEventTargetLayerRects(document);
- if (rects && rects.length == 1)
- document.getElementById("result").innerHTML = "PASS";
- else
- document.getElementById("result").innerHTML = "FAIL";
-
- } else {
- document.getElementById("result").innerHTML = "This test can only be run as a layout test.";
- }
-
-</script>
-</body>

Powered by Google App Engine
This is Rietveld 408576698