[SCM] WebKit Debian packaging branch, debian/experimental, updated. upstream/1.3.3-9427-gc2be6fc
commit-queue at webkit.org
commit-queue at webkit.org
Wed Dec 22 12:21:45 UTC 2010
The following commit has been merged in the debian/experimental branch:
commit 006b4fee591bcde03e0ea5fc478697f31e862c9b
Author: commit-queue at webkit.org <commit-queue at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Thu Aug 19 23:39:13 2010 +0000
2010-08-19 Fady Samuel <fsamuel at chromium.org>
Reviewed by Dimitri Glazkov.
Fixed table hit testing layout test issues
https://bugs.webkit.org/show_bug.cgi?id=44204
Moved expectations to the same directory as tests.
Expectations were failing due to inconsistent eventSender behavior:
Switched to using elementFromPoint
* platform/gtk/tables/hittesting/filltable-emptycells-expected.txt: Removed.
* platform/gtk/tables/hittesting/filltable-levels-expected.txt: Removed.
* platform/gtk/tables/hittesting/filltable-outline-expected.txt: Removed.
* platform/gtk/tables/hittesting/filltable-rtl-expected.txt: Removed.
* platform/gtk/tables/hittesting/filltable-stress-expected.txt: Removed.
* tables/hittesting/filltable-emptycells-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-emptycells-expected.txt.
* tables/hittesting/filltable-emptycells.html:
* tables/hittesting/filltable-levels-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-levels-expected.txt.
* tables/hittesting/filltable-levels.html:
* tables/hittesting/filltable-outline-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-outline-expected.txt.
* tables/hittesting/filltable-outline.html:
* tables/hittesting/filltable-rtl-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-rtl-expected.txt.
* tables/hittesting/filltable-rtl.html:
* tables/hittesting/filltable-stress-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-stress-expected.txt.
* tables/hittesting/filltable-stress.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@65714 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 26c6cbd..77f3e75 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,30 @@
+2010-08-19 Fady Samuel <fsamuel at chromium.org>
+
+ Reviewed by Dimitri Glazkov.
+
+ Fixed table hit testing layout test issues
+ https://bugs.webkit.org/show_bug.cgi?id=44204
+
+ Moved expectations to the same directory as tests.
+ Expectations were failing due to inconsistent eventSender behavior:
+ Switched to using elementFromPoint
+
+ * platform/gtk/tables/hittesting/filltable-emptycells-expected.txt: Removed.
+ * platform/gtk/tables/hittesting/filltable-levels-expected.txt: Removed.
+ * platform/gtk/tables/hittesting/filltable-outline-expected.txt: Removed.
+ * platform/gtk/tables/hittesting/filltable-rtl-expected.txt: Removed.
+ * platform/gtk/tables/hittesting/filltable-stress-expected.txt: Removed.
+ * tables/hittesting/filltable-emptycells-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-emptycells-expected.txt.
+ * tables/hittesting/filltable-emptycells.html:
+ * tables/hittesting/filltable-levels-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-levels-expected.txt.
+ * tables/hittesting/filltable-levels.html:
+ * tables/hittesting/filltable-outline-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-outline-expected.txt.
+ * tables/hittesting/filltable-outline.html:
+ * tables/hittesting/filltable-rtl-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-rtl-expected.txt.
+ * tables/hittesting/filltable-rtl.html:
+ * tables/hittesting/filltable-stress-expected.txt: Renamed from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-stress-expected.txt.
+ * tables/hittesting/filltable-stress.html:
+
2010-08-19 Adam Barth <abarth at webkit.org>
Reviewed by Alexey Proskuryakov.
diff --git a/LayoutTests/platform/gtk/tables/hittesting/filltable-emptycells-expected.txt b/LayoutTests/platform/gtk/tables/hittesting/filltable-emptycells-expected.txt
deleted file mode 100644
index 3af318c..0000000
--- a/LayoutTests/platform/gtk/tables/hittesting/filltable-emptycells-expected.txt
+++ /dev/null
@@ -1,8 +0,0 @@
-SUCCESS!!!
-Hit cell at row: 0, column: 0: SUCCESS
-Hit cell at row: 0, column: 1: EMPTY
-Hit cell at row: 0, column: 2: EMPTY
-Hit cell at row: 1, column: 0: SUCCESS
-Hit cell at row: 1, column: 1: SUCCESS
-Hit cell at row: 1, column: 2: SUCCESS
-
diff --git a/LayoutTests/platform/gtk/tables/hittesting/filltable-levels-expected.txt b/LayoutTests/platform/gtk/tables/hittesting/filltable-levels-expected.txt
deleted file mode 100644
index 83718e6..0000000
--- a/LayoutTests/platform/gtk/tables/hittesting/filltable-levels-expected.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-SUCCESS!!!
-Hit cell at row: 0, column: 0: SUCCESS
-Hit cell at row: 0, column: 1: SUCCESS
-Hit cell at row: 0, column: 2: SUCCESS
-Hit cell at row: 1, column: 0: SUCCESS
-Hit cell at row: 1, column: 1: SUCCESS
-Hit cell at row: 1, column: 2: SUCCESS
-Hit cell at row: 2, column: 0: SUCCESS
-Hit cell at row: 2, column: 1: SUCCESS
-Hit cell at row: 2, column: 2: SUCCESS
-
diff --git a/LayoutTests/platform/gtk/tables/hittesting/filltable-outline-expected.txt b/LayoutTests/platform/gtk/tables/hittesting/filltable-outline-expected.txt
deleted file mode 100644
index 3cddc7d..0000000
--- a/LayoutTests/platform/gtk/tables/hittesting/filltable-outline-expected.txt
+++ /dev/null
@@ -1,102 +0,0 @@
-SUCCESS!!!
-Hit cell at row: 0, column: 0: SUCCESS
-Hit cell at row: 0, column: 1: SUCCESS
-Hit cell at row: 0, column: 2: SUCCESS
-Hit cell at row: 0, column: 3: SUCCESS
-Hit cell at row: 0, column: 4: SUCCESS
-Hit cell at row: 0, column: 5: SUCCESS
-Hit cell at row: 0, column: 6: SUCCESS
-Hit cell at row: 0, column: 7: SUCCESS
-Hit cell at row: 0, column: 8: SUCCESS
-Hit cell at row: 0, column: 9: SUCCESS
-Hit cell at row: 1, column: 0: SUCCESS
-Hit cell at row: 1, column: 1: SUCCESS
-Hit cell at row: 1, column: 2: SUCCESS
-Hit cell at row: 1, column: 3: SUCCESS
-Hit cell at row: 1, column: 4: SUCCESS
-Hit cell at row: 1, column: 5: SUCCESS
-Hit cell at row: 1, column: 6: SUCCESS
-Hit cell at row: 1, column: 7: SUCCESS
-Hit cell at row: 1, column: 8: SUCCESS
-Hit cell at row: 1, column: 9: SUCCESS
-Hit cell at row: 2, column: 0: SUCCESS
-Hit cell at row: 2, column: 1: SUCCESS
-Hit cell at row: 2, column: 2: SUCCESS
-Hit cell at row: 2, column: 3: SUCCESS
-Hit cell at row: 2, column: 4: SUCCESS
-Hit cell at row: 2, column: 5: SUCCESS
-Hit cell at row: 2, column: 6: SUCCESS
-Hit cell at row: 2, column: 7: SUCCESS
-Hit cell at row: 2, column: 8: SUCCESS
-Hit cell at row: 2, column: 9: SUCCESS
-Hit cell at row: 3, column: 0: SUCCESS
-Hit cell at row: 3, column: 1: SUCCESS
-Hit cell at row: 3, column: 2: SUCCESS
-Hit cell at row: 3, column: 3: SUCCESS
-Hit cell at row: 3, column: 4: SUCCESS
-Hit cell at row: 3, column: 5: SUCCESS
-Hit cell at row: 3, column: 6: SUCCESS
-Hit cell at row: 3, column: 7: SUCCESS
-Hit cell at row: 3, column: 8: SUCCESS
-Hit cell at row: 3, column: 9: SUCCESS
-Hit cell at row: 4, column: 0: SUCCESS
-Hit cell at row: 4, column: 1: SUCCESS
-Hit cell at row: 4, column: 2: SUCCESS
-Hit cell at row: 4, column: 3: SUCCESS
-Hit cell at row: 4, column: 4: SUCCESS
-Hit cell at row: 4, column: 5: SUCCESS
-Hit cell at row: 4, column: 6: SUCCESS
-Hit cell at row: 4, column: 7: SUCCESS
-Hit cell at row: 4, column: 8: SUCCESS
-Hit cell at row: 4, column: 9: SUCCESS
-Hit cell at row: 5, column: 0: SUCCESS
-Hit cell at row: 5, column: 1: SUCCESS
-Hit cell at row: 5, column: 2: SUCCESS
-Hit cell at row: 5, column: 3: SUCCESS
-Hit cell at row: 5, column: 4: SUCCESS
-Hit cell at row: 5, column: 5: SUCCESS
-Hit cell at row: 5, column: 6: SUCCESS
-Hit cell at row: 5, column: 7: SUCCESS
-Hit cell at row: 5, column: 8: SUCCESS
-Hit cell at row: 5, column: 9: SUCCESS
-Hit cell at row: 6, column: 0: SUCCESS
-Hit cell at row: 6, column: 1: SUCCESS
-Hit cell at row: 6, column: 2: SUCCESS
-Hit cell at row: 6, column: 3: SUCCESS
-Hit cell at row: 6, column: 4: SUCCESS
-Hit cell at row: 6, column: 5: SUCCESS
-Hit cell at row: 6, column: 6: SUCCESS
-Hit cell at row: 6, column: 7: SUCCESS
-Hit cell at row: 6, column: 8: SUCCESS
-Hit cell at row: 6, column: 9: SUCCESS
-Hit cell at row: 7, column: 0: SUCCESS
-Hit cell at row: 7, column: 1: SUCCESS
-Hit cell at row: 7, column: 2: SUCCESS
-Hit cell at row: 7, column: 3: SUCCESS
-Hit cell at row: 7, column: 4: SUCCESS
-Hit cell at row: 7, column: 5: SUCCESS
-Hit cell at row: 7, column: 6: SUCCESS
-Hit cell at row: 7, column: 7: SUCCESS
-Hit cell at row: 7, column: 8: SUCCESS
-Hit cell at row: 7, column: 9: SUCCESS
-Hit cell at row: 8, column: 0: SUCCESS
-Hit cell at row: 8, column: 1: SUCCESS
-Hit cell at row: 8, column: 2: SUCCESS
-Hit cell at row: 8, column: 3: SUCCESS
-Hit cell at row: 8, column: 4: SUCCESS
-Hit cell at row: 8, column: 5: SUCCESS
-Hit cell at row: 8, column: 6: SUCCESS
-Hit cell at row: 8, column: 7: SUCCESS
-Hit cell at row: 8, column: 8: SUCCESS
-Hit cell at row: 8, column: 9: SUCCESS
-Hit cell at row: 9, column: 0: SUCCESS
-Hit cell at row: 9, column: 1: SUCCESS
-Hit cell at row: 9, column: 2: SUCCESS
-Hit cell at row: 9, column: 3: SUCCESS
-Hit cell at row: 9, column: 4: SUCCESS
-Hit cell at row: 9, column: 5: SUCCESS
-Hit cell at row: 9, column: 6: SUCCESS
-Hit cell at row: 9, column: 7: SUCCESS
-Hit cell at row: 9, column: 8: SUCCESS
-Hit cell at row: 9, column: 9: SUCCESS
-
diff --git a/LayoutTests/platform/gtk/tables/hittesting/filltable-rtl-expected.txt b/LayoutTests/platform/gtk/tables/hittesting/filltable-rtl-expected.txt
deleted file mode 100644
index 83718e6..0000000
--- a/LayoutTests/platform/gtk/tables/hittesting/filltable-rtl-expected.txt
+++ /dev/null
@@ -1,11 +0,0 @@
-SUCCESS!!!
-Hit cell at row: 0, column: 0: SUCCESS
-Hit cell at row: 0, column: 1: SUCCESS
-Hit cell at row: 0, column: 2: SUCCESS
-Hit cell at row: 1, column: 0: SUCCESS
-Hit cell at row: 1, column: 1: SUCCESS
-Hit cell at row: 1, column: 2: SUCCESS
-Hit cell at row: 2, column: 0: SUCCESS
-Hit cell at row: 2, column: 1: SUCCESS
-Hit cell at row: 2, column: 2: SUCCESS
-
diff --git a/LayoutTests/platform/gtk/tables/hittesting/filltable-stress-expected.txt b/LayoutTests/platform/gtk/tables/hittesting/filltable-stress-expected.txt
deleted file mode 100644
index f380786..0000000
--- a/LayoutTests/platform/gtk/tables/hittesting/filltable-stress-expected.txt
+++ /dev/null
@@ -1,458 +0,0 @@
-SUCCESS!!!
-Attempting to hit cell at row: 0, column: 0: SUCCESS
-Attempting to hit cell at row: 0, column: 1: SUCCESS
-Attempting to hit cell at row: 0, column: 2: SUCCESS
-Attempting to hit cell at row: 0, column: 3: SUCCESS
-Attempting to hit cell at row: 0, column: 4: SUCCESS
-Attempting to hit cell at row: 0, column: 5: SUCCESS
-Attempting to hit cell at row: 0, column: 6: SUCCESS
-Attempting to hit cell at row: 0, column: 7: SUCCESS
-Attempting to hit cell at row: 0, column: 8: SUCCESS
-Attempting to hit cell at row: 0, column: 9: SUCCESS
-Attempting to hit cell at row: 0, column: 10: SUCCESS
-Attempting to hit cell at row: 0, column: 11: SUCCESS
-Attempting to hit cell at row: 0, column: 12: SUCCESS
-Attempting to hit cell at row: 0, column: 13: SUCCESS
-Attempting to hit cell at row: 0, column: 14: SUCCESS
-Attempting to hit cell at row: 0, column: 15: SUCCESS
-Attempting to hit cell at row: 0, column: 16: SUCCESS
-Attempting to hit cell at row: 0, column: 17: SUCCESS
-Attempting to hit cell at row: 0, column: 18: SUCCESS
-Attempting to hit cell at row: 1, column: 0: SUCCESS
-Attempting to hit cell at row: 1, column: 1: SUCCESS
-Attempting to hit cell at row: 1, column: 2: SUCCESS
-Attempting to hit cell at row: 1, column: 3: SUCCESS
-Attempting to hit cell at row: 1, column: 4: SUCCESS
-Attempting to hit cell at row: 1, column: 5: SUCCESS
-Attempting to hit cell at row: 1, column: 6: SUCCESS
-Attempting to hit cell at row: 1, column: 7: SUCCESS
-Attempting to hit cell at row: 1, column: 8: SUCCESS
-Attempting to hit cell at row: 1, column: 9: SUCCESS
-Attempting to hit cell at row: 1, column: 10: SUCCESS
-Attempting to hit cell at row: 1, column: 11: SUCCESS
-Attempting to hit cell at row: 1, column: 12: SUCCESS
-Attempting to hit cell at row: 1, column: 13: SUCCESS
-Attempting to hit cell at row: 1, column: 14: SUCCESS
-Attempting to hit cell at row: 1, column: 15: SUCCESS
-Attempting to hit cell at row: 1, column: 16: SUCCESS
-Attempting to hit cell at row: 1, column: 17: SUCCESS
-Attempting to hit cell at row: 1, column: 18: SUCCESS
-Attempting to hit cell at row: 2, column: 0: SUCCESS
-Attempting to hit cell at row: 2, column: 1: SUCCESS
-Attempting to hit cell at row: 2, column: 2: SUCCESS
-Attempting to hit cell at row: 2, column: 3: SUCCESS
-Attempting to hit cell at row: 2, column: 4: SUCCESS
-Attempting to hit cell at row: 2, column: 5: SUCCESS
-Attempting to hit cell at row: 2, column: 6: SUCCESS
-Attempting to hit cell at row: 2, column: 7: SUCCESS
-Attempting to hit cell at row: 2, column: 8: SUCCESS
-Attempting to hit cell at row: 2, column: 9: SUCCESS
-Attempting to hit cell at row: 2, column: 10: SUCCESS
-Attempting to hit cell at row: 2, column: 11: SUCCESS
-Attempting to hit cell at row: 2, column: 12: SUCCESS
-Attempting to hit cell at row: 2, column: 13: SUCCESS
-Attempting to hit cell at row: 2, column: 14: SUCCESS
-Attempting to hit cell at row: 2, column: 15: SUCCESS
-Attempting to hit cell at row: 2, column: 16: SUCCESS
-Attempting to hit cell at row: 2, column: 17: SUCCESS
-Attempting to hit cell at row: 2, column: 18: SUCCESS
-Attempting to hit cell at row: 3, column: 0: SUCCESS
-Attempting to hit cell at row: 3, column: 1: SUCCESS
-Attempting to hit cell at row: 3, column: 2: SUCCESS
-Attempting to hit cell at row: 3, column: 3: SUCCESS
-Attempting to hit cell at row: 3, column: 4: SUCCESS
-Attempting to hit cell at row: 3, column: 5: SUCCESS
-Attempting to hit cell at row: 3, column: 6: SUCCESS
-Attempting to hit cell at row: 3, column: 7: SUCCESS
-Attempting to hit cell at row: 3, column: 8: SUCCESS
-Attempting to hit cell at row: 3, column: 9: SUCCESS
-Attempting to hit cell at row: 3, column: 10: SUCCESS
-Attempting to hit cell at row: 3, column: 11: SUCCESS
-Attempting to hit cell at row: 3, column: 12: SUCCESS
-Attempting to hit cell at row: 3, column: 13: SUCCESS
-Attempting to hit cell at row: 3, column: 14: SUCCESS
-Attempting to hit cell at row: 3, column: 15: SUCCESS
-Attempting to hit cell at row: 3, column: 16: SUCCESS
-Attempting to hit cell at row: 3, column: 17: SUCCESS
-Attempting to hit cell at row: 3, column: 18: SUCCESS
-Attempting to hit cell at row: 4, column: 0: SUCCESS
-Attempting to hit cell at row: 4, column: 1: SUCCESS
-Attempting to hit cell at row: 4, column: 2: SUCCESS
-Attempting to hit cell at row: 4, column: 3: SUCCESS
-Attempting to hit cell at row: 4, column: 4: SUCCESS
-Attempting to hit cell at row: 4, column: 5: SUCCESS
-Attempting to hit cell at row: 4, column: 6: SUCCESS
-Attempting to hit cell at row: 4, column: 7: SUCCESS
-Attempting to hit cell at row: 4, column: 8: SUCCESS
-Attempting to hit cell at row: 4, column: 9: SUCCESS
-Attempting to hit cell at row: 4, column: 10: SUCCESS
-Attempting to hit cell at row: 4, column: 11: SUCCESS
-Attempting to hit cell at row: 4, column: 12: SUCCESS
-Attempting to hit cell at row: 4, column: 13: SUCCESS
-Attempting to hit cell at row: 4, column: 14: SUCCESS
-Attempting to hit cell at row: 4, column: 15: SUCCESS
-Attempting to hit cell at row: 4, column: 16: SUCCESS
-Attempting to hit cell at row: 4, column: 17: SUCCESS
-Attempting to hit cell at row: 4, column: 18: SUCCESS
-Attempting to hit cell at row: 5, column: 0: SUCCESS
-Attempting to hit cell at row: 5, column: 1: SUCCESS
-Attempting to hit cell at row: 5, column: 2: SUCCESS
-Attempting to hit cell at row: 5, column: 3: SUCCESS
-Attempting to hit cell at row: 5, column: 4: SUCCESS
-Attempting to hit cell at row: 5, column: 5: SUCCESS
-Attempting to hit cell at row: 5, column: 6: SUCCESS
-Attempting to hit cell at row: 5, column: 7: SUCCESS
-Attempting to hit cell at row: 5, column: 8: SUCCESS
-Attempting to hit cell at row: 5, column: 9: SUCCESS
-Attempting to hit cell at row: 5, column: 10: SUCCESS
-Attempting to hit cell at row: 5, column: 11: SUCCESS
-Attempting to hit cell at row: 5, column: 12: SUCCESS
-Attempting to hit cell at row: 5, column: 13: SUCCESS
-Attempting to hit cell at row: 5, column: 14: SUCCESS
-Attempting to hit cell at row: 5, column: 15: SUCCESS
-Attempting to hit cell at row: 5, column: 16: SUCCESS
-Attempting to hit cell at row: 5, column: 17: SUCCESS
-Attempting to hit cell at row: 5, column: 18: SUCCESS
-Attempting to hit cell at row: 6, column: 0: SUCCESS
-Attempting to hit cell at row: 6, column: 1: SUCCESS
-Attempting to hit cell at row: 6, column: 2: SUCCESS
-Attempting to hit cell at row: 6, column: 3: SUCCESS
-Attempting to hit cell at row: 6, column: 4: SUCCESS
-Attempting to hit cell at row: 6, column: 5: SUCCESS
-Attempting to hit cell at row: 6, column: 6: SUCCESS
-Attempting to hit cell at row: 6, column: 7: SUCCESS
-Attempting to hit cell at row: 6, column: 8: SUCCESS
-Attempting to hit cell at row: 6, column: 9: SUCCESS
-Attempting to hit cell at row: 6, column: 10: SUCCESS
-Attempting to hit cell at row: 6, column: 11: SUCCESS
-Attempting to hit cell at row: 6, column: 12: SUCCESS
-Attempting to hit cell at row: 6, column: 13: SUCCESS
-Attempting to hit cell at row: 6, column: 14: SUCCESS
-Attempting to hit cell at row: 6, column: 15: SUCCESS
-Attempting to hit cell at row: 6, column: 16: SUCCESS
-Attempting to hit cell at row: 6, column: 17: SUCCESS
-Attempting to hit cell at row: 6, column: 18: SUCCESS
-Attempting to hit cell at row: 7, column: 0: SUCCESS
-Attempting to hit cell at row: 7, column: 1: SUCCESS
-Attempting to hit cell at row: 7, column: 2: SUCCESS
-Attempting to hit cell at row: 7, column: 3: SUCCESS
-Attempting to hit cell at row: 7, column: 4: SUCCESS
-Attempting to hit cell at row: 7, column: 5: SUCCESS
-Attempting to hit cell at row: 7, column: 6: SUCCESS
-Attempting to hit cell at row: 7, column: 7: SUCCESS
-Attempting to hit cell at row: 7, column: 8: SUCCESS
-Attempting to hit cell at row: 7, column: 9: SUCCESS
-Attempting to hit cell at row: 7, column: 10: SUCCESS
-Attempting to hit cell at row: 7, column: 11: SUCCESS
-Attempting to hit cell at row: 7, column: 12: SUCCESS
-Attempting to hit cell at row: 7, column: 13: SUCCESS
-Attempting to hit cell at row: 7, column: 14: SUCCESS
-Attempting to hit cell at row: 7, column: 15: SUCCESS
-Attempting to hit cell at row: 7, column: 16: SUCCESS
-Attempting to hit cell at row: 7, column: 17: SUCCESS
-Attempting to hit cell at row: 7, column: 18: SUCCESS
-Attempting to hit cell at row: 8, column: 0: SUCCESS
-Attempting to hit cell at row: 8, column: 1: SUCCESS
-Attempting to hit cell at row: 8, column: 2: SUCCESS
-Attempting to hit cell at row: 8, column: 3: SUCCESS
-Attempting to hit cell at row: 8, column: 4: SUCCESS
-Attempting to hit cell at row: 8, column: 5: SUCCESS
-Attempting to hit cell at row: 8, column: 6: SUCCESS
-Attempting to hit cell at row: 8, column: 7: SUCCESS
-Attempting to hit cell at row: 8, column: 8: SUCCESS
-Attempting to hit cell at row: 8, column: 9: SUCCESS
-Attempting to hit cell at row: 8, column: 10: SUCCESS
-Attempting to hit cell at row: 8, column: 11: SUCCESS
-Attempting to hit cell at row: 8, column: 12: SUCCESS
-Attempting to hit cell at row: 8, column: 13: SUCCESS
-Attempting to hit cell at row: 8, column: 14: SUCCESS
-Attempting to hit cell at row: 8, column: 15: SUCCESS
-Attempting to hit cell at row: 8, column: 16: SUCCESS
-Attempting to hit cell at row: 8, column: 17: SUCCESS
-Attempting to hit cell at row: 8, column: 18: SUCCESS
-Attempting to hit cell at row: 9, column: 0: SUCCESS
-Attempting to hit cell at row: 9, column: 1: SUCCESS
-Attempting to hit cell at row: 9, column: 2: SUCCESS
-Attempting to hit cell at row: 9, column: 3: SUCCESS
-Attempting to hit cell at row: 9, column: 4: SUCCESS
-Attempting to hit cell at row: 9, column: 5: SUCCESS
-Attempting to hit cell at row: 9, column: 6: SUCCESS
-Attempting to hit cell at row: 9, column: 7: SUCCESS
-Attempting to hit cell at row: 9, column: 8: SUCCESS
-Attempting to hit cell at row: 9, column: 9: SUCCESS
-Attempting to hit cell at row: 9, column: 10: SUCCESS
-Attempting to hit cell at row: 9, column: 11: SUCCESS
-Attempting to hit cell at row: 9, column: 12: SUCCESS
-Attempting to hit cell at row: 9, column: 13: SUCCESS
-Attempting to hit cell at row: 9, column: 14: SUCCESS
-Attempting to hit cell at row: 9, column: 15: SUCCESS
-Attempting to hit cell at row: 9, column: 16: SUCCESS
-Attempting to hit cell at row: 9, column: 17: SUCCESS
-Attempting to hit cell at row: 9, column: 18: SUCCESS
-Attempting to hit cell at row: 10, column: 0: SUCCESS
-Attempting to hit cell at row: 10, column: 1: SUCCESS
-Attempting to hit cell at row: 10, column: 2: SUCCESS
-Attempting to hit cell at row: 10, column: 3: SUCCESS
-Attempting to hit cell at row: 10, column: 4: SUCCESS
-Attempting to hit cell at row: 10, column: 5: SUCCESS
-Attempting to hit cell at row: 10, column: 6: SUCCESS
-Attempting to hit cell at row: 10, column: 7: SUCCESS
-Attempting to hit cell at row: 10, column: 8: SUCCESS
-Attempting to hit cell at row: 10, column: 9: SUCCESS
-Attempting to hit cell at row: 10, column: 10: SUCCESS
-Attempting to hit cell at row: 10, column: 11: SUCCESS
-Attempting to hit cell at row: 10, column: 12: SUCCESS
-Attempting to hit cell at row: 10, column: 13: SUCCESS
-Attempting to hit cell at row: 10, column: 14: SUCCESS
-Attempting to hit cell at row: 10, column: 15: SUCCESS
-Attempting to hit cell at row: 10, column: 16: SUCCESS
-Attempting to hit cell at row: 10, column: 17: SUCCESS
-Attempting to hit cell at row: 10, column: 18: SUCCESS
-Attempting to hit cell at row: 11, column: 0: SUCCESS
-Attempting to hit cell at row: 11, column: 1: SUCCESS
-Attempting to hit cell at row: 11, column: 2: SUCCESS
-Attempting to hit cell at row: 11, column: 3: SUCCESS
-Attempting to hit cell at row: 11, column: 4: SUCCESS
-Attempting to hit cell at row: 11, column: 5: SUCCESS
-Attempting to hit cell at row: 11, column: 6: SUCCESS
-Attempting to hit cell at row: 11, column: 7: SUCCESS
-Attempting to hit cell at row: 11, column: 8: SUCCESS
-Attempting to hit cell at row: 11, column: 9: SUCCESS
-Attempting to hit cell at row: 11, column: 10: SUCCESS
-Attempting to hit cell at row: 11, column: 11: SUCCESS
-Attempting to hit cell at row: 11, column: 12: SUCCESS
-Attempting to hit cell at row: 11, column: 13: SUCCESS
-Attempting to hit cell at row: 11, column: 14: SUCCESS
-Attempting to hit cell at row: 11, column: 15: SUCCESS
-Attempting to hit cell at row: 11, column: 16: SUCCESS
-Attempting to hit cell at row: 11, column: 17: SUCCESS
-Attempting to hit cell at row: 11, column: 18: SUCCESS
-Attempting to hit cell at row: 12, column: 0: SUCCESS
-Attempting to hit cell at row: 12, column: 1: SUCCESS
-Attempting to hit cell at row: 12, column: 2: SUCCESS
-Attempting to hit cell at row: 12, column: 3: SUCCESS
-Attempting to hit cell at row: 12, column: 4: SUCCESS
-Attempting to hit cell at row: 12, column: 5: SUCCESS
-Attempting to hit cell at row: 12, column: 6: SUCCESS
-Attempting to hit cell at row: 12, column: 7: SUCCESS
-Attempting to hit cell at row: 12, column: 8: SUCCESS
-Attempting to hit cell at row: 12, column: 9: SUCCESS
-Attempting to hit cell at row: 12, column: 10: SUCCESS
-Attempting to hit cell at row: 12, column: 11: SUCCESS
-Attempting to hit cell at row: 12, column: 12: SUCCESS
-Attempting to hit cell at row: 12, column: 13: SUCCESS
-Attempting to hit cell at row: 12, column: 14: SUCCESS
-Attempting to hit cell at row: 12, column: 15: SUCCESS
-Attempting to hit cell at row: 12, column: 16: SUCCESS
-Attempting to hit cell at row: 12, column: 17: SUCCESS
-Attempting to hit cell at row: 12, column: 18: SUCCESS
-Attempting to hit cell at row: 13, column: 0: SUCCESS
-Attempting to hit cell at row: 13, column: 1: SUCCESS
-Attempting to hit cell at row: 13, column: 2: SUCCESS
-Attempting to hit cell at row: 13, column: 3: SUCCESS
-Attempting to hit cell at row: 13, column: 4: SUCCESS
-Attempting to hit cell at row: 13, column: 5: SUCCESS
-Attempting to hit cell at row: 13, column: 6: SUCCESS
-Attempting to hit cell at row: 13, column: 7: SUCCESS
-Attempting to hit cell at row: 13, column: 8: SUCCESS
-Attempting to hit cell at row: 13, column: 9: SUCCESS
-Attempting to hit cell at row: 13, column: 10: SUCCESS
-Attempting to hit cell at row: 13, column: 11: SUCCESS
-Attempting to hit cell at row: 13, column: 12: SUCCESS
-Attempting to hit cell at row: 13, column: 13: SUCCESS
-Attempting to hit cell at row: 13, column: 14: SUCCESS
-Attempting to hit cell at row: 13, column: 15: SUCCESS
-Attempting to hit cell at row: 13, column: 16: SUCCESS
-Attempting to hit cell at row: 13, column: 17: SUCCESS
-Attempting to hit cell at row: 13, column: 18: SUCCESS
-Attempting to hit cell at row: 14, column: 0: SUCCESS
-Attempting to hit cell at row: 14, column: 1: SUCCESS
-Attempting to hit cell at row: 14, column: 2: SUCCESS
-Attempting to hit cell at row: 14, column: 3: SUCCESS
-Attempting to hit cell at row: 14, column: 4: SUCCESS
-Attempting to hit cell at row: 14, column: 5: SUCCESS
-Attempting to hit cell at row: 14, column: 6: SUCCESS
-Attempting to hit cell at row: 14, column: 7: SUCCESS
-Attempting to hit cell at row: 14, column: 8: SUCCESS
-Attempting to hit cell at row: 14, column: 9: SUCCESS
-Attempting to hit cell at row: 14, column: 10: SUCCESS
-Attempting to hit cell at row: 14, column: 11: SUCCESS
-Attempting to hit cell at row: 14, column: 12: SUCCESS
-Attempting to hit cell at row: 14, column: 13: SUCCESS
-Attempting to hit cell at row: 14, column: 14: SUCCESS
-Attempting to hit cell at row: 14, column: 15: SUCCESS
-Attempting to hit cell at row: 14, column: 16: SUCCESS
-Attempting to hit cell at row: 14, column: 17: SUCCESS
-Attempting to hit cell at row: 14, column: 18: SUCCESS
-Attempting to hit cell at row: 15, column: 0: SUCCESS
-Attempting to hit cell at row: 15, column: 1: SUCCESS
-Attempting to hit cell at row: 15, column: 2: SUCCESS
-Attempting to hit cell at row: 15, column: 3: SUCCESS
-Attempting to hit cell at row: 15, column: 4: SUCCESS
-Attempting to hit cell at row: 15, column: 5: SUCCESS
-Attempting to hit cell at row: 15, column: 6: SUCCESS
-Attempting to hit cell at row: 15, column: 7: SUCCESS
-Attempting to hit cell at row: 15, column: 8: SUCCESS
-Attempting to hit cell at row: 15, column: 9: SUCCESS
-Attempting to hit cell at row: 15, column: 10: SUCCESS
-Attempting to hit cell at row: 15, column: 11: SUCCESS
-Attempting to hit cell at row: 15, column: 12: SUCCESS
-Attempting to hit cell at row: 15, column: 13: SUCCESS
-Attempting to hit cell at row: 15, column: 14: SUCCESS
-Attempting to hit cell at row: 15, column: 15: SUCCESS
-Attempting to hit cell at row: 15, column: 16: SUCCESS
-Attempting to hit cell at row: 15, column: 17: SUCCESS
-Attempting to hit cell at row: 15, column: 18: SUCCESS
-Attempting to hit cell at row: 16, column: 0: SUCCESS
-Attempting to hit cell at row: 16, column: 1: SUCCESS
-Attempting to hit cell at row: 16, column: 2: SUCCESS
-Attempting to hit cell at row: 16, column: 3: SUCCESS
-Attempting to hit cell at row: 16, column: 4: SUCCESS
-Attempting to hit cell at row: 16, column: 5: SUCCESS
-Attempting to hit cell at row: 16, column: 6: SUCCESS
-Attempting to hit cell at row: 16, column: 7: SUCCESS
-Attempting to hit cell at row: 16, column: 8: SUCCESS
-Attempting to hit cell at row: 16, column: 9: SUCCESS
-Attempting to hit cell at row: 16, column: 10: SUCCESS
-Attempting to hit cell at row: 16, column: 11: SUCCESS
-Attempting to hit cell at row: 16, column: 12: SUCCESS
-Attempting to hit cell at row: 16, column: 13: SUCCESS
-Attempting to hit cell at row: 16, column: 14: SUCCESS
-Attempting to hit cell at row: 16, column: 15: SUCCESS
-Attempting to hit cell at row: 16, column: 16: SUCCESS
-Attempting to hit cell at row: 16, column: 17: SUCCESS
-Attempting to hit cell at row: 16, column: 18: SUCCESS
-Attempting to hit cell at row: 17, column: 0: SUCCESS
-Attempting to hit cell at row: 17, column: 1: SUCCESS
-Attempting to hit cell at row: 17, column: 2: SUCCESS
-Attempting to hit cell at row: 17, column: 3: SUCCESS
-Attempting to hit cell at row: 17, column: 4: SUCCESS
-Attempting to hit cell at row: 17, column: 5: SUCCESS
-Attempting to hit cell at row: 17, column: 6: SUCCESS
-Attempting to hit cell at row: 17, column: 7: SUCCESS
-Attempting to hit cell at row: 17, column: 8: SUCCESS
-Attempting to hit cell at row: 17, column: 9: SUCCESS
-Attempting to hit cell at row: 17, column: 10: SUCCESS
-Attempting to hit cell at row: 17, column: 11: SUCCESS
-Attempting to hit cell at row: 17, column: 12: SUCCESS
-Attempting to hit cell at row: 17, column: 13: SUCCESS
-Attempting to hit cell at row: 17, column: 14: SUCCESS
-Attempting to hit cell at row: 17, column: 15: SUCCESS
-Attempting to hit cell at row: 17, column: 16: SUCCESS
-Attempting to hit cell at row: 17, column: 17: SUCCESS
-Attempting to hit cell at row: 17, column: 18: SUCCESS
-Attempting to hit cell at row: 18, column: 0: SUCCESS
-Attempting to hit cell at row: 18, column: 1: SUCCESS
-Attempting to hit cell at row: 18, column: 2: SUCCESS
-Attempting to hit cell at row: 18, column: 3: SUCCESS
-Attempting to hit cell at row: 18, column: 4: SUCCESS
-Attempting to hit cell at row: 18, column: 5: SUCCESS
-Attempting to hit cell at row: 18, column: 6: SUCCESS
-Attempting to hit cell at row: 18, column: 7: SUCCESS
-Attempting to hit cell at row: 18, column: 8: SUCCESS
-Attempting to hit cell at row: 18, column: 9: SUCCESS
-Attempting to hit cell at row: 18, column: 10: SUCCESS
-Attempting to hit cell at row: 18, column: 11: SUCCESS
-Attempting to hit cell at row: 18, column: 12: SUCCESS
-Attempting to hit cell at row: 18, column: 13: SUCCESS
-Attempting to hit cell at row: 18, column: 14: SUCCESS
-Attempting to hit cell at row: 18, column: 15: SUCCESS
-Attempting to hit cell at row: 18, column: 16: SUCCESS
-Attempting to hit cell at row: 18, column: 17: SUCCESS
-Attempting to hit cell at row: 18, column: 18: SUCCESS
-Attempting to hit cell at row: 19, column: 0: SUCCESS
-Attempting to hit cell at row: 19, column: 1: SUCCESS
-Attempting to hit cell at row: 19, column: 2: SUCCESS
-Attempting to hit cell at row: 19, column: 3: SUCCESS
-Attempting to hit cell at row: 19, column: 4: SUCCESS
-Attempting to hit cell at row: 19, column: 5: SUCCESS
-Attempting to hit cell at row: 19, column: 6: SUCCESS
-Attempting to hit cell at row: 19, column: 7: SUCCESS
-Attempting to hit cell at row: 19, column: 8: SUCCESS
-Attempting to hit cell at row: 19, column: 9: SUCCESS
-Attempting to hit cell at row: 19, column: 10: SUCCESS
-Attempting to hit cell at row: 19, column: 11: SUCCESS
-Attempting to hit cell at row: 19, column: 12: SUCCESS
-Attempting to hit cell at row: 19, column: 13: SUCCESS
-Attempting to hit cell at row: 19, column: 14: SUCCESS
-Attempting to hit cell at row: 19, column: 15: SUCCESS
-Attempting to hit cell at row: 19, column: 16: SUCCESS
-Attempting to hit cell at row: 19, column: 17: SUCCESS
-Attempting to hit cell at row: 19, column: 18: SUCCESS
-Attempting to hit cell at row: 20, column: 0: SUCCESS
-Attempting to hit cell at row: 20, column: 1: SUCCESS
-Attempting to hit cell at row: 20, column: 2: SUCCESS
-Attempting to hit cell at row: 20, column: 3: SUCCESS
-Attempting to hit cell at row: 20, column: 4: SUCCESS
-Attempting to hit cell at row: 20, column: 5: SUCCESS
-Attempting to hit cell at row: 20, column: 6: SUCCESS
-Attempting to hit cell at row: 20, column: 7: SUCCESS
-Attempting to hit cell at row: 20, column: 8: SUCCESS
-Attempting to hit cell at row: 20, column: 9: SUCCESS
-Attempting to hit cell at row: 20, column: 10: SUCCESS
-Attempting to hit cell at row: 20, column: 11: SUCCESS
-Attempting to hit cell at row: 20, column: 12: SUCCESS
-Attempting to hit cell at row: 20, column: 13: SUCCESS
-Attempting to hit cell at row: 20, column: 14: SUCCESS
-Attempting to hit cell at row: 20, column: 15: SUCCESS
-Attempting to hit cell at row: 20, column: 16: SUCCESS
-Attempting to hit cell at row: 20, column: 17: SUCCESS
-Attempting to hit cell at row: 20, column: 18: SUCCESS
-Attempting to hit cell at row: 21, column: 0: SUCCESS
-Attempting to hit cell at row: 21, column: 1: SUCCESS
-Attempting to hit cell at row: 21, column: 2: SUCCESS
-Attempting to hit cell at row: 21, column: 3: SUCCESS
-Attempting to hit cell at row: 21, column: 4: SUCCESS
-Attempting to hit cell at row: 21, column: 5: SUCCESS
-Attempting to hit cell at row: 21, column: 6: SUCCESS
-Attempting to hit cell at row: 21, column: 7: SUCCESS
-Attempting to hit cell at row: 21, column: 8: SUCCESS
-Attempting to hit cell at row: 21, column: 9: SUCCESS
-Attempting to hit cell at row: 21, column: 10: SUCCESS
-Attempting to hit cell at row: 21, column: 11: SUCCESS
-Attempting to hit cell at row: 21, column: 12: SUCCESS
-Attempting to hit cell at row: 21, column: 13: SUCCESS
-Attempting to hit cell at row: 21, column: 14: SUCCESS
-Attempting to hit cell at row: 21, column: 15: SUCCESS
-Attempting to hit cell at row: 21, column: 16: SUCCESS
-Attempting to hit cell at row: 21, column: 17: SUCCESS
-Attempting to hit cell at row: 21, column: 18: SUCCESS
-Attempting to hit cell at row: 22, column: 0: SUCCESS
-Attempting to hit cell at row: 22, column: 1: SUCCESS
-Attempting to hit cell at row: 22, column: 2: SUCCESS
-Attempting to hit cell at row: 22, column: 3: SUCCESS
-Attempting to hit cell at row: 22, column: 4: SUCCESS
-Attempting to hit cell at row: 22, column: 5: SUCCESS
-Attempting to hit cell at row: 22, column: 6: SUCCESS
-Attempting to hit cell at row: 22, column: 7: SUCCESS
-Attempting to hit cell at row: 22, column: 8: SUCCESS
-Attempting to hit cell at row: 22, column: 9: SUCCESS
-Attempting to hit cell at row: 22, column: 10: SUCCESS
-Attempting to hit cell at row: 22, column: 11: SUCCESS
-Attempting to hit cell at row: 22, column: 12: SUCCESS
-Attempting to hit cell at row: 22, column: 13: SUCCESS
-Attempting to hit cell at row: 22, column: 14: SUCCESS
-Attempting to hit cell at row: 22, column: 15: SUCCESS
-Attempting to hit cell at row: 22, column: 16: SUCCESS
-Attempting to hit cell at row: 22, column: 17: SUCCESS
-Attempting to hit cell at row: 22, column: 18: SUCCESS
-Attempting to hit cell at row: 23, column: 0: SUCCESS
-Attempting to hit cell at row: 23, column: 1: SUCCESS
-Attempting to hit cell at row: 23, column: 2: SUCCESS
-Attempting to hit cell at row: 23, column: 3: SUCCESS
-Attempting to hit cell at row: 23, column: 4: SUCCESS
-Attempting to hit cell at row: 23, column: 5: SUCCESS
-Attempting to hit cell at row: 23, column: 6: SUCCESS
-Attempting to hit cell at row: 23, column: 7: SUCCESS
-Attempting to hit cell at row: 23, column: 8: SUCCESS
-Attempting to hit cell at row: 23, column: 9: SUCCESS
-Attempting to hit cell at row: 23, column: 10: SUCCESS
-Attempting to hit cell at row: 23, column: 11: SUCCESS
-Attempting to hit cell at row: 23, column: 12: SUCCESS
-Attempting to hit cell at row: 23, column: 13: SUCCESS
-Attempting to hit cell at row: 23, column: 14: SUCCESS
-Attempting to hit cell at row: 23, column: 15: SUCCESS
-Attempting to hit cell at row: 23, column: 16: SUCCESS
-Attempting to hit cell at row: 23, column: 17: SUCCESS
-Attempting to hit cell at row: 23, column: 18: SUCCESS
-
diff --git a/LayoutTests/platform/chromium-linux/tables/hittesting/filltable-emptycells-expected.txt b/LayoutTests/tables/hittesting/filltable-emptycells-expected.txt
similarity index 100%
rename from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-emptycells-expected.txt
rename to LayoutTests/tables/hittesting/filltable-emptycells-expected.txt
diff --git a/LayoutTests/tables/hittesting/filltable-emptycells.html b/LayoutTests/tables/hittesting/filltable-emptycells.html
index 81e4ac1..2d08a6e 100644
--- a/LayoutTests/tables/hittesting/filltable-emptycells.html
+++ b/LayoutTests/tables/hittesting/filltable-emptycells.html
@@ -22,21 +22,20 @@
return row == 0 && col > 0;
}
- function cellMouseMove(cell) {
+ function cellHit(cell) {
var cellId = 3 * cell.parentNode.rowIndex + cell.cellIndex;
- cell.style.backgroundColor = "green";
// If we see an even number of moves then the cell's bit is 1 else 0
lastSuccess = cellId;
}
function doTest() {
- if (!window.layoutTestController) return;
var ypos = cellHeight / 2;
for (var row = 0; row < 2; row++) {
var xpos = cellWidth / 2;
for (var col = 0; col < 3; col++) {
var oldLastSuccess = lastSuccess;
- eventSender.mouseMoveTo(xpos, ypos);
+ var elem = document.elementFromPoint(xpos, ypos);
+ if (elem && elem.onmousemove) elem.onmousemove();
var cellId = 3 * row + col;
logMsg += "Hit cell at row: " + row + ", column: " + col + ": ";
var success = lastSuccess == cellId;
@@ -58,15 +57,15 @@
<table class="testtable">
<tr>
- <td align="right" id="r1c1" onmousemove="cellMouseMove(this)">
+ <td align="right" onmousemove="cellHit(this)">
</td>
</tr>
<tr>
- <td id="r2c1" onmousemove="cellMouseMove(this)">
+ <td onmousemove="cellHit(this)">
</td>
- <td id="r2c2" onmousemove="cellMouseMove(this)">
+ <td onmousemove="cellHit(this)">
</td>
- <td id="r2c3" onmousemove="cellMouseMove(this)">
+ <td onmousemove="cellHit(this)">
</td>
</tr>
</table>
diff --git a/LayoutTests/platform/chromium-linux/tables/hittesting/filltable-levels-expected.txt b/LayoutTests/tables/hittesting/filltable-levels-expected.txt
similarity index 100%
rename from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-levels-expected.txt
rename to LayoutTests/tables/hittesting/filltable-levels-expected.txt
diff --git a/LayoutTests/tables/hittesting/filltable-levels.html b/LayoutTests/tables/hittesting/filltable-levels.html
index 8e8fc3a..2328dd4 100644
--- a/LayoutTests/tables/hittesting/filltable-levels.html
+++ b/LayoutTests/tables/hittesting/filltable-levels.html
@@ -30,44 +30,39 @@
}
}
- function cellMouseMove_r1c1(cell) {
+ function cellHit_r1c1(cell) {
hitArray[0][0] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r1c2(cell) {
+
+ function cellHit_r1c2(cell) {
hitArray[0][1] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r1c3(cell) {
+
+ function cellHit_r1c3(cell) {
hitArray[0][2] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r2c1(cell) {
+
+ function cellHit_r2c1(cell) {
hitArray[1][0] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r2c2(cell) {
+ function cellHit_r2c2(cell) {
hitArray[1][1] = true;
// The second grid slot that this cell occupies is obscured by another cell.
//hitArray[2][1] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r2c3(cell) {
+ function cellHit_r2c3(cell) {
hitArray[1][2] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r3c1(cell) {
+ function cellHit_r3c1(cell) {
hitArray[2][0] = true;
hitArray[2][1] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r3c3(cell) {
+ function cellHit_r3c3(cell) {
hitArray[2][2] = true;
- cell.style.backgroundColor = "green";
}
function doTest() {
@@ -76,7 +71,8 @@
var xpos = cellWidth / 2;
for (var col = 0; col < 3; col++) {
logMsg += "Hit cell at row: " + row + ", column: " + col + ": ";
- eventSender.mouseMoveTo(xpos, ypos);
+ var elem = document.elementFromPoint(xpos, ypos);
+ if (elem) elem.onmousemove();
if (!hitArray[row][col]) failed = true;
logMsg += (hitArray[row][col] ? "SUCCESS" : "FAIL") + "<br />";
clearHitArray();
@@ -94,18 +90,18 @@
<body onload="doTest()">
<table class="testtable">
<tr>
- <td id="r1c1" onmousemove="cellMouseMove_r1c1(this)"></td>
- <td id="r1c2" onmousemove="cellMouseMove_r1c2(this)"></td>
- <td id="r1c3" onmousemove="cellMouseMove_r1c3(this)"></td>
+ <td onmousemove="cellHit_r1c1(this)"></td>
+ <td onmousemove="cellHit_r1c2(this)"></td>
+ <td onmousemove="cellHit_r1c3(this)"></td>
</tr>
<tr>
- <td id="r2c1" onmousemove="cellMouseMove_r2c1(this)"></td>
- <td id="r2c2" onmousemove="cellMouseMove_r2c2(this)" rowspan="2"></td>
- <td id="r2c3" onmousemove="cellMouseMove_r2c3(this)"></td>
+ <td onmousemove="cellHit_r2c1(this)"></td>
+ <td onmousemove="cellHit_r2c2(this)" rowspan="2"></td>
+ <td onmousemove="cellHit_r2c3(this)"></td>
</tr>
<tr>
- <td id="r3c1" onmousemove="cellMouseMove_r3c1(this)" colspan="2"></td>
- <td id="r3c3" onmousemove="cellMouseMove_r3c3(this)"></td>
+ <td onmousemove="cellHit_r3c1(this)" colspan="2"></td>
+ <td onmousemove="cellHit_r3c3(this)"></td>
</tr>
</table>
</body>
diff --git a/LayoutTests/platform/chromium-linux/tables/hittesting/filltable-outline-expected.txt b/LayoutTests/tables/hittesting/filltable-outline-expected.txt
similarity index 100%
rename from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-outline-expected.txt
rename to LayoutTests/tables/hittesting/filltable-outline-expected.txt
diff --git a/LayoutTests/tables/hittesting/filltable-outline.html b/LayoutTests/tables/hittesting/filltable-outline.html
index c61c638..f895d20 100644
--- a/LayoutTests/tables/hittesting/filltable-outline.html
+++ b/LayoutTests/tables/hittesting/filltable-outline.html
@@ -64,9 +64,8 @@
}
}
- function cellMouseMove(cell) {
+ function cellHit(cell) {
hitArray[cell.parentNode.rowIndex][cell.cellIndex] = true;
- cell.style.backgroundColor = "green";
}
function setup() {
@@ -78,124 +77,124 @@
<body onload="setup()" >
<table class="testtable" cellpadding="0" cellspacing="0">
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)" id="outline1" style="outline: 50px solid red;"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)" id="outline1" style="outline: 50px solid red;"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)" id="cellabove" style="background-color: red;"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)" id="cellabove" style="background-color: red;"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)" id="cellleft"></td>
- <td onmousemove="cellMouseMove(this)" id="outline2" style="outline: 50px solid red;"></td>
- <td onmousemove="cellMouseMove(this)" id="cellright"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)" id="cellleft"></td>
+ <td onmousemove="cellHit(this)" id="outline2" style="outline: 50px solid red;"></td>
+ <td onmousemove="cellHit(this)" id="cellright"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)" id="cellbelow"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)" id="cellbelow"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
- <td onmousemove="cellMouseMove(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
+ <td onmousemove="cellHit(this)"></td>
</tr>
</table>
</body>
diff --git a/LayoutTests/platform/chromium-linux/tables/hittesting/filltable-rtl-expected.txt b/LayoutTests/tables/hittesting/filltable-rtl-expected.txt
similarity index 100%
rename from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-rtl-expected.txt
rename to LayoutTests/tables/hittesting/filltable-rtl-expected.txt
diff --git a/LayoutTests/tables/hittesting/filltable-rtl.html b/LayoutTests/tables/hittesting/filltable-rtl.html
index f7d9910..76fa4b5 100644
--- a/LayoutTests/tables/hittesting/filltable-rtl.html
+++ b/LayoutTests/tables/hittesting/filltable-rtl.html
@@ -28,37 +28,31 @@
}
}
- function cellMouseMove_r1c1(cell) {
+ function cellHit_r1c1(cell) {
hitArray[0][0] = true;
hitArray[0][1] = true;
hitArray[0][2] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r2c1(cell) {
+ function cellHit_r2c1(cell) {
hitArray[1][0] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r2c2(cell) {
+ function cellHit_r2c2(cell) {
hitArray[1][1] = true;
hitArray[2][1] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r2c3(cell) {
+ function cellHit_r2c3(cell) {
hitArray[1][2] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r3c1(cell) {
+ function cellHit_r3c1(cell) {
hitArray[2][0] = true;
- cell.style.backgroundColor = "green";
}
- function cellMouseMove_r3c3(cell) {
+ function cellHit_r3c3(cell) {
hitArray[2][2] = true;
- cell.style.backgroundColor = "green";
}
function doTest() {
@@ -67,7 +61,8 @@
var xpos = cellWidth / 2;
for (var col = 0; col < 3; col++) {
logMsg += "Hit cell at row: " + row + ", column: " + col + ": ";
- eventSender.mouseMoveTo(xpos, ypos);
+ var elem = document.elementFromPoint(xpos, ypos);
+ if (elem) elem.onmousemove();
if (!hitArray[row][col]) failed = true;
logMsg += (hitArray[row][col] ? "SUCCESS" : "FAIL") + "<br />";
clearHitArray();
@@ -86,16 +81,16 @@
<body onload="doTest()">
<table class="testtable">
<tr>
- <td colspan="3" align="right" onmousemove="cellMouseMove_r1c1(this)"></td>
+ <td colspan="3" align="right" onmousemove="cellHit_r1c1(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove_r2c1(this)"></td>
- <td rowspan="2" onmousemove="cellMouseMove_r2c2(this)"></td>
- <td onmousemove="cellMouseMove_r2c3(this)"></td>
+ <td onmousemove="cellHit_r2c1(this)"></td>
+ <td rowspan="2" onmousemove="cellHit_r2c2(this)"></td>
+ <td onmousemove="cellHit_r2c3(this)"></td>
</tr>
<tr>
- <td onmousemove="cellMouseMove_r3c1(this)"></td>
- <td onmousemove="cellMouseMove_r3c3(this)"></td>
+ <td onmousemove="cellHit_r3c1(this)"></td>
+ <td onmousemove="cellHit_r3c3(this)"></td>
</tr>
</table>
</body>
diff --git a/LayoutTests/platform/chromium-linux/tables/hittesting/filltable-stress-expected.txt b/LayoutTests/tables/hittesting/filltable-stress-expected.txt
similarity index 100%
rename from LayoutTests/platform/chromium-linux/tables/hittesting/filltable-stress-expected.txt
rename to LayoutTests/tables/hittesting/filltable-stress-expected.txt
diff --git a/LayoutTests/tables/hittesting/filltable-stress.html b/LayoutTests/tables/hittesting/filltable-stress.html
index 61286e3..85592a4 100644
--- a/LayoutTests/tables/hittesting/filltable-stress.html
+++ b/LayoutTests/tables/hittesting/filltable-stress.html
@@ -19,8 +19,7 @@
window.layoutTestController.waitUntilDone();
}
- function cellMouseMove(cell) {
- cell.style.backgroundColor = "green";
+ function cellHit(cell) {
var cellId = 24 * cell.parentNode.rowIndex + cell.cellIndex;
lastSuccess = cellId;
}
@@ -32,7 +31,8 @@
for (var col = 0; col < 19; col++) {
var cellId = 24 * row + col;
logMsg += "Attempting to hit cell at row: " + row + ", column: " + col + ": ";
- eventSender.mouseMoveTo(xpos, ypos);
+ var elem = document.elementFromPoint(xpos, ypos);
+ if (elem) elem.onmousemove();
var success = lastSuccess == cellId;
if (!success) failed = true;
logMsg += (success ? "SUCCESS" : "FAIL") + "<br />";
@@ -54,7 +54,7 @@
var rowstr = "<tr height=\"20\">";
for (var col = 0; col < colcount; col++) {
var cellId = "r" + row + "c" + col;
- var colstr = "<td width=\"" + cellwidth + "\" id=\"" + cellId + "\" onmousemove=\"cellMouseMove(this)\"></td>";
+ var colstr = "<td width=\"" + cellwidth + "\" id=\"" + cellId + "\" onmousemove=\"cellHit(this)\"></td>";
rowstr += colstr;
}
rowstr += "</tr>";
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list