WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
NEW
143728
Auto heights of BFCs with floats inside fixed height blocks and inline elements are computed incorrectly
https://bugs.webkit.org/show_bug.cgi?id=143728
Summary
Auto heights of BFCs with floats inside fixed height blocks and inline elemen...
Greg Whitworth
Reported
2015-04-14 14:34:58 PDT
Example URL:
http://jsbin.com/tecojivici/2/edit
Steps to reproduce the problem: 1. Open the jsbin test page 2. View the end result in FF/IE and compare with Chrome What is the expected behavior? The first BFC in this item should grow to the height of its contents. What went wrong? For some reason the calculation is incorrect. Interestingly, if you uncomment the line that sets the float's height to 106px instead of 105 it renders the same as FF/IE.
Attachments
Add attachment
proposed patch, testcase, etc.
Simon Fraser (smfr)
Comment 1
2015-04-14 21:05:19 PDT
Thanks for the report, Greg!
Ahmad Saleem
Comment 2
2022-10-01 05:51:54 PDT
I am able to reproduce this issue in Safari 16 and Safari Technical Preview 154 using attached JSBin and it is different from Chrome Canary 108 and Firefox Nightly 107 because they show "two green" containers unlike Safari.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug