Diff
Modified: trunk/LayoutTests/ChangeLog (102395 => 102396)
--- trunk/LayoutTests/ChangeLog 2011-12-09 00:37:47 UTC (rev 102395)
+++ trunk/LayoutTests/ChangeLog 2011-12-09 00:41:55 UTC (rev 102396)
@@ -1,3 +1,14 @@
+2011-12-08 Jeremy Apthorp <[email protected]>
+
+ Fix fast/css/hover-active-drag.html on Mac
+ https://bugs.webkit.org/show_bug.cgi?id=74046
+
+ Reviewed by Darin Adler.
+
+ * fast/css/hover-active-drag.html:
+ * platform/chromium/fast/css/hover-active-drag-expected.txt: Removed.
+ * platform/mac/fast/css/hover-active-drag-expected.txt: Removed.
+
2011-12-08 Florin Malita <[email protected]>
Moving SVG elements on the page doesn't always erase element at the old position
Modified: trunk/LayoutTests/fast/css/hover-active-drag.html (102395 => 102396)
--- trunk/LayoutTests/fast/css/hover-active-drag.html 2011-12-09 00:37:47 UTC (rev 102395)
+++ trunk/LayoutTests/fast/css/hover-active-drag.html 2011-12-09 00:41:55 UTC (rev 102396)
@@ -20,9 +20,6 @@
<script src=""
<script>
- function backgroundOf(element) {
- return getComputedStyle(element, null).getPropertyValue("background-color")
- }
function shouldHaveBackground(element, bg) {
background = "" null).getPropertyValue("background-color")
shouldBeEqualToString('background', bg)
@@ -35,22 +32,29 @@
eventSender.dragMode = false;
eventSender.mouseMoveTo(50, 50)
+ eventSender.leapForward(50)
+ eventSender.mouseMoveTo(60, 50)
+ eventSender.leapForward(50)
shouldHaveBackground(box, 'rgb(255, 0, 0)')
shouldHaveBackground(box2, 'rgb(0, 0, 0)')
eventSender.mouseDown()
+ eventSender.leapForward(50)
shouldHaveBackground(box, 'rgb(255, 255, 0)')
shouldHaveBackground(box2, 'rgb(0, 0, 0)')
eventSender.mouseMoveTo(50, 150)
+ eventSender.leapForward(50)
shouldHaveBackground(box, 'rgb(0, 255, 0)')
shouldHaveBackground(box2, 'rgb(0, 0, 0)')
eventSender.mouseMoveTo(400, 50)
+ eventSender.leapForward(50)
shouldHaveBackground(box, 'rgb(0, 255, 0)')
shouldHaveBackground(box2, 'rgb(0, 0, 0)')
eventSender.mouseUp()
+ eventSender.leapForward(50)
shouldHaveBackground(box, 'rgb(0, 0, 0)')
shouldHaveBackground(box2, 'rgb(0, 0, 0)')
}
Deleted: trunk/LayoutTests/platform/chromium/fast/css/hover-active-drag-expected.txt (102395 => 102396)
--- trunk/LayoutTests/platform/chromium/fast/css/hover-active-drag-expected.txt 2011-12-09 00:37:47 UTC (rev 102395)
+++ trunk/LayoutTests/platform/chromium/fast/css/hover-active-drag-expected.txt 2011-12-09 00:41:55 UTC (rev 102396)
@@ -1,20 +0,0 @@
-Dragging out of an element should cause it to lose :hover
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-PASS background is "rgb(255, 0, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(255, 255, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(0, 255, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(0, 255, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(0, 0, 0)"
-
-
-
-
-
-
Deleted: trunk/LayoutTests/platform/mac/fast/css/hover-active-drag-expected.txt (102395 => 102396)
--- trunk/LayoutTests/platform/mac/fast/css/hover-active-drag-expected.txt 2011-12-09 00:37:47 UTC (rev 102395)
+++ trunk/LayoutTests/platform/mac/fast/css/hover-active-drag-expected.txt 2011-12-09 00:41:55 UTC (rev 102396)
@@ -1,20 +0,0 @@
-Dragging out of an element should cause it to lose :hover
-
-On success, you will see a series of "PASS" messages, followed by "TEST COMPLETE".
-
-FAIL background should be rgb(255, 0, 0). Was rgb(0, 0, 0).
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(255, 255, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(0, 255, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(0, 255, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(0, 0, 0)"
-PASS background is "rgb(0, 0, 0)"
-
-
-
-
-
-