Closed Bug 691323 Opened 13 years ago Closed 13 years ago

Searching for text in overflow:hidden should scroll to show the match

Categories

(Toolkit :: Find Toolbar, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 407817

People

(Reporter: pkoppstein, Unassigned)

Details

(Whiteboard: [parity-webkit][parity-opera][parity-ie])

User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:7.0.1) Gecko/20100101 Firefox/7.0.1
Build ID: 20110928134238

Steps to reproduce:

<div style="height:1em; width:10em; overflow:hidden;">
       In Safari and Chrome, this text is searchable (even the hidden part, e.g. search for the last word in this div), and the browser makes it clear where the searched-for text is located.  When searching on Firefox 7 for Mac OSX, the location of the text is unclear even when it is found.  Safari and Chrome both "scroll" the text is the div, which is almost magical.
</div>


Actual results:

Firefox does not reveal the location of the text it has found.


Expected results:

Some kind of indication of the location of the found text should be given.  The approach taken by Safari and Chrome is fine.
Opera 11.50 and IE 10 (beta) scrolls too.  Seems reasonable to me.
(there's some history in bug 407817 and bug 259615)
Status: UNCONFIRMED → NEW
Component: General → Find Toolbar
Ever confirmed: true
OS: Mac OS X → All
Product: Firefox → Toolkit
QA Contact: general → fast.find
Hardware: x86 → All
Summary: Searching for text subject to CSS: overflow:hidden → Searching for text in overflow:hidden should scroll to show the match
Whiteboard: [parity-webkit][parity-opera][parity-ie]
Version: 7 Branch → unspecified
This looks like a duplicate of bug 407817.  I've attached a patch there.
Yes, it looks like that bug will solve this.
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.