Closed Bug 120783 Opened 20 years ago Closed 15 years ago
Right-floated text elements don't always float as far as possible
72.04 KB, image/gif
Steps to reproduce (may take a while, depending on your luck): 1. Go to the referenced URL. 2. Resize the browser windo a little bit at a time until you see a one-pixel vertical white line separated the slanted edges from the rest of the blue background. Expected result: the white line should never appear. These right-floated elements should never be pushed away from the right edge of their containing block. David Baron guessed this might be a rounding error. (This one can be tough to reproduce, so I'm going to attach a screenshot showing an example.)
The vertical white line should NOT be there. If you visit the page and see it, try resizing your browser window slightly until it disappears. It's harder to get the white line to appear than it is to make it disappear, but it can show up at a number of different window widths. ( The text "is 1em" overlapping the floated element is a different error and has already been reported in bug 93592, along with an excerpt of this screenshot.)
Two more examples of this bug can be found on: * http://www.meyerweb.com/eric/css/edge/boxpunch/demo.html, where the pullquote "Better to stick to what's needed." will sometimes have a black line to its right, depending on the width of the parent element (which is based onthe width of the browser window). There should never be a black line there. * http://www.meyerweb.com/eric/css/edge/boxpunch/demo2.html, where the top-right rust-colored punchout can sometimes have a black line to its right. Again, it should never appear. Screenshots available if people have trouble reproducing problems on these pages. Incidentally, I produced attachment 65624 [details] using 2002011803/Mac.
Reassigning to Alex.
Assignee: attinasi → alexsavulov
Target Milestone: --- → mozilla1.1
Changing priority to P2
Priority: -- → P2
I can reproduce this on Linux as well. Definitely some sort of rounding problem.
Assignee: alexsavulov → float
Component: Layout → Layout: Floats
Depends on: 63336
QA Contact: petersen → ian
Target Milestone: mozilla1.1alpha → Future
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.