Index: LayoutTests/fast/regions/hover-on-child-in-region.html |
diff --git a/LayoutTests/fast/regions/hover-on-child-in-region.html b/LayoutTests/fast/regions/hover-on-child-in-region.html |
deleted file mode 100644 |
index 4bd3e9cf346ab91b9091d0a32027d78e01696c16..0000000000000000000000000000000000000000 |
--- a/LayoutTests/fast/regions/hover-on-child-in-region.html |
+++ /dev/null |
@@ -1,82 +0,0 @@ |
-<!doctype html> |
-<html lang="en"> |
-<head> |
- <style> |
- /* Make sure the console and the description don't interfere with the rest of the layout. */ |
- #description { |
- position: absolute; |
- top: 0px; |
- } |
- |
- #console { |
- position: absolute; |
- top: 100px; |
- } |
- |
- .box { |
- width: 100px; |
- height: 100px; |
- } |
- #parent { |
- background-color: green; |
- } |
- #parent:hover { |
- color: red; |
- } |
- #child { |
- background-color: orange; |
- -webkit-flow-into: f; |
- } |
- #region { |
- -webkit-flow-from: f; |
- } |
- </style> |
- |
- <script src="../../resources/js-test.js"></script> |
-</head> |
-<body> |
- <ol> |
- <li>Move the mouse over the orange square</li> |
- <li>The text should turn red</li> |
- </ol> |
- <div class="box" id="parent"> |
- <div class="box" id="child">Red = hover</div> |
- </div> |
- <div class="box" id="region"></div> |
- |
- <script type="text/javascript"> |
- description("Test hover on child when flowed into region.") |
- |
- if (window.eventSender) { |
- var child = document.querySelector("#child"); |
- var parent = document.querySelector("#parent"); |
- |
- // move mouse on the child object |
- eventSender.mouseMoveTo(child.offsetLeft + 10, child.offsetTop + 50); |
- eventSender.mouseDown(0); |
- eventSender.leapForward(500); |
- eventSender.mouseUp(0); |
- |
- var computedStyle = window.getComputedStyle(parent); |
- var clr = computedStyle.getPropertyValue("color"); |
- if (clr == "rgb(255, 0, 0)") |
- testPassed("Hover event processed OK."); |
- else |
- testFailed("Hover event FAILED to process."); |
- } |
- |
- if (window.testRunner) { |
- var elementsToHide = document.querySelectorAll("ol, .box"); |
- for (var i=0; i<elementsToHide.length; i++) |
- elementsToHide[i].style.visibility = "hidden"; |
- } |
- |
- else { |
- var elementsToHide = document.querySelectorAll("#console, #description"); |
- for (var i=0; i<elementsToHide.length; i++) |
- elementsToHide[i].style.visibility = "hidden"; |
- } |
- </script> |
- |
-</body> |
-</html> |