User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ja-JP-mac; rv:1.9) Gecko/2008051202 Firefox/3.0 Build Identifier: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; ja-JP-mac; rv:1.9) Gecko/2008051202 Firefox/3.0 Line in block besides floating block inside floating block breaks before it reach the right edge of page on Firefox 3.0 RC1. It does not happen on Firefox 220.127.116.11. Reproducible: Always Steps to Reproduce: 1. Create an HTML file containing the following HTML: <html><body> <div style="float: left; background-color: green; padding: 1em;"> This block is float. <div style="float: left; width: 100px; height: 100px; background-color: cyan;">This block is float too.</div> <div style="background-color: yellow;">This line breaks before it rearch the right edge of page.</div> </div> </body></html> 2. Open this file in Firefox 3.0 RC1 Actual Results: Line in yellow block breaks before it reach the right edge of page. (it breaks after "the" on my environment) Expected Results: Line in yellow block does not break unless it reach the right edge of page. It might be caused by patch of bug 255990.
This is the result of the heuristic for intrinsic width calculation used in bug 300030 (since we no longer do layout to calculate intrinsic widths for floats). It was an expected side-effect of that bug. Note that WebKit behaves the same.
Status: UNCONFIRMED → RESOLVED
Last Resolved: 11 years ago
Resolution: --- → DUPLICATE
Duplicate of bug: 349760
You need to log in before you can comment on or make changes to this bug.