[Webkit-unassigned] [Bug 106738] New: Double clicking to select word at the start of a line should not selects line number

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 12 23:55:41 PST 2013


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

           Summary: Double clicking to select word at the start of a line
                    should not selects line number
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Tools / Tests
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: joepeck at webkit.org


This bugs me occasionally when I'm trying to review a patch and select some text to search the patch for it.

* STEPS TO REPRODUCE
1. Open a PFR, for example <https://bugs.webkit.org/attachment.cgi?id=99713&action=review>
2. Double click to select some text at the start of a line, like "WebInspector.CompilerSourceMapping".
  => The line number is also selected, so "32WebInspector.CompilerSourceMapping" is the selected text.

* NOTES:
This appears to be because there is no space / break between the <span> containing the line number and the <span> text intended to be select:

>    <div class="Line LineContainer add" id="line220">
>        <span class="from lineNumber"> </span><span class="to lineNumber">32</span><span class="text">WebInspector.CompilerSourceMapping = function()</span>
>    </div>

We should just add something there to break selection between the two spans.

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