Bug 17131

Summary: Find-in-page draws yellow highlight wrong when CSS3 multi-column support is used
Product: WebKit Reporter: Eric Seidel (no email) <eric>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: chinchi29, hartman.wiki
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
Attachments:
Description Flags
screenshot showing bug none

Description Eric Seidel (no email) 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 (no email) 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.