Open Bug 1398717 Opened 7 years ago Updated 2 years ago

Modal Highlight does not clean old highlight when changing search keyword

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

Tracking Status
firefox57 --- affected

People

(Reporter: cleu, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The screenshot in attachment demonstrates this problem.


It seems to be a regression.

The left side is Firefox Beta, and the right one is nightly.

I use cmd+F to search "wiki" and "free", the left side will clean old highlights when I change my keyword while right side won't.

It is not platform-dependent, I can reproduce on Ubuntu and Windows as well.

I found it when looking into bug 1351511.
Has STR: --- → yes
OK, it's not a regression, the I accidentally enabled "highlight all" in beta so the issue will be hidden.

So the STR is:

1. Enable "findbar.modalHighlight" in about:config
2. Go to wikipedia.org
3. cmd+f/ctrl+f to invoke search bar, making sure "Hightlight all" is *not* checked
4. Search "wiki", press enter multiple times to make it hightlight several "wiki" strings
5. Search "free", press enter multiple times as well.
6. Hightlight on "wiki" does not disappear
Keywords: regression
Priority: -- → P3
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: