Changed a test to dump as text.
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Apr 2011 22:57:35 +0000 (22:57 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 25 Apr 2011 22:57:35 +0000 (22:57 +0000)
Reviewed by Sam Weinig.

* fast/css/affected-by-hover-after-style-change.html:
* platform/gtk/fast/css/affected-by-hover-after-style-change-expected.png: Removed.
* platform/gtk/fast/css/affected-by-hover-after-style-change-expected.txt: Removed.
* platform/mac/fast/css/affected-by-hover-after-style-change-expected.png: Removed.
* platform/mac/fast/css/affected-by-hover-after-style-change-expected.txt: Removed.
* platform/qt/fast/css/affected-by-hover-after-style-change-expected.png: Removed.
* platform/qt/fast/css/affected-by-hover-after-style-change-expected.txt: Removed.

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@84818 268f45cc-cd09-0410-ab3c-d52691b4dbfc

LayoutTests/ChangeLog
LayoutTests/fast/css/affected-by-hover-after-style-change-expected.txt [new file with mode: 0644]
LayoutTests/fast/css/affected-by-hover-after-style-change.html
LayoutTests/platform/gtk/fast/css/affected-by-hover-after-style-change-expected.png [deleted file]
LayoutTests/platform/gtk/fast/css/affected-by-hover-after-style-change-expected.txt [deleted file]
LayoutTests/platform/mac/fast/css/affected-by-hover-after-style-change-expected.png [deleted file]
LayoutTests/platform/mac/fast/css/affected-by-hover-after-style-change-expected.txt [deleted file]
LayoutTests/platform/qt/fast/css/affected-by-hover-after-style-change-expected.png [deleted file]
LayoutTests/platform/qt/fast/css/affected-by-hover-after-style-change-expected.txt [deleted file]

index 97d46f2..e0ef171 100644 (file)
@@ -1,3 +1,17 @@
+2011-04-25  Dan Bernstein  <mitz@apple.com>
+
+        Reviewed by Sam Weinig.
+
+        Changed a test to dump as text.
+
+        * fast/css/affected-by-hover-after-style-change.html:
+        * platform/gtk/fast/css/affected-by-hover-after-style-change-expected.png: Removed.
+        * platform/gtk/fast/css/affected-by-hover-after-style-change-expected.txt: Removed.
+        * platform/mac/fast/css/affected-by-hover-after-style-change-expected.png: Removed.
+        * platform/mac/fast/css/affected-by-hover-after-style-change-expected.txt: Removed.
+        * platform/qt/fast/css/affected-by-hover-after-style-change-expected.png: Removed.
+        * platform/qt/fast/css/affected-by-hover-after-style-change-expected.txt: Removed.
+
 2011-04-25  Daniel Bates  <dbates@webkit.org>
 
         Reviewed by Sam Weinig.
diff --git a/LayoutTests/fast/css/affected-by-hover-after-style-change-expected.txt b/LayoutTests/fast/css/affected-by-hover-after-style-change-expected.txt
new file mode 100644 (file)
index 0000000..7ef22e9
--- /dev/null
@@ -0,0 +1 @@
+PASS
index 06dbb85..1222797 100644 (file)
@@ -5,11 +5,14 @@
 <div class="foo" id="target">
     <div class="bar"></div>
 </div>
+<div id="result">This test runs in DumpRenderTree</div>
 <script>
     document.body.offsetLeft;
     document.getElementById("target").style.left = "0";
     if (window.eventSender) {
         eventSender.mouseMoveTo(200, 50);
         eventSender.mouseMoveTo(210, 50);
+        layoutTestController.dumpAsText();
+        document.getElementById("result").innerText = getComputedStyle(document.getElementById("target").firstElementChild).backgroundColor === "rgb(0, 128, 0)" ? "PASS" : "FAIL";
     }
 </script>
diff --git a/LayoutTests/platform/gtk/fast/css/affected-by-hover-after-style-change-expected.png b/LayoutTests/platform/gtk/fast/css/affected-by-hover-after-style-change-expected.png
deleted file mode 100644 (file)
index d86789b..0000000
Binary files a/LayoutTests/platform/gtk/fast/css/affected-by-hover-after-style-change-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/gtk/fast/css/affected-by-hover-after-style-change-expected.txt b/LayoutTests/platform/gtk/fast/css/affected-by-hover-after-style-change-expected.txt
deleted file mode 100644 (file)
index 7f22e63..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {DIV} at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/platform/mac/fast/css/affected-by-hover-after-style-change-expected.png b/LayoutTests/platform/mac/fast/css/affected-by-hover-after-style-change-expected.png
deleted file mode 100644 (file)
index 2852dc6..0000000
Binary files a/LayoutTests/platform/mac/fast/css/affected-by-hover-after-style-change-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/mac/fast/css/affected-by-hover-after-style-change-expected.txt b/LayoutTests/platform/mac/fast/css/affected-by-hover-after-style-change-expected.txt
deleted file mode 100644 (file)
index 7f22e63..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {DIV} at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]
diff --git a/LayoutTests/platform/qt/fast/css/affected-by-hover-after-style-change-expected.png b/LayoutTests/platform/qt/fast/css/affected-by-hover-after-style-change-expected.png
deleted file mode 100644 (file)
index 8a1d98f..0000000
Binary files a/LayoutTests/platform/qt/fast/css/affected-by-hover-after-style-change-expected.png and /dev/null differ
diff --git a/LayoutTests/platform/qt/fast/css/affected-by-hover-after-style-change-expected.txt b/LayoutTests/platform/qt/fast/css/affected-by-hover-after-style-change-expected.txt
deleted file mode 100644 (file)
index 7f22e63..0000000
+++ /dev/null
@@ -1,7 +0,0 @@
-layer at (0,0) size 800x600
-  RenderView at (0,0) size 800x600
-layer at (0,0) size 800x600
-  RenderBlock {HTML} at (0,0) size 800x600
-    RenderBody {BODY} at (8,8) size 784x584
-      RenderBlock {DIV} at (0,0) size 784x100
-        RenderBlock {DIV} at (0,0) size 100x100 [bgcolor=#008000]