Closed
Bug 48006
Opened 25 years ago
Closed 24 years ago
z-index of dynamically added elements into an iframe
Categories
(Core :: DOM: CSS Object Model, defect, P3)
Core
DOM: CSS Object Model
Tracking
()
People
(Reporter: bora123, Assigned: pollmann)
Details
Dynamically appended elements into an iframe are having their z-index from the
parent document not the iframe's. The question is if I add an element into an
iframe dynamically, they should be contained in that iframe obeying its z-index.
Am I right? because my tests show that all the elements drawn into an iframe
dynamically do not obey the z-index rules of CCS. This happenes while rendering
the iframe. For example, there are two iframes, the second one is covering most
of the first iframe's content area with a higher z-index. If I draw dynamically
a table covering the entire body of the first iframe, first iframe raises
itself or sounds like it is raising itself while drawing the table. It must be
a rendering problem. DOM doesnt take z-index account while rendering the new
element into an iframe dynamically.
Severity: normal → major
OS: other → Windows 98
Hardware: Other → PC
Correction, it is not for dynamically added elements only. Below the given code
demonstrates the bug.
<html>
<body>
<iframe src="http://www.yahoo.com/" height=200 width=200
style="position:absolute;top:100;left:100;z-index:20"></iframe>
<iframe src="http://www.yahoo.com/" height=200 width=200
style="position:absolute;top:150;left:150;z-index:10"></iframe>
</body>
</html>
Updated•25 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
OS: Windows 98 → All
Hardware: PC → All
Target Milestone: --- → Future
Comment 3•25 years ago
|
||
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.
Comment 4•24 years ago
|
||
Pollmann, I'm not sure this one belongs to you but it looks like a iframe frame
(i.e. nsFrameFrame) layout problem. Could you have a look?
Assignee: jst → pollmann
Status: ASSIGNED → NEW
Target Milestone: Future → ---
Comment 5•24 years ago
|
||
Is this a duplicate of 43410?
This is severely impacting our product development (we need layered iframes that
obey z-index properties). Can someone have a look at it?
Assignee | ||
Comment 6•24 years ago
|
||
Patrick, I think you're right - that looks like a dup to me.
*** This bug has been marked as a duplicate of 43410 ***
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
Updated•24 years ago
|
Component: DOM Level 2 → DOM Style
Comment 7•24 years ago
|
||
Taking QA Contact on all open or unverified DOM Style bugs...
QA Contact: vidur → ian
You need to log in
before you can comment on or make changes to this bug.
Description
•