[Webkit-unassigned] [Bug 50731] New: caret-ltr-right.html, caret-rtl-2-left.html, and caret-rtl-right.html fail on Windows bots
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Wed Dec 8 19:54:03 PST 2010
https://bugs.webkit.org/show_bug.cgi?id=50731
Summary: caret-ltr-right.html, caret-rtl-2-left.html, and
caret-rtl-right.html fail on Windows bots
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Windows 7
Status: NEW
Severity: Normal
Priority: P1
Component: HTML Editing
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: rniwa at webkit.org
CC: aroben at apple.com, bweinstein at apple.com
The following tests are failing on Windows bots:
editing/selection/caret-ltr-right.html
editing/selection/caret-rtl-2-left.html
editing/selection/caret-rtl-right.html
The problem is that the selection is not collapsed.
--- /home/buildbot/slave/WebKit-BuildSlave/win-release-tests/build/layout-test-results/editing/selection/caret-ltr-right-expected.txt 2010-12-08 23:56:07.323441300 -0800
+++ /home/buildbot/slave/WebKit-BuildSlave/win-release-tests/build/layout-test-results/editing/selection/caret-ltr-right-actual.txt 2010-12-08 23:56:07.322441300 -0800
@@ -11,7 +11,8 @@
RenderText {#text} at (11,11) size 74x23
text run at (11,11) width 74: "WebKit2"
RenderBlock (anonymous) at (0,97) size 784x18
- RenderText {#text} at (0,0) size 39x18
- text run at (0,0) width 39: "PASS"
- RenderBR {BR} at (39,0) size 0x18
-caret: position 7 of child 0 {#text} of child 3 {DIV} of body
+ RenderText {#text} at (0,0) size 186x18
+ text run at (0,0) width 186: "FAIL: selection not collapsed"
+ RenderBR {BR} at (186,0) size 0x18
+selection start: position 0 of child 0 {#text} of child 3 {DIV} of body
+selection end: position 7 of child 0 {#text} of child 3 {DIV} of body
The main logic of these tests are implemented in http://trac.webkit.org/browser/trunk/LayoutTests/editing/selection/resources/caret-edge-shared.js
15 eventSender.mouseMoveTo(div.offsetLeft + x, div.offsetTop + div.offsetHeight / 2);
16 eventSender.leapForward(200);
17 eventSender.mouseDown();
18 eventSender.leapForward(200);
19 eventSender.mouseUp();
I'm emulating to click on the left or the right of LTR/RTL text but maybe I leapForward too much?
Or maybe we're setting focus to content editable area automatically and it's messing with selection.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list