Closed Bug 270106 Opened 20 years ago Closed 19 years ago

Setting paddings in em in floated elements add margin depending on font size

Categories

(Core :: Layout: Floats, defect)

x86
Linux
defect
Not set
normal

Tracking

()

RESOLVED WORKSFORME

People

(Reporter: glandium, Unassigned)

References

Details

Attachments

(2 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.7.5) Gecko/20041114 Firefox/1.0 (Debian package 1.0-2pre3.0)
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; ja-JP; rv:1.7.5) Gecko/20041114 Firefox/1.0 (Debian package 1.0-2pre3.0)

See the (soon) attached testcase and its (soon) attached rendering at different
font sizes.
I first encountered the bug on unordered lists, that's why i put it in the
testcase, but it also applies to divs (also in the testcase).
Note that setting paddings in pixels shows what i expect to be the correct
behaviour.

What happens is that at some font sizes, floated elements either overlap by one
pixel or get separated by one pixel when their padding is set in em (i guess %
would get the same result).

Reproducible: Always
Steps to Reproduce:
1. Show the testcase
2. Play around with ctrl + + and ctrl + - to change font sizes
3. See what happens
Attached file testcase
Test case for the bug.
Depends on: pixels
This is an automated message, with ID "auto-resolve01".

This bug has had no comments for a long time. Statistically, we have found that
bug reports that have not been confirmed by a second user after three months are
highly unlikely to be the source of a fix to the code.

While your input is very important to us, our resources are limited and so we
are asking for your help in focussing our efforts. If you can still reproduce
this problem in the latest version of the product (see below for how to obtain a
copy) or, for feature requests, if it's not present in the latest version and
you still believe we should implement it, please visit the URL of this bug
(given at the top of this mail) and add a comment to that effect, giving more
reproduction information if you have it.

If it is not a problem any longer, you need take no action. If this bug is not
changed in any way in the next two weeks, it will be automatically resolved.
Thank you for your help in this matter.

The latest beta releases can be obtained from:
Firefox:     http://www.mozilla.org/projects/firefox/
Thunderbird: http://www.mozilla.org/products/thunderbird/releases/1.5beta1.html
Seamonkey:   http://www.mozilla.org/projects/seamonkey/
Seems to work now with firefox 1.5
Status: UNCONFIRMED → RESOLVED
Closed: 19 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: