Closed Bug 264786 Opened 21 years ago Closed 21 years ago

Un-highlight doesn't work on sites with iframes

Categories

(Toolkit :: Find Toolbar, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

VERIFIED FIXED

People

(Reporter: g_ponline, Assigned: bryner)

References

()

Details

(Keywords: fixed-aviary1.0, regression, testcase)

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041017 Firefox/1.0 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20041017 Firefox/1.0 If I try to highlight a word on gathering.tweakers.net and try to un-highlight it the text stays highlighted. Reproducible: Always Steps to Reproduce: 1. Go to http://gathering.tweakers.net/ 2. Open the Find toolbar, e.g. with Ctrl + F 3. Search for Software or another word what can be found on that page 4. Click the highlight button 5. Click the highlight button again Actual Results: The found text stays highlighted Expected Results: The found text should be un-highlighted and return to its normal state
What I forgot to mention is that it worked until the 15-October build. The recent changes in the Find Toolbar must have broken this. Another exampele of a site where the highlight function doesn't work anymore is http://forum.tweakzone.nl/
Keywords: regression
DUPEME I'm sure there was a bug about <span>'s in a page causing this
Confirmed. A testcase might be useful.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: testcase
Summary: Un-highlight doesn't work anymore on some sites → Un-highlight doesn't work on sites with iframes
Attached file testcase
Steps to reproduce with testcase: 1. Load testcase. 2. Ctrl+F, foo, Ctrl+Enter 3. Ctrl+Enter After step 3, the highlights don't disappear. Btw, I think this is also a problem on sites with traditional HTML framesets.
Flags: blocking-aviary1.0?
Flags: blocking-aviary1.0? → blocking-aviary1.0-
Attached patch fixSplinter Review
The global was getting cleared out too early when we had to recurse into frames.
Assignee: firefox → bryner
Status: NEW → ASSIGNED
Attachment #162645 - Flags: review?(firefox)
Attachment #162645 - Flags: review?(firefox) → review+
Comment on attachment 162645 [details] [diff] [review] fix a=asa for aviary checkin.
Attachment #162645 - Flags: approval-aviary+
checked in.
Status: ASSIGNED → RESOLVED
Closed: 21 years ago
Keywords: fixed-aviary1.0
Resolution: --- → FIXED
Verified fixed using Win FF 1.5.
Status: RESOLVED → VERIFIED
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: