Open Bug 622801 Opened 10 years ago Updated 4 years ago
Find / Find as you type - finds the string, but the found string is not visible (covered by the "position:fixed" DIV)
User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:18.104.22.168) Gecko/20101206 Ubuntu/10.04 (lucid) Firefox/3.6.13 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:22.214.171.124) 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
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
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.
I confirm. Although totally minor inconvenience, it should be fixed ASAP as it must be really easy to do so.
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
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
Related bugs: bug 305381, bug 407817; bug 592336, bug 647708, bug 809881.
Component: General → Find Toolbar
Product: Firefox → Toolkit
You need to log in before you can comment on or make changes to this bug.