Bug 17131 - Find-in-page draws yellow highlight wrong when CSS3 multi-column support is used
Summary: Find-in-page draws yellow highlight wrong when CSS3 multi-column support is used
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Macintosh OS X 10.5
: P2 Normal
Assignee: Nobody
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2008-02-01 01:42 PST by Eric Seidel
Modified: 2010-06-16 08:15 PDT (History)
2 users (show)

See Also:


Attachments
screenshot showing bug (58.06 KB, image/png)
2008-02-01 01:42 PST, Eric Seidel
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel 2008-02-01 01:42:14 PST
Find-in-page draws yellow highlight wrong when CSS3 multi-column support is used

See screenshot.

I have this in my UA CSS:
pre {
 -webkit-column-width: 600px;
 height: 97%;
}
(For viewing guitar tabs nicely)
Comment 1 Eric Seidel 2008-02-01 01:42:41 PST
Created attachment 18846 [details]
screenshot showing bug
Comment 2 Adam Roben (:aroben) 2008-02-01 07:41:34 PST
<rdar://problem/5719517>
Comment 3 Derk-Jan Hartman 2008-10-29 07:04:38 PDT
These "selections" get the wrong position as well:

http://en.wikipedia.org/wiki/Template:Reflist/Safari_testcase

Clicking the [Ref] should highlight the corresponding reference in the list (try with [1]), but instead (try [150]) jumps to the "old" position of this references before the "columnizing". The issues are not identical, but are likely based on the same core problem.
Comment 4 Derk-Jan Hartman 2008-10-29 07:31:09 PDT
The Web Inspector has the same highlight issue when trying to highlight the corresponding DOM element.
Comment 5 Derk-Jan Hartman 2010-06-16 08:15:41 PDT
This problem is fixed in Safari 5 and Chrome 5.