Open Bug 667209 Opened 15 years ago Updated 3 years ago

Search/find text does not work correctly for some URLS like CNET news

Categories

(Toolkit :: Find Toolbar, defect, P5)

5 Branch
x86
Windows XP
defect

Tracking

()

People

(Reporter: porusdaramehta, Unassigned)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0 Build Identifier: Mozilla/5.0 (Windows NT 5.1; rv:5.0) Gecko/20100101 Firefox/5.0 Hi, In some pages like the URL I provided above, the find/search text does not work as expected. Here is what is wrong: 1. If you search for a string that does not exist on the page, say 'Porus', then the search string text box does not turn red. 2. If you search for string on the page that does exist like say 'Apple', the first instance of that string is not highlighted in green and brought in to focus. Reproducible: Always Steps to Reproduce: 1. Go to the URL mentioned. 2. Search for a string that does not exist, say 'Porus'. The text box will not turn red. 3. Scroll down a bit and search for a string, say 'Google' that does exist but is out of view. The first/nearest instance is not highlighted and brought in to focus automatically. Actual Results: Same as details above. Expected Results: Same as details above. None.
Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic+Troubleshooting#Make_a_new_profile WFM - Mozilla/5.0 (Windows NT 5.1; rv:7.0a1) Gecko/20110625 Firefox/7.0a1 ID:20110625030743
Component: Search → General
QA Contact: search → general
Version: unspecified → 5 Branch
Hi, I the test in Safe Mode. Now if I search for text that does not exist, the text box does turn red. So item 2 above is resolved. However if I search for a string that does exist like say Apple or Google the first/nearest instance is not always highlighted and brought in to focus. I have mostly standard plug-ins like Adobe, VLC, Foxit etc. I have the following add-ons: 1. Ad Block Plus v1.3.8, 2. Firefox Sync which is always disabled, 3. Java console 6.0.1 which too is always disabled, 4. Java Console 6.0.2 which too is always disabled, 5. WML Browser v0.7.26 However, most of these don't really have any effect on this site, in fact CNET ads are shown just fine.
So, even in Safe Mode, when you search for Apple or Google the first instance isn't highlighted?
Yes, it isn't highlighted.
Can you attach a screenshot, or better yet record a screencast showing the issue? I have been unable to reproduce
I can confirm this (not highlighting Google) with FF5 on Win XP. But I suspect the search does match something, which is not visible. You can test this by poping up the full search bar (Ctrl-F) and pressing Next repeatedly. Sometimes FF highlights the word Google, sometimes it is nowhere to be seen. May it happen it matches the word also in links and element titles? The word 'google' is present in such objects.
Status: UNCONFIRMED → NEW
Component: General → Find Toolbar
Ever confirmed: true
Product: Firefox → Toolkit
QA Contact: general → fast.find
If someone can come up with a test document that exhibits the issue we might be better off....since cNet content is always changing.
Steps to reproduce on the attached file: 1. Type 'Google' 2. No text on the page is highlighted, however there is a focus rectangle around some element, also containing the "Add to Google" icon. Notice there is a straight "Google" word in the page source as the content of the <a> element, but it is not rendered. 3. Press F3 for next occurence 4. "Google" in "Google Android" on the bottom of the page is highlighted. When using the Ctrl-F search bar everything is the same just in step 2. there is no focus rectangle.
Priority: -- → P5
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: