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

Unified Diff: LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html

Issue 244193002: Enable universal accelerated overflow scroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Update test expectations for crashing test. Created 6 years, 8 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: LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html
diff --git a/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html b/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html
index e64763bf04b950b02ee871d6d44d36088022d727..4ed9225607ea5cf879be555c9634e9c1cc7abc1a 100644
--- a/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html
+++ b/LayoutTests/compositing/gestures/gesture-tapHighlight-on-promoted-overflow-div.html
@@ -1,16 +1,13 @@
<!DOCTYPE html>
<html>
<head>
- <script src="../../compositing/overflow/resources/automatically-opt-into-composited-scrolling.js"></script>
<link rel="stylesheet" type="text/css" href="resources/link-highlight-style.css">
<script>
if (window.internals)
- window.internals.settings.setAcceleratedCompositingForOverflowScrollEnabled(true);
+ window.internals.settings.setCompositorDrivenAcceleratedScrollingEnabled(true);
function runTest() {
var resultDiv = document.getElementById('result');
- if (!window.internals || !didOptIn(targetDiv))
- resultDiv.innerHTML = "Error: target scrollable overflow div did not opt-in.";
var clientRect = document.getElementById('targetLink').getBoundingClientRect();
x = (clientRect.left + clientRect.right) / 2;
y = (clientRect.top + clientRect.bottom) / 2;

Powered by Google App Engine
This is Rietveld 408576698