Closed
Bug 64823
Opened 25 years ago
Closed 25 years ago
The padding widens an element, even though it's width is explicitely set
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
VERIFIED
INVALID
People
(Reporter: Erich.Iseli, Assigned: pierre)
References
Details
Attachments
(1 file)
|
627 bytes,
text/html
|
Details |
Going to attach a testcase in which you can see that the element with no padding
is smaller than the one with the padding. But both have the same value set with
width. Seen with build 2001010904 on Win 98.
| Reporter | ||
Comment 1•25 years ago
|
||
Comment 2•25 years ago
|
||
ricky, my apologies. I misinformed you in #mozillazine.
I just looked over the CSS2 spec and
http://www.w3.org/TR/REC-CSS2/visudet.html#the-width-property says that it sets
the width of the content of a box.
The actual width of a box is content + padding + border + margin.
So padding is not included in the width property. Marking this bug invalid.
Again, my apologies for not remembering this correctly.
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → INVALID
Comment 3•25 years ago
|
||
Netscape's standard compliance QA team reorganised itself once again, so taking
remaining non-tables style bugs. Sorry about the spam. I tried to get this done
directly at the database level, but apparently that is "not easy because of the
shadow db", "plus it screws up the audit trail", so no can do...
QA Contact: chrisd → ian
Updated•25 years ago
|
Status: RESOLVED → VERIFIED
Comment 4•25 years ago
|
||
o...k...
Comment 5•23 years ago
|
||
*** Bug 101823 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•