Closed Bug 266992 Opened 21 years ago Closed 21 years ago

layout not updated when you change dynamically margin-bottom

Categories

(SeaMonkey :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 257612

People

(Reporter: e98cuenc, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1 When you change (with javascript) the marginBottom style of a div followed by another div, the layout of the page remains the same. The layout will only update when you change the marginBottom of the next div. Reproducible: Always Steps to Reproduce: 1. Open the attached html test case 2. click on "Change A margin" 3. click on "Change B margin" Actual Results: The change on margin-bottom on div a is only visible after step 3, instead of after step 2. The change on margin-bottom on div b is not visible. Expected Results: Change the space between div a and div b after step 2, change the space between div b and div c after step 3.
WFM 20041027 trunk PC/WinXP
I think this was fixed by the fix for bug 257612.
I think that you're right. I can reproduce my bug in the test case attached to bug 257612. Is there any firefox nightly build / release with the patch proposed on 257612 that I can try to see if this fixes this bug? (or should I mark it as a dup without testing it?) Cheers,
Yes there is, for Windows see ftp://ftp.mozilla.org/pub/mozilla.org/firefox/ tinderbox-builds/beast-trunk/
Ok, I've tested it, and it works now. Thank you, *** This bug has been marked as a duplicate of 257612 ***
Status: UNCONFIRMED → RESOLVED
Closed: 21 years ago
Resolution: --- → DUPLICATE
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: