Closed Bug 1042 Opened 26 years ago Closed 26 years ago

CSS auto margins don't justify blocks

Categories

(Core :: Layout, enhancement, P2)

x86
Other
enhancement

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: buster)

References

()

Details

The setting of left, right, or both margins to auto should (respectively) right- justify, left-justify, or center a block whose width is less than 100%.‰
Assignee: peterl → kipp
Component: Style System → Layout
Status: NEW → ASSIGNED
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Status: RESOLVED → REOPENED
Centering works, but right-justification using a margin-left:auto; margin- right: 0 (or any fixed value) doesn't work.
Status: REOPENED → RESOLVED
Closed: 26 years ago26 years ago
The test page works as properly for centering because of a previous checkin; however I've just checked in a fix that fixes the "width: 100%" test cases.
QA Contact: 3847
assigning qa_contact field.
Correcting URL for revised test suite and verifying as fixed.
You need to log in before you can comment on or make changes to this bug.