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

Unified Diff: LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html

Issue 400763003: Revert of Scroll interruption tests for CSSOM View smooth scroll (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 5 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/fast/scroll-behavior/overflow-interrupted-scroll.html
diff --git a/LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html b/LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html
deleted file mode 100644
index 869a4ec1fdc63cd1da91d52d690647a6e4e2d219..0000000000000000000000000000000000000000
--- a/LayoutTests/fast/scroll-behavior/overflow-interrupted-scroll.html
+++ /dev/null
@@ -1,46 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
- <style>
- #container {
- width: 200px;
- height: 200px;
- overflow: scroll;
- }
-
- #content {
- width: 7500px;
- height: 7500px;
- background-color: blue;
- }
- </style>
- <script src="../../resources/testharness.js"></script>
- <script src="../../resources/testharnessreport.js"></script>
- <script src="resources/scroll-interruption-test.js"></script>
- <script type="text/javascript">
- function jsScroll(y) {
- document.getElementById('container').scrollTop = {y: y, behavior: 'smooth'};
- }
-
- function doTest() {
- const targets = {y_min: 40, y_mid: 3500, y_max: 7000};
- const innerPoint = {x: 100, y: 100};
- var element = document.getElementById('container');
- var scrollInterruptionTest = new SmoothScrollInterruptionTest(element,
- innerPoint,
- targets,
- jsScroll);
- scrollInterruptionTest.run();
- }
-
- window.addEventListener('load', doTest, false);
- </script>
-</head>
-
-<body>
- <p>Test that interrupting a smooth scroll on an overflow:scroll element works with both scroll behaviors and with input</p>
- <div id="container">
- <div id="content"></div>
- </div>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698