Closed Bug 448893 Opened 16 years ago Closed 14 years ago

Additional margin/padding on "button > div" regardless of css

Categories

(Firefox :: General, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 140562

People

(Reporter: treffer, Unassigned)

Details

(Whiteboard: [CLOSEME 2010-11-01])

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; de-DE; rv:1.9.0.1) Gecko/2008071618 Iceweasel/3.0.1 (Debian-3.0.1-1)

Firefox adds a small (1px top/bottom, 2 px left/right) margin/padding between the button and the div.

I've rechecked with the latest Minefield, the problem is not specific to iceweasle but is reproduceable with nightly firefox or swiftfox, too. Opera and konqueror render the html file correctly.

Reproducible: Always

Steps to Reproduce:
1. index.html
<html>
<head>
<style type="text/css">
        button {
                border-width: 1px;
                border-color: black;
                border-style: solid;
                background-color: white;
                padding: 1px;
        }

        button div {
                margin: 0;
                background-color: black;
                color: white;
        }
</style>
</head>
<body>
        <button><div>Klick me!</div></button>
</body>
</html>
2. open with firefox
3. check agains opera/konqueror
Actual Results:  
A 2px (top/bottom) margin and a 3px (left/right) between the button and the div.

Expected Results:  
A 1px (top/bottom/left/right) padding between the button and the div.
Attached file Testcase (deleted) —
Uploading a sample html file. Test it with opera, konqueror and firefox if you want to....
Dupe of bug #140562 ?
This is a mass search for bugs which are in the Firefox General component, are
UNCO, have not been changed for 500 days and have an unspecified version. 

Reporter, can you please update to Firefox 3.6.10 or later, create a fresh profile, http://support.mozilla.com/en-US/kb/managing+profiles, and test again. If you still see the issue, please update this bug. If the issue is gone, please set the status to RESOLVED > WORKSFORME.
Whiteboard: [CLOSEME 2010-11-01]
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: