WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
67151
Text selection rects render incorrectly inside spans
https://bugs.webkit.org/show_bug.cgi?id=67151
Summary
Text selection rects render incorrectly inside spans
Matthew Delaney
Reported
2011-08-29 13:43:43 PDT
This affects both Chrome and Safari on Lion - didn't try anywhere else. Steps: 1) Go to:
http://developer.apple.com/library/mac/#documentation/GraphicsImaging/Conceptual/drawingwithquartz2d/Introduction/Introduction.html
2) Scroll to the bottom 3) In the "See Also" section, there are 4 list items. The bottom two have spans inside. Select text in either such as "list to discuss". Expected: The blue selection rect covers just the line. Actual: The first line is covered plus some below, the 2nd line appears to only have a small lower sliver selected.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2011-08-29 13:44:12 PDT
<
rdar://problem/10041115
>
mitz
Comment 2
2011-08-29 13:54:37 PDT
This is caused by the 10px bottom padding on the span containing the “quartz-dev” link on the first line.
mitz
Comment 3
2011-08-29 13:55:31 PDT
…and in general, WebKit’s behavior here mimics NSTextView’s.
Prashant Nevase
Comment 4
2012-07-26 01:44:08 PDT
The same issue is seen in the following page.
https://developer.apple.com/library/mac/#documentation/InternetWeb/Conceptual/WebKit_PluginProgTopic/WebKitPluginTopics.html
The issue is due to "bottom padding" same as that of earlier mentioned web page.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug