| Index: LayoutTests/platform/chromium/accessibility/scroll-to-make-visible-with-subfocus.html
|
| diff --git a/LayoutTests/platform/chromium/accessibility/scroll-to-make-visible-with-subfocus.html b/LayoutTests/platform/chromium/accessibility/scroll-to-make-visible-with-subfocus.html
|
| deleted file mode 100644
|
| index bf6b832349bc4ae23ce820a97137744a6958e112..0000000000000000000000000000000000000000
|
| --- a/LayoutTests/platform/chromium/accessibility/scroll-to-make-visible-with-subfocus.html
|
| +++ /dev/null
|
| @@ -1,47 +0,0 @@
|
| -<html>
|
| -<head>
|
| -<link rel="stylesheet" href="../../../fast/js/resources/js-test-style.css">
|
| -<script src="../../../fast/js/resources/js-test-pre.js"></script>
|
| -</head>
|
| -<body>
|
| -
|
| -<p id="description"></p>
|
| -
|
| -<div style="border: 1px solid #000; height: 5000px;">5000-pixel box</div>
|
| -<button id="target" style="height: 5000px;">Target</button>
|
| -
|
| -<div id="console"></div>
|
| -
|
| -<script>
|
| -description("Tests that scrolling to make a certain region within an element visible successfully scrolls the main window.");
|
| -
|
| -function runTest() {
|
| - var target = document.getElementById("target");
|
| -
|
| - if (window.accessibilityController) {
|
| - target.focus();
|
| - var targetAccessibleObject = accessibilityController.focusedElement;
|
| - }
|
| -
|
| - // Reset the initial scroll position (since calling focus() can scroll the page too).
|
| - window.scrollTo(0, 0);
|
| - shouldBe("window.pageYOffset", "0");
|
| -
|
| - // Scroll to make the midpoint of the target visible and check.
|
| - if (window.accessibilityController)
|
| - targetAccessibleObject.scrollToMakeVisibleWithSubFocus(0, 2500, 100, 2600);
|
| - window.minYOffset = target.offsetTop + 2500 - window.innerHeight;
|
| - window.maxYOffset = target.offsetTop + 2500;
|
| - shouldBe("window.pageYOffset >= minYOffset", "true");
|
| - shouldBe("window.pageYOffset <= maxYOffset", "true");
|
| -
|
| - finishJSTest();
|
| -}
|
| -
|
| -runTest();
|
| -
|
| -</script>
|
| -
|
| -<script src="../../../fast/js/resources/js-test-post.js"></script>
|
| -</body>
|
| -</html>
|
|
|