[Webkit-unassigned] [Bug 128705] New: Highlighting of selected text incorrect when ::first-letter applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 12 16:51:20 PST 2014


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

           Summary: Highlighting of selected text incorrect when
                    ::first-letter applied
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: graeck at gmail.com


If you have some text where the ::first-letter pseudo-element has been applied and double click the affected word, all EXCEPT the first letter is highlighted.

If you do a copy/paste with the highlighted text, you find that the whole word was copied, so it's just a highlighting error.

See it here:  http://jsfiddle.net/P3TLx/4/

Local example:

CSS
p::first-letter { text-transform: uppercase; }

HTML
<p>this is some text.</p>

If you were to double click "This" in the rendered HTML, only 'his' would highlight.

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