Bug 128705

Summary: Highlighting of selected text incorrect when ::first-letter applied
Product: WebKit Reporter: GregR <graeck>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED DUPLICATE    
Severity: Normal    
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac (Intel)   
OS: OS X 10.9   

GregR
Reported 2014-02-12 16:48:36 PST
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.
Attachments
GregR
Comment 1 2014-02-12 17:11:10 PST
This issue has been around at least a year and currently appears in the latest Webkit (r163960).
GregR
Comment 2 2014-02-13 10:18:25 PST
Didn't see it yesterday, but now I see that this issue has been previously reported. *** This bug has been marked as a duplicate of bug 6185 ***
Note You need to log in before you can comment on or make changes to this bug.