During moving div with "overflow: hidden" style set and hidden content strange things happen




12 years ago
2 months ago


(Reporter: pistolinio, Assigned: roc)



Firefox Tracking Flags

(Not tracked)





12 years ago
User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.0; pl; rv: Gecko/20060909 Firefox/
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; pl; rv: Gecko/20060909 Firefox/

There is one div which you can move with a wz_dragdrop library.
Div has an inner div which is bigger than the visible one.
The visible one has a overflow: hidden style set which makes the scrollbars invisible.
I made a pseudoscrolling which moves the div inside by modifying 'top' style.
You can test it by pressing 'Move up' and 'Move down' buttons placed above.
Bigger div has some text in its content and some divs and spans below text.
1. Try to move the window fast around the page, you can see that this little divs and spans
placed inside are not sticky, they moves before the window does.
2. Place the window somewhere on the page and pres and hold 'move down button'. When
the content with divs and spans goes outside the window, it is invisible because we
used overflow: hidden style. But look what happens when this invisible part is near
the red div. Some strange thing happens and the spans and divs from window blinks over
the red div. The same thing happens when you make the divs-and-spans content visible
and move the window below the red div.

Screenshots with this problems are placed below
that problems doesnt exists on opera or ie, so i think this bug should be fixed

Reproducible: Always

Steps to Reproduce:
1. Visit the url which demonstrates the problem and do what is written there.
Actual Results:  
Divs placed on moved div are not sticky and the hidden ones makes strange thinks with the rest of page.

Expected Results:  
It should works like in Opera for example. Divs are sticky and hidden divs doesnt do these things.


12 years ago
Assignee: nobody → roc
Component: General → Layout: View Rendering
OS: Windows 2000 → All
Product: Firefox → Core
QA Contact: general → ian
Whiteboard: DUPEME
Version: unspecified → Trunk
Arthur, can you attach the testcase ?
It's not available from http://arturwasilewski.com/ffbug/ anymore

Comment 2

12 years ago
(In reply to comment #1)

I put it back with the same address.

Comment 3

11 years ago
=> incomplete - server not found. no testcase.

please reopen if you are able to attach testcase to bug.
Last Resolved: 11 years ago
Resolution: --- → INCOMPLETE


5 years ago
Whiteboard: DUPEME
Component: Layout: View Rendering → Layout: Web Painting
Product: Core → Core
You need to log in before you can comment on or make changes to this bug.