Closed Bug 93853 Opened 24 years ago Closed 21 years ago

height/width computed value not inherited when max/min applied

Categories

(Core :: CSS Parsing and Computation, defect, P3)

defect

Tracking

()

RESOLVED INVALID
Future

People

(Reporter: fantasai.bugs, Assigned: dbaron)

Details

(Keywords: css2, testcase, Whiteboard: [Hixie-P3])

Attachments

(1 file)

Overview: According to CSS2, the max-width and min-width properties influence the computed width of an element's box. Likewise for max-height and min-height. Mozilla just inherits the value of width/height. http://www.w3.org/TR/REC-CSS2/visudet.html#min-max-widths http://www.w3.org/TR/REC-CSS2/visudet.html#min-max-widths Steps to Reproduce: Open up testcase in Mozilla Actual Results: Except for the the test with auto width + max-width, the inherited values of width and height are the specified values, not computed values. Expected Results: Each inner <div> should have the same width/height as its parent. Tested on Mozilla nightly build (id: 2001080203) on Windows 2000 Additional Comments: I thought perhaps Mozilla inherited the parent <div>s width before applying max-width/min-width, but if this were the case, the auto width test's inner <div> would fill the width of the body.
Attached file testcase
Keywords: css2, testcase
Whiteboard: [Hixie-P3]
Status: NEW → ASSIGNED
Priority: -- → P3
Target Milestone: --- → mozilla1.0
Target Milestone: mozilla1.0 → mozilla1.1
Bulk moving from Moz1.1 to future-P1. I will pull from this list when scheduling work post Mozilla1.0.
Priority: P3 → P1
Target Milestone: mozilla1.1 → Future
cc'ing myself
Assigning pierre's remaining Style System-related bugs to myself.
Assignee: pierre → dbaron
Status: ASSIGNED → NEW
Priority: P1 → P3
The definition of computed value has been changed in CSS 2.1, so this is now invalid.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: