Bug 128705
| Summary: | Highlighting of selected text incorrect when ::first-letter applied | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | GregR <graeck> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Mac (Intel) | ||
| OS: | OS X 10.9 | ||
GregR
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
GregR
This issue has been around at least a year and currently appears in the latest Webkit (r163960).
GregR
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 ***