[Webkit-unassigned] [Bug 116437] New: Double clicking to select text range incorrectly selects across markup boundaries

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon May 20 05:28:25 PDT 2013


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

           Summary: Double clicking to select text range incorrectly
                    selects across markup boundaries
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Macintosh
        OS/Version: Mac OS X 10.8
            Status: UNCONFIRMED
          Severity: Minor
          Priority: P2
         Component: Event Handling
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: matt at inventpartners.com


I have observed this in definition lists. It may exhibit elsewhere:

Given the following markup:

<dl>
  <dt>Definition Label</dt>
  <dd>Text Content</dd>
</dl>

Double clicking the word "text" above, creates a selection range across the words "Label" and "Text", ignoring the </dt><dd> word boundary and the whitespace. Copying the selection into the paste buffer results in the "LabelText" being stored.

Triple clicking the word "text" results in the correct selection of the content between <dd> and </dd>, giving us a selection of "Text Content"

Putting a non-breaking space in to the markup forces the missing word boundary, eg:

<dl>
  <dt>Definition Label </dt>
  <dd>Text Content</dd>
</dl>

Double clicking "Text" now selects the word "Text" only, and this is all that will be copied into the paste buffer, but the selection range displayed on screen appears to take in everything from the   to the end of the word "Text"

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