[Webkit-unassigned] [Bug 29205] New: Row of text gets selected even if mouse does not touch it

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 11 13:05:07 PDT 2009


https://bugs.webkit.org/show_bug.cgi?id=29205

           Summary: Row of text gets selected even if mouse does not touch
                    it
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: PC
        OS/Version: Mac OS X 10.5
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Text
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: morten.larsen at ludit.it


Created an attachment (id=39468)
 --> (https://bugs.webkit.org/attachment.cgi?id=39468)
Reduced example to show the problem

After a double click on a word in text content, dragging the mouse to the left
on the same line of text makes the selection expand to the word under the
mouse. However, in the example attached, it also expands to the previous line,
even if the mouse has not been dragged over it.

This happens when the components of the text are included in <span> tags, see
attached file selection_trouble.html


To reproduce:

- Open file selection_trouble.html in WebKit.app
- Double click on "www.example.com"
- Drag the mouse toward the left to include the part "http". Make sure the
mouse stays over the second line.


Result:

The selection expands to include the beginning of the line "http:", but also
the previous line containing the word "Header".


Expected result:

The selection should only expand to include the part under the mouse, i.e.,
"http:" without "jumping" up to the first line.

-- 
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