Bug 33858

Summary: Right border not displayed on floated element
Product: WebKit Reporter: Paul Tarjan <webkit>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: ahmad.saleem792, ap, lixoaqui, robert
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
URL: http://paulisageek.com/tmp/chrome_bug.html
Attachments:
Description Flags
Safari 15.5 matches other browsers none

Paul Tarjan
Reported 2010-01-19 12:56:37 PST
Test case: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> <html><head><style type="text/css"> div { float: left; clear: left; margin: 3px; } span { border: 1px solid; } </style></head><body> <!-- does not show right border --> <div><span>With trailing space, no width </span></div> <!-- does show right border --> <div><span>No trailing space, no width</span></div> <div style="width: 40ex;"><span>With trailing space, has width </span></div> <div style="width: 40ex;"><span>No trailing space, has width</span></div> </body></html> I expect there to be a full border on all elements.
Attachments
Safari 15.5 matches other browsers (322.97 KB, image/png)
2022-06-02 05:08 PDT, Ahmad Saleem
no flags
lixoaqui
Comment 1 2011-05-17 18:16:31 PDT
I confirm this is still happening, any workaround?
Robert Hogan
Comment 2 2013-11-18 22:16:50 PST
This looks OK to me on trunk. Can you confirm it's still a bug?
Ahmad Saleem
Comment 3 2022-06-02 05:08:11 PDT
Created attachment 459956 [details] Safari 15.5 matches other browsers I am not able to reproduce this bug using attached test case in Safari 15.5 on macOS 12.4. All other browsers also matches in the output as visible in the screenshot. Testcase - https://jsfiddle.net/m8zkeqsp/show I think this can be closed as "RESOLVED CONFIGURATION CHANGED". Thanks!
Alexey Proskuryakov
Comment 4 2022-06-02 08:51:50 PDT
Thank you for checking!
Note You need to log in before you can comment on or make changes to this bug.