Closed
Bug 51298
Opened 24 years ago
Closed 24 years ago
error in css1 implementation: padding
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
VERIFIED
INVALID
People
(Reporter: eponymous, Assigned: pierre)
Details
apologies in advance for any procedures i've not followed correctly; i've done my best but this is the first time i've tried to report a mozilla bug. when setting the 'padding' attribute in a style sheet, mozilla does render the padding correctly but also adds that same number of pixels to the total width of the layer. for example, setting a width of 150px and a padding-left of 10px results in a total width of 160px, not 150px as it should be. i discovered this on a page that i'm writing locally, and testing on ie5 and nn6. it is very simple to reproduce. i am running pr2. (2000080712)
Assignee | ||
Updated•24 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 24 years ago
Resolution: --- → INVALID
Assignee | ||
Comment 1•24 years ago
|
||
Closed as Invalid: 'width' specifies the content width, not the containing block width. See http://www.w3.org/TR/REC-CSS2/box.html#box-dimensions and http://www.w3.org/TR/REC-CSS2/visudet.html#q6 for more details. Mozilla and MacIE5 get it right.
You need to log in
before you can comment on or make changes to this bug.
Description
•