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)

x86
Windows 98
defect
Not set
normal

Tracking

()

VERIFIED INVALID

People

(Reporter: Erich.Iseli, Assigned: pierre)

References

Details

Attachments

(1 file)

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.
Attached file Simplified testcase
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
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
Status: RESOLVED → VERIFIED
o...k...
*** 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.

Attachment

General

Created:
Updated:
Size: