Closed Bug 537319 Opened 15 years ago Closed 15 years ago

Ctrl+F find does not wrap around in XML tree-view documents

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
minor

Tracking

()

RESOLVED DUPLICATE of bug 263049

People

(Reporter: rideau3, Unassigned)

Details

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.1.6) Gecko/20091215 Ubuntu/9.10 (karmic) Firefox/3.5.6

When Firefox is displaying an XML document in tree view (because there is no style information for it), the find command will not wrap around to the beginning of the document when it finds no more instances of the search phrase remaining.

Workaround: Scroll to the top of the page and select some text there/place the caret there, and resume the search.

Reproducible: Always

Steps to Reproduce:
1. Open an xml document in firefox with no style information, so that firefox displays the document tree.
2. Press Ctrl-F
3. Type in a phrase that occurs in the document in the find bar
4. Press the 'Next' button repeatedly
Actual Results:  
Once the last instance of the phrase in the document is selected, clicking 'Next' again makes it pop up with 'Phrase not found'

Expected Results:  
Firefox should go to the first instance of the phrase in the document, displaying the text "Reached end of page, continued from top"

This bug may be related to https://bugzilla.mozilla.org/show_bug.cgi?id=263049
bug 263049 comment 8 mentions wrap, so duping
Status: UNCONFIRMED → RESOLVED
Closed: 15 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.