Bug 180576 - [GTK] Searching text on page doesn't change scroll position correctly when zoom is applied
Summary: [GTK] Searching text on page doesn't change scroll position correctly when zo...
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: WebKit Local Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-12-08 01:42 PST by Konstantin Tokarev
Modified: 2018-08-03 10:21 PDT (History)
7 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Konstantin Tokarev 2017-12-08 01:42:08 PST
How to reproduce:

1. Open https://wiki.openstreetmap.org/wiki/Template:PastEvents
2. Try to find string "Leoben" (it can be found at four places)

Without zoom it works as expected: page scrolls to each text match. With any zoom change (either zoom in or zoom out) it breaks: scroll position changes for the first match only and then stops.

Reproduced with trunk with GTK port. Originally reported for Qt port (https://github.com/OtterBrowser/otter-browser/issues/1463). I guess this is generic WebCore issue.
Comment 1 Simon Fraser (smfr) 2017-12-12 11:57:58 PST
This works correctly on Mac with both pinch zoom, and command-+ zoom.
Comment 2 Michael Catanzaro 2017-12-12 16:09:37 PST
Let's use a GTK prefix, then.

I can reproduce.