error in css1 implementation: padding

VERIFIED INVALID

Status

()

Core
CSS Parsing and Computation
P3
normal
VERIFIED INVALID
17 years ago
17 years ago

People

(Reporter: Karawynn Long, Assigned: Pierre Saslawsky)

Tracking

Trunk
x86
Windows 2000
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

17 years ago
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

17 years ago
Status: UNCONFIRMED → RESOLVED
Last Resolved: 17 years ago
Resolution: --- → INVALID
(Assignee)

Comment 1

17 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.

Comment 2

17 years ago
Verifying bug invalid.
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.