WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
15987
Float issue in combination with left aligned image and text block
https://bugs.webkit.org/show_bug.cgi?id=15987
Summary
Float issue in combination with left aligned image and text block
Robert Blaut
Reported
2007-11-14 10:46:23 PST
Summary: This bug shows inconsistency in float handling between Webkit and other browsers like Internet Explorer 7, Firefox 2 and Opera 9. This bug is strictly related to combination: left aligned image and div box with text without spaces inside it. Both elements are placed inside floated box. Steps to reproduce: 1) Open a page:
http://bugs.blaut.biz/webkit/webkit-float-issue.htm
with lates nightly. 2) Notice improperly rendered test case. 3) Compare with other browsers. Expected result: The test text on the page should NOT be placed below image. Current result: The test text on the test page is placed below image.
Attachments
minimal test case
(512 bytes, text/html)
2007-11-14 10:47 PST
,
Robert Blaut
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Robert Blaut
Comment 1
2007-11-14 10:47:52 PST
Created
attachment 17272
[details]
minimal test case
Jacob Refstrup
Comment 2
2009-05-28 18:43:41 PDT
I suspect what's going on here is that the pref width calculation doesn't take into consideration the floating object -- the line of text in 'minimal test case' is unbreakable (no spaces) and matches the exact width of the containing float which has width: auto.
Robert Hogan
Comment 3
2013-03-02 13:32:29 PST
Rendering matches FF which has the same pref widths model as WebKit now. We should probably close this as it's not possible in principle to deal with all situations like this.
Ahmad Saleem
Comment 4
2022-08-29 15:17:08 PDT
I am unable to reproduce this issue in STP 152 using attached minimal test case and it is showing 'image' above text and it is the case for all other browsers (Chrome Canary 107 and Firefox Nightly 106) as well. Since all browsers are matching, I am going to mark this as "RESOLVED WONTFIX" since our behaviour never changed. Thanks!
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