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

Unified Diff: LayoutTests/platform/chromium/scrollbars/drag-rtl-resizer.html

Issue 14120003: Move LayoutTests from platform/chromium/... to generic location (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 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/platform/chromium/scrollbars/drag-rtl-resizer.html
diff --git a/LayoutTests/platform/chromium/scrollbars/drag-rtl-resizer.html b/LayoutTests/platform/chromium/scrollbars/drag-rtl-resizer.html
deleted file mode 100644
index c5a3ecc7b1793617420e2e6e22983be70ff74ec4..0000000000000000000000000000000000000000
--- a/LayoutTests/platform/chromium/scrollbars/drag-rtl-resizer.html
+++ /dev/null
@@ -1,43 +0,0 @@
-<!DOCTYPE html>
-<html>
-<head>
-<title>Bug 9223</title>
-<script src="../../../fast/js/resources/js-test-pre.js"></script>
-</head>
-<body dir="rtl" style="margin:0px">
-<div id="overflow" dir="rtl" style="border:2px solid black; overflow:auto; width: 400px; height: 400px; resize:both;">
-<div style="background-color:red;height:720px"></div>
-<div style="background-color:green;height:1600px"></div>
-</div>
-<script>
-description('Test that an RTL element renders a resizer to its bottom-left corner and ' +
- 'dragging this resizer to the left changes its width. ' +
- 'To test manually, dragging the resizer of the below element to left, and ' +
- 'see this element increases its width.');
-
-// This test must be async because it needs to wait for WebKit to finish re-layouting elements
-// after sending mouse events.
-jsTestIsAsync = true;
-
-function finished()
-{
- shouldBeTrue('document.getElementById(\'overflow\').offsetWidth > offsetWidth');
- finishJSTest();
-}
-
-var offsetWidth = document.getElementById('overflow').offsetWidth;
-
-if (window.eventSender) {
- var node = document.getElementById('overflow');
- var offsetLeft = node.offsetLeft + 5;
- var offsetTop = node.offsetTop + node.offsetHeight - 5;
- eventSender.mouseMoveTo(offsetLeft, offsetTop);
- eventSender.mouseDown();
- eventSender.mouseMoveTo(offsetLeft - 30, offsetTop);
- eventSender.mouseUp();
- setTimeout(finished, 0);
-}
-</script>
-<script src="../../../fast/js/resources/js-test-post.js"></script>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698