Closed
Bug 120783
Opened 23 years ago
Closed 17 years ago
Right-floated text elements don't always float as far as possible
Categories
(Core :: Layout: Floats, defect, P2)
Core
Layout: Floats
Tracking
()
RESOLVED
WORKSFORME
Future
People
(Reporter: emeyer, Unassigned)
References
()
Details
(Keywords: css1, testcase, Whiteboard: [CSS1-5.5.25])
Attachments
(1 file)
72.04 KB,
image/gif
|
Details |
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.)
Reporter | ||
Comment 1•23 years ago
|
||
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.)
Reporter | ||
Comment 2•23 years ago
|
||
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.
Comment 3•23 years ago
|
||
Reassigning to Alex.
Assignee: attinasi → alexsavulov
Target Milestone: --- → mozilla1.1
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
OS: Mac System 9.x → All
Hardware: Macintosh → All
Comment 7•17 years ago
|
||
WORKSFORME?
Yeah
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → WORKSFORME
You need to log in
before you can comment on or make changes to this bug.
Description
•