[Webkit-unassigned] [Bug 7395] New: Table not properly re-flowed when floated div removed from layout

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Mon Feb 20 12:54:16 PST 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=7395

           Summary: Table not properly re-flowed when floated div removed
                    from layout
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at opendarwin.org
        ReportedBy: devin.chalmers at gmail.com


When a floated div's style is set to "display:none", the width of tables it was
floated next to does not get properly reset, and the table does not flow
properly with the rest of the page
Possibly similar to Bug 3399
(http://bugzilla.opendarwin.org/show_bug.cgi?id=3399).

Steps to reproduce:
1. Float a div next to a table, with the div's style set to "display:none".
2. Using Javascript, set the div's style.display to "block". The table's width
is adjusted to account for the width of the div.
3. Using Javascript, set the div's style.display to "none" again.

Expected Result:
The table's width and page layout return to the div-less layout of step 1 (this
is the behavior in Firefox and IE6).

Actual Result:
The table's width remains at the smaller width as set after in step 2, not
matching the original div-less layout.

I have created a minimal testcase, will attach after bug is added.


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list