Bug 192453

Summary: [iOS] REGRESSION: Foreground text in matched word may not be painted
Product: WebKit Reporter: Daniel Bates <dbates>
Component: WebKit Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: thorton, webkit-bug-importer, wenson_hsieh
Priority: P2 Keywords: InRadar, NeedsReduction, Regression
Version: WebKit Local Build   
Hardware: iPhone / iPad   
OS: iOS 12   
URL: https://www.google.com/search?client=safari&hl=en&tbm=fin&q=NASDAQ:+TSLA&stick=H4sIAAAAAAAAAONgecRoyi3w8sc9YSmdSWtOXmNU4-IKzsgvd80rySypFJLgYoOy-KR4uLj0c_UNkrMzCnMqeAAN-urSOgAAAA&biw=1101&bih=787
Attachments:
Description Flags
[Screenshot] Bug none

Description Daniel Bates 2018-12-05 21:31:07 PST
The foreground text for a Find-in-page match may not be painted. I observed this issue tonight when using Google Finance.

Steps to reproduce:

1. Visit <https://www.google.com/search?client=safari&hl=en&tbm=fin&q=NASDAQ:+TSLA&stick=H4sIAAAAAAAAAONgecRoyi3w8sc9YSmdSWtOXmNU4-IKzsgvd80rySypFJLgYoOy-KR4uLj0c_UNkrMzCnMqeAAN-urSOgAAAA&biw=1101&bih=787>
2. Click Compare.
3. Type “aapl” and press the return key.
4. Press Command + F to show the Find-in-page UI.
5. Type “tsla”.
6. Press Command + G a few times.

Eventually one of the matches will be highlighted, but the foreground text “tsla” will not be painted.
Comment 1 Radar WebKit Bug Importer 2018-12-05 21:31:32 PST
<rdar://problem/46511766>
Comment 2 Daniel Bates 2018-12-05 21:32:20 PST
Works in shipping Safari in iOS 12.1 (16B92).
Comment 3 Daniel Bates 2018-12-05 21:34:50 PST
Created attachment 356709 [details]
[Screenshot] Bug