Closed Bug 566191 Opened 14 years ago Closed 14 years ago

incorrect WIDTH

Categories

(Firefox :: General, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: vooz, Unassigned)

Details

Attachments

(1 file)

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; fr; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

-------------------------------------------------------------------
<head>
<style>* { margin: 0; padding: 0;}</style>
</head>
<div style='width: 1000px; border: 1px solid red; border-collapse: collapse; border-spacing: 0;'>+</div>
-------------------------------------------------------------------

-> Your div width is 1110px instead of 1000px


Reproducible: Always

Steps to Reproduce:
1.Create a div (or table, or whatever) with a fixed width and no content (to be sure te container is not resized by the content)
2.Display your page
3.Take a screenshot, and using a paint program, check the effective width
Actual Results:  
incorrect width (about 11% too large)

Expected Results:  
correct width !
Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3

Can't reproduce this
Here is an example :
http://www.thweb.fr/bugff_566191.html

And a screenshot with a vertical bar drawn to show where the div/table should stop (margin, padding, and border-spacing are null, so they should stop at pixel 1001 of content (+1 due to border=1px)
http://www.thweb.fr/bugff_566191.png
Attached image screenshot
Worksforme
I'm stupid .. my browser was zoomed ! forgive me for the lost of time :/
Status: UNCONFIRMED → RESOLVED
Closed: 14 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: