Closed
Bug 118940
Opened 23 years ago
Closed 22 years ago
Absolutely positioned DIV elements inside relatively positioned DIV element generate spurious layout
Categories
(Core :: Layout: Tables, defect, P3)
Tracking
()
mozilla1.2alpha
People
(Reporter: vigna, Assigned: karnaze)
References
Details
Attachments
(1 file, 1 obsolete file)
452 bytes,
text/html
|
Details |
In the included test case (next comment), some DIV elements generated by JS code have absolute position. However, they are not taken out of the flow. If you eliminate the relative positioning for the DIV element with ID=rightlinks, they are again taken out of the flow. Discussing bug #117501 it turned out that the relative positioning of that DIV element is necessary to set it as the containing element (for it is the first ancestor with non-static positioning). Since offset* properties are relative to the first containing element, this is necessary if one wants to use offset* information to do absolute positioning.
Reporter | ||
Comment 1•23 years ago
|
||
Updated•23 years ago
|
Attachment #64120 -
Attachment mime type: application/octet-stream → application/x-gzip
Comment 2•23 years ago
|
||
Attachment #64120 -
Attachment is obsolete: true
Comment 3•23 years ago
|
||
Looks like the table cell is mis-sizing itself... over to HTML tables. Oh, and same thing happens in strict mode, by the way.
Assignee: attinasi → karnaze
Status: UNCONFIRMED → NEW
Component: Layout → HTMLTables
Ever confirmed: true
QA Contact: petersen → amar
Updated•23 years ago
|
Target Milestone: --- → mozilla1.2
Updated•22 years ago
|
Priority: -- → P3
Comment 4•22 years ago
|
||
*** Bug 163495 has been marked as a duplicate of this bug. ***
Fixed by checkin of bug 172896. *** This bug has been marked as a duplicate of 74094 ***
Status: NEW → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•