Index: LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
diff --git a/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html b/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
deleted file mode 100644 |
index d264e4f9817479958495dc390206772eeec62cf2..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/scroll-behavior/subframe-interrupted-scroll.html |
+++ /dev/null |
@@ -1,40 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
- <style> |
- #subframe { |
- width: 200px; |
- height: 200px; |
- } |
- </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) { |
- var subframe = document.getElementById('subframe'); |
- var currentX = subframe.contentDocument.documentElement.scrollTop; |
- subframe.contentWindow.scrollTo(currentX, y, {behavior: 'smooth'}); |
- } |
- |
- function doTest() |
- { |
- const targets = {y_min: 40, y_mid: 3500, y_max: 7000}; |
- const innerPoint = {x: 100, y: 100} |
- var subframeDocumentElement = document.getElementById('subframe').contentDocument.documentElement; |
- var scrollInterruptionTest = new SmoothScrollInterruptionTest(subframeDocumentElement, |
- innerPoint, |
- targets, |
- jsScroll); |
- scrollInterruptionTest.run(); |
- } |
- |
- window.addEventListener('load', doTest, false); |
- </script> |
-</head> |
- |
-<body> |
- <p>Test that interrupting a smooth scroll on a subframe works with both scroll behaviors and with input</p> |
- <iframe id="subframe" src="resources/large-subframe.html"></iframe> |
-</body> |
-</html> |