Closed
Bug 1635441
Opened 6 years ago
Closed 6 years ago
Searching a page (CTRL-F) finds and highlights all occurrences, but doesn't move to next occurrence that is not on screen and is in DIV with overflow hidden,scroll or auto
Categories
(Firefox :: Untriaged, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 1482147
People
(Reporter: erik, Unassigned)
Details
Attachments
(1 file)
|
13.74 KB,
text/html
|
Details |
User Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:76.0) Gecko/20100101 Firefox/76.0
Steps to reproduce:
- Open the attached HTML file in Firefox.
- Press "CTRL-F" to start searching the page.
- Type "Firefox" in search field. It is reported that 24 occurrences where found. If you scroll a div you will see that everything is highlighted correctly.
- Press "Enter" key or down arrow button to move to the 2nd occurrence. Press more times. It will move to 3rd match and then to 24th, 1st, 2nd, 3rd, 24th. It will not move to other occurrences if you will not scroll the DIV.
Actual results:
- Searching finds and highlights 24 matches but moves only between 4 of them.
- All inner divs are with "overflow:hidden", "overflow:auto" or "overflow:scroll". The 24th is with "overflow:unset" - that's a reason why it's in a play.
- So if div is one of "overflow:hidden", "overflow:auto" or "overflow:scroll" and not visible at current moment you will fail to move to the occurrence.
- Everything works fine in Google Chrome.
Expected results:
A sequential transition from the first to 24th occurrence was expected when pressing "Enter" with synchronous scrolling the div to make next match visible.
Comment 1•6 years ago
|
||
Mozregression with find fix:
2020-05-11T16:23:09.930000: DEBUG : Found commit message:
Bug 1482147 - Fix the expectation of a GeckoView test which was relying on this bug. r=agi
Thanks for the report. This issue will be fixed starting with Firefox 77.
Status: UNCONFIRMED → RESOLVED
Closed: 6 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•