Closed
Bug 43638
Opened 24 years ago
Closed 23 years ago
position:absolute elements do not inherit visibility
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: mail, Assigned: pierre)
Details
Attachments
(1 file)
929 bytes,
text/html
|
Details |
Overview Description: Child Elements that are absolutely positioned do not inherit visibility changes. Steps to Reproduce: 1) Create a document with a nested absoultely positioned element 2) Change the visibility of the parent element Actual Results: The child element visibility is unchanged Expected Results: The child element visibility changes Reproducibility: Always Build Date & Platform Bug Found: Tested in 20000622 nightly build, Win NT 4 SP 6a Additional Builds and Platforms Tested On: M16 build Additional Information: Testcase to follow
Reporter | ||
Comment 1•24 years ago
|
||
Reporter | ||
Comment 2•24 years ago
|
||
Confirmed on build 20000613 in Windows 2000. Switching platform to all.
OS: Windows NT → All
Assignee | ||
Comment 3•24 years ago
|
||
The visibility is inherited. The problem is that no redraw occurs if, and only if, the child element is outside its parent's frame. If you cause a repaint or just resize the window, the display is correct.
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Assignee | ||
Comment 4•24 years ago
|
||
Absolutely positioned elements outside their parent's frame is not the norm. --- This bug has been marked "future" because the original netscape engineer working on this is over-burdened. If you feel this is an error, that you or another known resource will be working on this bug, or if it blocks your work in some way -- please attach your concern to the bug for reconsideration.
Target Milestone: --- → Future
Reporter | ||
Comment 5•24 years ago
|
||
It would seem to me that it is not outside the norm because you don't always know the size of the child elements and don't want to have to recalculate the parent frame dimensions to do this. How do you repaint using JavaScript without resizing the window. Thanks.
Assignee | ||
Comment 6•24 years ago
|
||
I marked this bug "future" because it is not usual, albeit legit - I agree, to have children outside the parent frame and show/hide everything with a single call on the parent. A workaround is to show/hide the children that are outside the parent's bounds before showing/hiding the parent.
Works for me in build 2001083106
Assignee | ||
Comment 9•23 years ago
|
||
Correct: it looks like it's been fixed a long time ago.
Status: ASSIGNED → RESOLVED
Closed: 23 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•