The default bug view has changed. See this FAQ.

Find / Find as you type - finds the string, but the found string is not visible (covered by the "position:fixed" DIV)

NEW
Unassigned

Status

()

Toolkit
Find Toolbar
P5
minor
6 years ago
a year ago

People

(Reporter: Daniel, Unassigned)

Tracking

Trunk
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

6 years ago
User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.13) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13

if there is a position:fixed DIV on the top, find (or find as you type) will highlight the found string (also on the top but hidden under the position:fixed DIV), but it will be obscured by the position:fixed DIV.

it seems to the user as there is no such a string, as there is no highlighting visible

Reproducible: Always

Steps to Reproduce:
1. start typing (find as you type is enabled) to enter the string that is in the contetn of the displayed webpage
2. string will be found/highlighted but obscured by the fixed DIV, so basically not visible to the user
Actual Results:  
string not found (hidden under position:fixed DIV)

Expected Results:  
string found and displayed, not obscured/hidden by the position:fixed DIV

firefox should scroll page by one line below the fixed DIV to display the string hidden by the DIV
(Reporter)

Updated

6 years ago
Version: unspecified → 3.6 Branch

Comment 1

6 years ago
I agree, Firefox should scroll down while the results are hidden by an element in position fixed.

Is it possible to fix it ?

Another way to reproduce it : 
1. Go to this page : http://twitter.com/#!/firefox
2. do CTRL-F
3. type "Firefox" in the find bar
4. click on previous several time, until the results are hidden by the top-bar

Thanks

Comment 2

6 years ago
This problem is still present in Firefox 5. It can be reproduced on http://www.allocine.fr/ e.g. by searching for "les meilleurs" and doing Ctrl-G to find the next match several times until reaching the first match again.
(Reporter)

Comment 3

6 years ago
I confirm. Although totally minor inconvenience, it should be fixed ASAP as it must be really easy to do so.
(Reporter)

Updated

6 years ago
Version: 3.6 Branch → 5 Branch
Status: UNCONFIRMED → NEW
Ever confirmed: true

Updated

6 years ago
Duplicate of this bug: 693222

Comment 5

6 years ago
It seems that Facebook, Google+, Twitter, CNET.com have all (recently?) moved to a design featuring fixed-position headers or footers.

For comparison/implementation, Google Chrome's Find in page seems to scroll such that the highlighted result is in the center of the window, which practically avoids this issue almost everywhere.  This would probably be the simpler way to implement as it is agnostic of the page contents.  IE8 seems to scroll to allow just enough room above/below the highlighted result to stand clear of any fixed-position element.
OS: Linux → All
Hardware: x86 → All
Version: 5 Branch → Trunk

Comment 6

5 years ago
Same problem with http://thesaurus.com/: the search bar at the bottom of the page, which is displayed after the first search hides results regarding text under that bar. 

Aurora 11.0a2 (2011-12-31) on Windows Vista

Comment 7

4 years ago
Related bugs:
bug 305381, bug 407817; bug 592336, bug 647708, bug 809881.
Component: General → Find Toolbar
Product: Firefox → Toolkit
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.