Bug 15665 - <div> incorrectly collapsed when contents consist of an empty span with non-zero horizontal padding
Summary: <div> incorrectly collapsed when contents consist of an empty span with non-z...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Layout and Rendering (show other bugs)
Version: 523.x (Safari 3)
Hardware: PC Windows XP
: P2 Normal
Assignee: Dave Hyatt
URL: http://xchat.centrum.cz/~guest~/games/
Keywords:
Depends on:
Blocks:
 
Reported: 2007-10-24 08:07 PDT by Anantha Keesara
Modified: 2008-03-26 10:53 PDT (History)
0 users

See Also:


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 Details
Patch that fixes the problem. (19.23 KB, patch)
2008-01-18 14:47 PST, Dave Hyatt
bdakin: review+
Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.