Closed Bug 268413 Opened 20 years ago Closed 20 years ago

Wrong (double) padding is rendered, CSS Bug

Categories

(SeaMonkey :: General, defect)

1.0 Branch
x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

People

(Reporter: tinoruntzler, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; rv:1.7.3) Gecko/20041001 Firefox/0.10.1

This code displays two div. A yellow (50px) and a green (40px) one. The yellow
one got a padding of 5 px, left an right, the yellow one is nested inside.

<div style="width:50px">
	<div style="padding-left: 5px; padding-right:5px;background:green">
		<div style="background:yellow;height:40px;"></div>				</div>
</div>


Reproducible: Always
Steps to Reproduce:
1. Copy code to an html file
2. Open it with IE, Mozilla, Firefox
3. Compare

Actual Results:  
IE: looks good
Mozilla: looks good
Firefox: looks bad, right padding is displayed in a wrong way (got 15px)

Expected Results:  
left and right padding with 5px

Conclusion:
Firefox duplicates the padding. The whole padding (left+right) gets 10px, but
Firefox adds 5px left and 15px right. The sum of both is 20px, not 10px.
WFM: Branch build 20041105, Windows XP

please try a newer branch build.
Now I have the following version:

Mozilla/5.0 (Windows; U; Windows NT 5.1; de-DE; rv:1.7.5) Gecko/20041108 Firefox/1.0

But the bug is still existing! The padding is rendered in the wrong way.

Regards.
Can you please attach a testcase showing this problem:
https://bugzilla.mozilla.org/attachment.cgi?bugid=268413&action=enter
Assignee: firefox → general
Component: General → Browser-General
Product: Firefox → Browser
QA Contact: firefox.general → general
Version: unspecified → 1.0 Branch
Attached file Padding Bug
I've tried my one sample, and now, however, it works fine. Was my fault. 
Thanx, just close the bug.
Based on Reporters comment --> wfm
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Product: Browser → Seamonkey
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: