Closed Bug 364182 Opened 18 years ago Closed 18 years ago

[FIX]CalculateBlockSideMargins computes wrong margin in overconstrained case

Categories

(Core :: Layout: Block and Inline, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 364079
mozilla1.9alpha1

People

(Reporter: bzbarsky, Assigned: bzbarsky)

References

()

Details

The problem is that we set the right or left margin to auto, but don't adjust the availMarginSpace to include the margin we just forgot. For LTR stuff this doesn't matter much (we just get an incorrect right margin), but for RTL we get an incorrect left margin and hence position the block in the wrong place; the testcase shows this.
I thought Uri fixed this today.
Ah, crap. I had this all typed up before he filed, but didn't manage to commit the form then. *** This bug has been marked as a duplicate of 364079 ***
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.