Title: [102414] trunk/LayoutTests
Revision
102414
Author
[email protected]
Date
2011-12-08 18:32:14 -0800 (Thu, 08 Dec 2011)

Log Message

Unreviewed, rolling out r102396.
http://trac.webkit.org/changeset/102396
https://bugs.webkit.org/show_bug.cgi?id=74153

over-active-drag test still failing. (Requested by macpherson
on #webkit).

Patch by Sheriff Bot <[email protected]> on 2011-12-08

* fast/css/hover-active-drag.html:
* platform/chromium/fast/css/hover-active-drag-expected.txt: Added.
* platform/mac/fast/css/hover-active-drag-expected.txt: Added.

Modified Paths

Added Paths

Diff

Modified: trunk/LayoutTests/ChangeLog (102413 => 102414)


--- trunk/LayoutTests/ChangeLog	2011-12-09 02:28:27 UTC (rev 102413)
+++ trunk/LayoutTests/ChangeLog	2011-12-09 02:32:14 UTC (rev 102414)
@@ -1,3 +1,16 @@
+2011-12-08  Sheriff Bot  <[email protected]>
+
+        Unreviewed, rolling out r102396.
+        http://trac.webkit.org/changeset/102396
+        https://bugs.webkit.org/show_bug.cgi?id=74153
+
+        over-active-drag test still failing. (Requested by macpherson
+        on #webkit).
+
+        * fast/css/hover-active-drag.html:
+        * platform/chromium/fast/css/hover-active-drag-expected.txt: Added.
+        * platform/mac/fast/css/hover-active-drag-expected.txt: Added.
+
 2011-12-08  Kent Tamura  <[email protected]>
 
         [Chromium] Rebaseline for r102320.

Modified: trunk/LayoutTests/fast/css/hover-active-drag.html (102413 => 102414)


--- trunk/LayoutTests/fast/css/hover-active-drag.html	2011-12-09 02:28:27 UTC (rev 102413)
+++ trunk/LayoutTests/fast/css/hover-active-drag.html	2011-12-09 02:32:14 UTC (rev 102414)
@@ -20,6 +20,9 @@
 
 <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)
@@ -32,29 +35,22 @@
 
     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)')
   }

Added: trunk/LayoutTests/platform/chromium/fast/css/hover-active-drag-expected.txt (0 => 102414)


--- trunk/LayoutTests/platform/chromium/fast/css/hover-active-drag-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/chromium/fast/css/hover-active-drag-expected.txt	2011-12-09 02:32:14 UTC (rev 102414)
@@ -0,0 +1,20 @@
+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)"
+
+
+
+
+
+

Added: trunk/LayoutTests/platform/mac/fast/css/hover-active-drag-expected.txt (0 => 102414)


--- trunk/LayoutTests/platform/mac/fast/css/hover-active-drag-expected.txt	                        (rev 0)
+++ trunk/LayoutTests/platform/mac/fast/css/hover-active-drag-expected.txt	2011-12-09 02:32:14 UTC (rev 102414)
@@ -0,0 +1,20 @@
+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)"
+
+
+
+
+
+
_______________________________________________
webkit-changes mailing list
[email protected]
http://lists.webkit.org/mailman/listinfo.cgi/webkit-changes

Reply via email to