Search Whole Words misses some results (example included), depends on the search direction

NEW
Unassigned

Status

()

Toolkit
Find Toolbar
P3
normal
8 months ago
7 months ago

People

(Reporter: forkest, Unassigned)

Tracking

50 Branch
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

8 months ago
User Agent: Mozilla/5.0 (Windows NT 5.1; rv:50.0) Gecko/20100101 Firefox/50.0
Build ID: 20161104212021

Steps to reproduce:

The snippet to reproduce, save as .html: <!doctype html><table><tbody><tr><td>A</td><td>word</td></tr><tr><td>word word word</td><td>B</td></tr><tr><td>word word word</td><td>C</td></tr></tbody></table>


Actual results:

In Whole Words mode finds only some results, the first "word" in each row is not found when searching forwards and the last one when searching backwards. Highlight All hightlights as if it was a forward search.


Expected results:

All the "word"s to be found.

Updated

8 months ago
Component: Untriaged → Find Toolbar
Product: Firefox → Toolkit

Updated

8 months ago
Blocks: 269442
(Reporter)

Comment 1

8 months ago
Hello, Mike. Sorry to bother you, but since you're the one who implemented the feature, I decided that I should approach you directly. I wanted to make sure you didn't miss the bug and I hope you have willingness to fix it. Thank you.
Flags: needinfo?(mdeboer)
Forkest, thanks for reaching out. It's on my list, but I might need the help of other experts to fix it.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Flags: needinfo?(mdeboer)
Priority: -- → P3
(Reporter)

Comment 3

7 months ago
Thank you for the answer. While you are here, please also take a look at Bug 269442 Comment 139. That is not as important as this bug, but it would be nice to have that fixed too.
You need to log in before you can comment on or make changes to this bug.