NEW15300
Background color drawn beyond end of line when selecting text
https://bugs.webkit.org/show_bug.cgi?id=15300
Summary Background color drawn beyond end of line when selecting text
Sridhar Gurivireddy
Reported 2007-09-27 18:45:31 PDT
Safari deviates from other browsers when it comes to drawing background color when selecting text. This makes it really ugly when using online office suites like Google docs Open the attached file and select the text. Safari draws background color all over the line. It looks fine for this example, but when you are editing a document online (like in Google Docs), it looks really ugly
Attachments
open the file in safari and select some text (568 bytes, text/html)
2007-09-27 18:46 PDT, Sridhar Gurivireddy
no flags
screenshot of Webkit marking text way (74.46 KB, image/gif)
2008-02-24 04:58 PST, Robert Blaut
no flags
screenshot of Opera marking text way (55.87 KB, image/gif)
2008-02-24 05:00 PST, Robert Blaut
no flags
Screenshot of Gecko marking text way (56.07 KB, image/gif)
2008-02-24 05:02 PST, Robert Blaut
no flags
Sridhar Gurivireddy
Comment 1 2007-09-27 18:46:15 PDT
Created attachment 16425 [details] open the file in safari and select some text
David Kilzer (:ddkilzer)
Comment 2 2007-09-28 06:07:50 PDT
Looks fine on Safari 3 Public Beta v. 3.0.3 (522.12.1) with a local debug build of WebKit r25776 on Mac OS X 10.4.10 (8R218). Could you post a screenshot? Have you changed your default highlight color on Windows?
David Kilzer (:ddkilzer)
Comment 3 2007-09-28 06:09:58 PDT
Actually, I think this behavior is expected (that the rest of the line to the right edge of the window is highlighted when you drag downward). Could you attach a screenshot of the issue in Google Docs?
Robert Blaut
Comment 4 2008-02-24 04:58:39 PST
Created attachment 19318 [details] screenshot of Webkit marking text way (In reply to comment #3) > Actually, I think this behavior is expected (that the rest of the line to the > right edge of the window is highlighted when you drag downward). > > Could you attach a screenshot of the issue in Google Docs? > I can confirm this bug. Generally text highlighting in Webkit looks really bad in comparison to other browsers like Firefox and Opera.
Robert Blaut
Comment 5 2008-02-24 05:00:46 PST
Created attachment 19319 [details] screenshot of Opera marking text way
Robert Blaut
Comment 6 2008-02-24 05:02:02 PST
Created attachment 19320 [details] Screenshot of Gecko marking text way
Eric Seidel (no email)
Comment 7 2008-07-03 22:52:11 PDT
My understanding is that this is just the mac way of highlighting text. Try highlighting text in TextEdit, you'll see the highlight extend to the end of the line, even if there is a return on that line.
Note You need to log in before you can comment on or make changes to this bug.