Nonsense interaction between float and div with overflow:hidden
Reported by
teo8...@gmail.com,
Dec 15 2016
|
|||
Issue descriptionUserAgent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/55.0.2883.75 Safari/537.36 Example URL: http://output.jsbin.com/humohe Steps to reproduce the problem: 1. visit http://output.jsbin.com/humohe 2. Make sure the window is not too wide, so that the "lorem ipsum" text folds to at least half a dozen lines What is the expected behavior? Should look like the first screenshot What went wrong? Looks like the second screenshot. If you remove the "overflow:hidden" from the style of the last div, it works as expected. Utter nonsense. Did this work before? N/A Chrome version: 55.0.2883.75 Channel: n/a OS Version: Flash Version: Shockwave Flash 24.0 r0 Yes, Firefox suffers from the same bug.
,
Dec 15 2016
Not a network issue.
,
Dec 15 2016
> Not a network issue. My bad, sorry, I meant to select "content"
,
Dec 15 2016
Setting overflow: hidden creates a block formatting context which changes the behavior of the float. While a bit surprising perhaps this is by design and as per spec: https://developer.mozilla.org/en-US/docs/Web/Guide/CSS/Block_formatting_context |
|||
►
Sign in to add a comment |
|||
Comment 1 by teo8...@gmail.com
, Dec 15 2016