Closed Bug 214567 Opened 21 years ago Closed 20 years ago

CSS rounding error with float:right

Categories

(Core :: Layout: Floats, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 125560

People

(Reporter: sjmccarthy, Unassigned)

References

()

Details

User-Agent:       Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624
Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624

When float:right is specified for the style of a box, Mozilla can misplace the
box by one pixel due to rounding erros.

Reproducible: Always

Steps to Reproduce:
1.Go to http://www.meyerweb.com/eric/css/edge/boxpunch/demo.html
2.Scroll down to the third section ("again with the punching")
3.Resize your brwoser window a few times until you notuce that the box "Better
to stick to what's needed." Is off by a pixel.
Component: DOM Style → Layout: Floats
reassign
Assignee: dom_bugs → float

*** This bug has been marked as a duplicate of 125560 ***
Status: UNCONFIRMED → RESOLVED
Closed: 20 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.