Join the AMA (Ask Me Anything) with the Firefox leadership team to celebrate Firefox 20th anniversary and discuss Firefox’s future on Mozilla Connect. Mark your calendar on Thursday, November 14, 18:00 - 20:00 UTC!

본 사이트는 여러분의 사용자 경험을 개선하기 위해 유지 보수를 진행하는 동안 기능이 제한됩니다. 도움말로 문제가 해결되지 않고 질문을 하고 싶다면 Twitter의 @FirefoxSupport 및 Reddit의 /r/firefox 채널을 활용하세요.

Mozilla 도움말 검색

고객 지원 사기를 피하세요. 저희는 여러분께 절대로 전화를 걸거나 문자를 보내거나 개인 정보를 공유하도록 요청하지 않습니다. "악용 사례 신고"옵션을 사용하여 의심스러운 활동을 신고해 주세요.

자세히 살펴보기

'Find the previous ocurrence of the phrase' does not work

  • 9 답장
  • 1 이 문제를 만남
  • 1 보기
  • 최종 답변자: cor-el

more options

Open Find dialog (Ctrl+F). Try to use the up arrow ('Find the previous occurrence of the phrase'). The dialog gets red even if the word exists in the page. This button does not work..

Open Find dialog (Ctrl+F). Try to use the up arrow ('Find the previous occurrence of the phrase'). The dialog gets red even if the word exists in the page. This button does not work..

모든 댓글 (9)

more options

Does this occur with a "fresh" search, or is there a previously searched term already in the bar when you're opening it?

The "fresh" search scenario would have a middle step:

  • Ctrl+f
  • Type find => normally highlights the first match as you type
  • Click ^ button => normally cycles to the last match in the page

In case it's relevant, could you also double-check that the "Match Case" option on the right end of the bar is not selected?

more options

Sorry, I forgot to say that I can replicate it when opening an XML file in a tab.

When you download an XML file, it is opened in a new tab. It is not possible to use the up ^ button there to find a word.

more options

Do you have a link to an XML file for quick reference and testing?

more options

I don't have, but it is easy to replicate.

1. Open the notepad and paste the following:

<?xml version="1.0" encoding="UTF-8"?>
<presentation>
</presentation>

2. Save the file as .xml 3. Send this file to your gmail (for example) 4. Download and click Open 5. Choose to open in the browser (Firefox) 6. Open the FInd dialog and now type 'pre' to find the 'presentation' word 7. Click the up ^ button.

글쓴이 cor-el 수정일시

more options

Here's a boring example that confirms what you are experiencing:

http://jeffersonscher.com/jeffersonscher_com_sitemap.xml

Since forward searching works, the lack of backwards searching seems like a bug.

more options

Yeap, it seems to be a bug. And this is the only channel that I found to report this issue.

Not sure if this is going to be fixed.

more options

It works fine on IE and Chrome.

more options

Next step is to find an existing bug or submit a new one on https://bugzilla.mozilla.org/.

(Sorry I don't have time today.)

more options

The DOM Inspector shows that there are actually two containers on the page: an html:div and an html:span The latter is hidden if there isn't a pref layout.xml.prettyprint set to false (this pref isn't there by default and needs to be created to test this).

The normal pretty print page has expand/collapse buttons and on that page searching back isn't working. With pretty print disabled or when viewing the page source you can search back and forward. I think that this is the same behavior as in other cases where the page is modified by JavaScript code on XUL code is being used and you can't easily go back in the DOM tree.