Index: LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html |
diff --git a/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html b/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html |
deleted file mode 100644 |
index edb624db3e75797badd837db341db6a3fea9bbc8..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/selection/selecting-text-through-different-region-flows.html |
+++ /dev/null |
@@ -1,54 +0,0 @@ |
-<!DOCTYPE html> |
-<html> |
-<head> |
-<script src="../resources/helper.js"></script> |
-<style> |
-body { width: 600px; } |
- |
-#footNote { |
- -webkit-flow-into: footNote; |
- display: block; |
- font-size: 13px; |
-} |
- |
-#footNoteRegion { -webkit-flow-from: footNote; } |
-#content { -webkit-flow-into: content; } |
-#region { -webkit-flow-from: content; } |
-</style> |
-</head> |
-<body> |
- |
-<div id="region"></div> |
-<div id="footNoteRegion"></div> |
-<div id="content"> |
- <h1 style="margin-top: 0px">Selecting text through different CSS-Region flows</h1> |
- <div id="contentText"> |
- This text contains a footnote as a nested region what is diplayed below the article. (1) <span id="footNote"> |
- <span><span></span>(1) This is a footnote. Footnotes can be quite long and go over several lines. This footnote |
- is nested inside the text above and displayed here with the help of css-regions.</span></span> If you start selecting |
- text from this article until somewhere in the footnote and then click somewhere, the selection should be cleared. |
- </div> |
-</div> |
- |
-<script> |
-if (window.testRunner) { |
- // We are positioning the mouse to the center of the contentText and start holding the mouse down |
- var start = document.getElementById("contentText"); |
- var xStartPosition = start.offsetLeft + 10; |
- var yStartPosition = start.offsetTop + start.offsetHeight / 2; |
- eventSender.mouseMoveTo(xStartPosition, yStartPosition); |
- eventSender.mouseDown(); |
- |
- // We are posotioning the mouse to the center of the footNote (what is a different region flow) and release the button |
- var end = document.getElementById("footNoteRegion"); |
- var xEndPosition = end.offsetLeft + end.offsetWidth / 2; |
- var yEndPosition = end.offsetTop + end.offsetHeight / 2; |
- eventSender.mouseMoveTo(xEndPosition, yEndPosition); |
- eventSender.mouseUp(); |
- |
- // We are moving the mouse somewhere else and click to clear the selection |
- mouseClick(1, 1); |
-} |
-</script> |
-</body> |
-</html> |