Bug 15665

Summary: <div> incorrectly collapsed when contents consist of an empty span with non-zero horizontal padding
Product: WebKit Reporter: Anantha Keesara <anantha>
Component: Layout and RenderingAssignee: Dave Hyatt <hyatt>
Status: RESOLVED FIXED    
Severity: Normal    
Priority: P2    
Version: 523.x (Safari 3)   
Hardware: PC   
OS: Windows XP   
URL: http://xchat.centrum.cz/~guest~/games/
Attachments:
Description Flags
<div> incorrectly collapsed when contents consist of an empty span with non-zero horizontal padding
none
Patch that fixes the problem. bdakin: review+

Anantha Keesara
Reported 2007-10-24 08:07:40 PDT
Issue: Notice the misalignment under 'Flashové hry' block Other Browsers: Works in IE,FF. Doesn't work in Opera and Safari. Webkit version tested: r26759
Attachments
<div> incorrectly collapsed when contents consist of an empty span with non-zero horizontal padding (230 bytes, text/html)
2007-10-24 08:09 PDT, Anantha Keesara
no flags
Patch that fixes the problem. (19.23 KB, patch)
2008-01-18 14:47 PST, Dave Hyatt
bdakin: review+
Anantha Keesara
Comment 1 2007-10-24 08:09:24 PDT
Created attachment 16839 [details] <div> incorrectly collapsed when contents consist of an empty span with non-zero horizontal padding
Dave Hyatt
Comment 2 2008-01-18 14:47:27 PST
Created attachment 18535 [details] Patch that fixes the problem.
Beth Dakin
Comment 3 2008-01-18 14:50:23 PST
Comment on attachment 18535 [details] Patch that fixes the problem. Yay!
Dave Hyatt
Comment 4 2008-01-18 15:00:35 PST
Fixed in r29649.
Darin Fisher (:fishd, Google)
Comment 5 2008-03-26 10:53:53 PDT
FYI, it looks like this bug exists in Safari 3.1. I thought this landed before that branch was created, so I am surprised that this bug exists in Safari 3.1. So, just an FYI... I guess something regressed on the 3.1 branch.
Note You need to log in before you can comment on or make changes to this bug.