Closed Bug 2592 Opened 26 years ago Closed 26 years ago

inherit keyword doesn't work for auto margins

Categories

(Core :: Layout, defect, P2)

x86
Windows 95
defect

Tracking

()

VERIFIED FIXED

People

(Reporter: dbaron, Assigned: troy)

References

()

Details

The inherit keyword should inherit the computed value. This includes auto margins. It doesn't work for auto margins. See the above test page for an example and links to spec.
Assignee: peterl → troy
Component: Style System → Layout
Status: NEW → ASSIGNED
*** Bug 1141 has been marked as a duplicate of this bug. ***
Setting all current Open/Normal to M4.
per leger, assigning QA contacts to all open bugs without QA contacts according to list at http://bugzilla.mozilla.org/describecomponents.cgi?product=Browser
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
Changed HTML reflow state code (ComputeMargin() and ComputePadding() functions) to handle 'inherit' when calculating the computed margin and padding values
QA Contact: 4144 → 4110
Status: RESOLVED → VERIFIED
Using 3/29 build on Win 95, Win NT, Win 98, Mac85. and Linux, verified bug fixed. The paragraph in the DIV tag now correctly inherits the computed value.
You need to log in before you can comment on or make changes to this bug.