Closed
Bug 268413
Opened 20 years ago
Closed 20 years ago
Wrong (double) padding is rendered, CSS Bug
Categories
(SeaMonkey :: General, defect)
Tracking
(Not tracked)
RESOLVED
WORKSFORME
People
(Reporter: tinoruntzler, Unassigned)
Details
Attachments
(1 file)
|
329 bytes,
text/html
|
Details |
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.
Comment 1•20 years ago
|
||
WFM: Branch build 20041105, Windows XP please try a newer branch build.
| Reporter | ||
Comment 2•20 years ago
|
||
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.
Comment 3•20 years ago
|
||
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
| Reporter | ||
Comment 4•20 years ago
|
||
| Reporter | ||
Comment 5•20 years ago
|
||
I've tried my one sample, and now, however, it works fine. Was my fault. Thanx, just close the bug.
Comment 6•20 years ago
|
||
Based on Reporters comment --> wfm
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → WORKSFORME
Updated•20 years ago
|
Product: Browser → Seamonkey
You need to log in
before you can comment on or make changes to this bug.
Description
•