Closed
Bug 320116
Opened 19 years ago
Closed 13 years ago
extra space added when doing position:absolute and position:relative afterwards
Categories
(Core :: Layout: Tables, defect)
Tracking
()
RESOLVED
FIXED
mozilla1.9.1
People
(Reporter: revx, Assigned: bzbarsky)
References
Details
(Keywords: testcase)
Attachments
(1 file)
1.70 KB,
text/html
|
Details |
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 I have a table with some additional content below. When hiding/removing the table via JS (position:absolute, visibility:hidden) and making it visible again (position:relative, visibility:visible) the content below the table has moved down a bit (see attached sample). Reproducible: Always Steps to Reproduce: 1. In the attached demo/sample, click Info/Edit several times and watch the "TEST 1 2 3" line go down 2. 3. Actual Results: Nasty layout bug. It not only shifts down the content below the table, it also messes up the table if there are many TRs!!! Expected Results: Layout should be exactly the same before and after clicking Info/Edit.
Comment 2•19 years ago
|
||
Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.8) Gecko/20051111 Firefox/1.5 ID:2005111116 I see this too.
Keywords: testcase
Updated•19 years ago
|
Status: UNCONFIRMED → NEW
Component: General → Layout: R & A Pos
Ever confirmed: true
Product: Firefox → Core
QA Contact: general → layout.r-and-a-pos
Version: unspecified → 1.8 Branch
Comment 3•19 years ago
|
||
FWIW it's something in the table, not below the table. Take a look with dom inspector. It's in the tbody.
Comment 4•17 years ago
|
||
I think this is a frame constructor bug that just happens to triggered by absolute positioning (for another fun test, instead of changing position from relative to absolute, change display from table-row to table.)
Component: Layout: R & A Pos → Layout: Tables
QA Contact: layout.r-and-a-pos → layout.tables
Version: 1.8 Branch → Trunk
Assignee | ||
Comment 5•13 years ago
|
||
This was fixed by the patches for bug 162063.
Assignee: nobody → bzbarsky
Status: NEW → RESOLVED
Closed: 13 years ago
Depends on: 162063
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9.1
You need to log in
before you can comment on or make changes to this bug.
Description
•