Open Bug 1319834 Opened 8 years ago Updated 2 years ago

Find in page does not highlight results cotaining both hyperlink and normal text

Categories

(Firefox for iOS :: General, defect, P3)

All
iOS
defect

Tracking

()

Tracking Status
fxios-v6.0 --- affected
fxios-v7.0 --- affected
fxios + ---

People

(Reporter: SimonB, Unassigned)

Details

Build: 6.0b4
Device: iPad Pro 
iOS: 9.3.5

Steps to reproduce:
1. Go to https://en.wikipedia.org/wiki/Wiki
2. Open the menu 
3. Tap Find in page
4. Type 'using wiki software'

Actual result:
- The words are not found in the page and do not appear highlighted. When typing only words that contain a hyperlink, they are found and highlighted. When typing combine words that contain/don't contain a link, they are not not found in page and do not appear highlighted. 

Expected results:
- The words should be found and highlighted. 

Note:
- The same issue is not reproducible in Safari.

See video of the issue: 
https://www.youtube.com/watch?v=Dwpif4YCsLA
Priority: -- → P3
I looked into this a bit and found it is because we are inserting a span element into the page for each found result. We cannot wrap the span element across elements, so we don't search across them. This strategy opens up problems if there is specific styling on the page that applies to spans. Safari seems to use an overlay of sorts, as do we on desktop, perhaps we should consider that type of strategy instead, though it would be a fairly large overhaul.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.