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+

Description Anantha Keesara 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
Comment 1 Anantha Keesara 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
Comment 2 Dave Hyatt 2008-01-18 14:47:27 PST
Created attachment 18535 [details]
Patch that fixes the problem.
Comment 3 Beth Dakin 2008-01-18 14:50:23 PST
Comment on attachment 18535 [details]
Patch that fixes the problem.

Yay!
Comment 4 Dave Hyatt 2008-01-18 15:00:35 PST
Fixed in r29649.

Comment 5 Darin Fisher (:fishd, Google) 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.