[Webkit-unassigned] [Bug 31985] New: editing/selection/last-empty-inline is failing in Windows
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Nov 30 09:02:47 PST 2009
https://bugs.webkit.org/show_bug.cgi?id=31985
Summary: editing/selection/last-empty-inline is failing in
Windows
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
URL: https://bug-29966-attachments.webkit.org/attachment.cg
i?id=43915
OS/Version: Windows XP
Status: NEW
Severity: Normal
Priority: P2
Component: Tools / Tests
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: hamaji at chromium.org
I introduced (sorry!) a failing layout test
(editing/selection/last-empty-inline.html) for Windows and Qt in Bug 29966. The
change was: http://trac.webkit.org/changeset/51429
I put the failing test as the URL of this bug. This test drags the mouse from a
point below the comma between "Hello" and "world!" and check if "world!" is
selected. Before Bug 29966, "world!" wasn't selected even if we drag the mouse
from the point below '!' after "world" to the comma between "Hello" and
"world". The last-empty-inline was intended to check this behavior. I'll submit
a patch which changes the test case so that it drags the mouse from the point
below '!'.
Note that it seems Qt lacks something to test editing features. So, I couldn't
fix this test for now.
By the way, I'm not sure if the original test case should pass as is. In Mac
world, this should be definitely pass (clicking below the last line is
considered as the click to the end of the last line). In Windows, I'm not sure
what is the right behavior. With Firefox, "world!" is selected but nothing is
selected with WebKit. WebKit ignores empty inline elements when it searches the
clicked inline element even if the empty inline element is visible because of
paddings. So, WebKit considers "Hello, world!" is the last line and the
clicking below the last line is consider as the click to the middle of the last
line in Windows. If someone think this is a bug, I'll file another bug.
Hmm... my English isn't good to describe this kind of a bit complicated
geometric stuff. Please feel free to say "hey, your English is terrible,
elaborate again" if there are something unclear.
--
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