Closed Bug 305674 Opened 19 years ago Closed 19 years ago

Problems redrawing bottom margin

Categories

(Firefox :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 305673

People

(Reporter: infinity0x, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-GB; rv:1.7.10) Gecko/20050717 Firefox/1.0.6

When a margin is set dynamically (using JS), the bottom margin is not redrawn.

More specifically: when a (?CSS class)? is added to a (?block-level) element

I havent tested setting the margin directly yet, nor testing it on inline elements

Reproducible: Always

Steps to Reproduce:
1.Go to http://webxl.5gigs.com/scratch/bugtest.html
2.Type "t6" into the top text-box and click "addClass"

Actual Results:  
3.Notice the lack of a bottom margin on the test <div>
4.Click the left link.
5.Then, click the right link.

Notice that the left link is static, and does not fix the re-draw. However the
right link is repositioned on :active and this also re-draws the bottom margin.


Expected Results:  
After 2), the bottom margin should have been redrawn and a 20px gap appear
between the bottom white border and the links.

*** This bug has been marked as a duplicate of 305673 ***
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.