Closed Bug 56725 Opened 24 years ago Closed 24 years ago

nested tables lose padding when visibility toggled

Categories

(Core :: Layout: Tables, defect, P3)

x86
Windows 2000
defect

Tracking

()

VERIFIED DUPLICATE of bug 40828

People

(Reporter: rcherny, Assigned: karnaze)

References

()

Details

From Bugzilla Helper: User-Agent: Mozilla/4.7 [en] (WinNT; I) BuildID: when you nest a series of tables, then toggle the visibility settings of those nested tables, mozilla loses the padding settings. check out the URL provided. Reproducible: Always Steps to Reproduce: 1.create a series of nested tables. set the padding to any value. 2.make sure the default is 'visible'. 3.hide, then show the tables. 4.observe .... Actual Results: the padding is lost on the tables. this happens whether borders are set on or off. the URL above has borders set to 1 for demonstration purposes. Expected Results: all padding settings would be retained. this sucks. any designer or development shop that wants to hide/show things is frequently going to be using nested tables. can't find a work around right now. anyone?
Component: Browser-General → DOM Level 1
This belongs to html-table reassigning the bug.
Assignee: asa → karnaze
Component: DOM Level 1 → HTMLTables
QA Contact: doronr → chrisd
This is even worse than i thought. so far, every positioned table with any kind of padding that has it's visibility toggled loses it's padding. this is serious. think about any development being done and blocks of content that developers are going to want to toggle on/off ... the formatting is all out of whack when this happens and it just looks bad. Just like bug 55954, if you toggle the display the table formatting is restored. however, i have another script which floats a positioned element down the page (ala the annoying geocities watermark, only smoother) and any time it scrolls off the page, whether the padding was there when the menu item was on screen or not, the minute it floats back into view the padding is destroyed again. please see the pop up screen in the URL - http://www.cherny.com/home/. toggle the menu with the tab on the side, the menu will go back and the display is being toggled as well to work around this problem. however, scroll rapidly down the page and when the menu floats back into view (if you have the menu showing) then the padding has been destroyed again.
This could be a dup of bug 40828 (which has a patch, but did not get PDT approval for RTM), but I don't have time to verify.
having read the description of bug 40828 and looking over the test cases, yeah, it very much looks like a dup. but why not RTM? this strikes me as a real serious layout problem. pages *will* break **** this. ah, well, i guess you gotta pick your battles...
resolving as dupe of bug 40828 *** This bug has been marked as a duplicate of 40828 ***
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → DUPLICATE
vrfy dup
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.