[SCM] WebKit Debian packaging branch, webkit-1.1, updated. upstream/1.1.15.1-1414-gc69ee75
eric at webkit.org
eric at webkit.org
Thu Oct 29 20:39:28 UTC 2009
The following commit has been merged in the webkit-1.1 branch:
commit 855882653e4bbcb64e0570dd9fef613fc1d3bc7f
Author: eric at webkit.org <eric at webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Date: Mon Oct 5 23:10:43 2009 +0000
2009-10-05 Julie Parent <jparent at chromium.org>
Reviewed by Darin Adler.
Make LayoutTests/editing/selection/hit-test-anonymous.html resistant to
GDI/CG differences, by increasing the font size so the slight
difference in fonts doesn't result in a different character clicked.
https://bugs.webkit.org/show_bug.cgi?id=29985
* editing/selection/hit-test-anonymous.html:
git-svn-id: http://svn.webkit.org/repository/webkit/trunk@49127 268f45cc-cd09-0410-ab3c-d52691b4dbfc
diff --git a/LayoutTests/ChangeLog b/LayoutTests/ChangeLog
index 4f61b6b..7142c03 100644
--- a/LayoutTests/ChangeLog
+++ b/LayoutTests/ChangeLog
@@ -1,3 +1,14 @@
+2009-10-05 Julie Parent <jparent at chromium.org>
+
+ Reviewed by Darin Adler.
+
+ Make LayoutTests/editing/selection/hit-test-anonymous.html resistant to
+ GDI/CG differences, by increasing the font size so the slight
+ difference in fonts doesn't result in a different character clicked.
+ https://bugs.webkit.org/show_bug.cgi?id=29985
+
+ * editing/selection/hit-test-anonymous.html:
+
2009-10-05 Dave Hyatt <hyatt at apple.com>
Update layout tests to account for the new beforeload event object.
diff --git a/LayoutTests/editing/selection/hit-test-anonymous.html b/LayoutTests/editing/selection/hit-test-anonymous.html
index cd102d7..e7b341b 100644
--- a/LayoutTests/editing/selection/hit-test-anonymous.html
+++ b/LayoutTests/editing/selection/hit-test-anonymous.html
@@ -44,6 +44,8 @@ span:after {
var y = block.offsetTop + 5;
if (window.eventSender) {
+ // Click in the anonymous content, check that cursor goes to
+ // the start of the span.
eventSender.mouseMoveTo(x, y);
eventSender.mouseDown();
eventSender.mouseUp();
@@ -55,12 +57,13 @@ span:after {
x = block.offsetLeft + 200;
if (window.eventSender) {
+ // Click in the regular text, make sure it goes into the span.
eventSender.mouseMoveTo(x, y);
eventSender.mouseDown();
eventSender.mouseUp();
}
- if (checkSelection(2, "(text in span, 24), (text in span, 24)"))
+ if (checkSelection(2, "(text in span, 7), (text in span, 7)"))
return;
document.getElementById("result").innerHTML = "SUCCESS";
@@ -69,6 +72,6 @@ span:after {
</head>
<body onload="runTest()">
<p>This tests clicking in anonymous content to see if a selection is successfully created.</p>
-<p id="block" contentEditable style="border: 1px solid blue"><span id="span">This is the selectable text.</span></div>
+<p id="block" contentEditable style="border: 1px solid blue; font-size:30px"><span id="span">This is the selectable text.</span></div>
<p id="result">TEST DID NOT RUN</div>
</body>
--
WebKit Debian packaging
More information about the Pkg-webkit-commits
mailing list