Right-floated text elements don't always float as far as possible

RESOLVED WORKSFORME

Status

()

P2
normal
RESOLVED WORKSFORME
17 years ago
12 years ago

People

(Reporter: emeyer, Unassigned)

Tracking

({css1, testcase})

Trunk
Future
css1, testcase
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(Whiteboard: [CSS1-5.5.25], URL)

Attachments

(1 attachment)

(Reporter)

Description

17 years ago
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

17 years ago
Created attachment 65624 [details]
Floated text elements not floating as far as they should

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

17 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.
Reassigning to Alex.
Assignee: attinasi → alexsavulov
Target Milestone: --- → mozilla1.1
Keywords: css1
Whiteboard: [CSS1-5.5.25]

Comment 4

17 years ago
Changing priority to P2
Priority: -- → P2

Updated

17 years ago
Keywords: testcase
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

Comment 6

15 years ago
retargeting
Target Milestone: mozilla1.1alpha → Future

Comment 7

12 years ago
WORKSFORME?
Yeah
Status: NEW → RESOLVED
Last Resolved: 12 years ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.