Closed Bug 419060 Opened 15 years ago Closed 15 years ago
position:absolute and margin-left:auto doubles right margin
This is a regression from bug 300030 that I found while writing a testcase for bug 403328. I changed availMarginSpace so it already has the margins subtracted (which helped make the overconstrained case easier to fix). However, I forgot to not subtract it again. Steps to reproduce: load testcase Expected results: blue box centered within border (as it is in Firefox 2, Opera, Safari) Actual results: blue box left-aligned (we're doubling the right margin)
Assignee: nobody → dbaron
Status: NEW → ASSIGNED
(I landed the reftests in question as layout/reftests/box-properties/abspos-* .)
Fix checked in to trunk.
Status: ASSIGNED → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla1.9beta4
You need to log in before you can comment on or make changes to this bug.