Open Bug 311041 Opened 20 years ago Updated 3 years ago

search/find ignores <br>

Categories

(Toolkit :: Find Toolbar, defect, P5)

defect

Tracking

()

People

(Reporter: wolfiR, Unassigned)

References

Details

(Keywords: testcase)

Attachments

(3 files)

I will attach a very small testcase which shows that a search in the web-page (in that case with search word 'afasel' will show a wrong result.
Attached file small testcase
Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9a1) Gecko/20051004 Firefox/1.6a1 ID:2005100411 Could you please provide a bit more details? Expected results, actual results and whatnot? I'm really not sure what you expect to happen here. For me, searching for "afasel" highlights the word across the line break and /does/ find the word.
sorry. Yes, the word "afasel" is found. But I don't expect that because afasel is no word in this document. There are two words "bla" and "fasel" so "afasel" doesn't exist. It shouldn't find anything.
IMHO, this is an invalid/wontfix request. At least it's not a "Search" bug. -> Find Toolbar or Find Fast?
Well, we do not do the same thing for new lines, and since a <br> is technically a new line...
Product: Core → Firefox
Component: Search → Find Toolbar / FastFind
Assignee: search → nobody
QA Contact: fast.find
*** Bug 329221 has been marked as a duplicate of this bug. ***
Keywords: testcase
OS: Linux → All
Hardware: PC → All
Did anyone notice that if you write "fasel" in the search and go to the start of the input and write "bl", nothing is found. so far, so good. when you complete the word with an "a" to "blafasel", the word is found and marked, but the search box stays red, claiming that it started on top. Bug or feature? Anyhow, not that important.
Attached patch patchSplinter Review
This fixes it, but I haven't really tested it much.
Attached file small testcase2
There are also search issues with <button> and I suspect there are more elements where you wouldn't want to search in.
(In reply to comment #10) > There are also search issues with <button> and I suspect there are more > elements where you wouldn't want to search in. Not issues that the patch is introducing.
Assignee: nobody → martijn.martijn
Summary: search ignores <br> → search/find ignores <br>
Product: Firefox → Toolkit
Priority: -- → P5

The bug assignee is inactive on Bugzilla, so the assignee is being reset.

Assignee: martijn.martijn → nobody
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: