Wrong width for a box with overflow:auto and a negative margin, next to a float

A box with no specified width, overflow:auto, and next to a right float has the width "limited" by the float. When adding to it a negative left margin, in Opera the width is not stretched correctly.

Test page Workaround is not included
Reported by: Bruno Fassino.

Opera | Reported on 23 October 2006.

This site is no longer maintained. I’m sorry, but it’s just too much work for too little return. You can continue to browse old bug reports, though.




Search reports by browser:

Atom RSS

Comments

(Add your own)

1 Posted by Bruno Fassino on 23 October 2006 | Permalink

The bug affects this very same site, in the pages with users comments. These have overflow:auto and result too narrow in Opera (except those down along the page, after the right column has finished.) Here the right floated column is moved outside the container with a negative right margin, but this doesn't prevent the bug to show up.