[Webkit-unassigned] [Bug 21644] New: layout incorrect due to div style width:0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Oct 16 10:24:10 PDT 2008


https://bugs.webkit.org/show_bug.cgi?id=21644

           Summary: layout incorrect due to div style width:0
           Product: WebKit
           Version: 525.x (Safari 3.1)
          Platform: PC
               URL: http://alfredadamiec.blog.onet.pl/
        OS/Version: Windows XP
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: jasneet at chromium.org
                CC: jasneet at chromium.org


I Steps:
Go to http://alfredadamiec.blog.onet.pl/

II Issue:
layout of header, left column, right column is wrong

III Conclusion:
<div> 's style property "width:0" is the cause of this problem.

In IE/FF, because the <div>'s width is 0 and the next <td>'s width is set to
"100%", the <div>'s container <td>'s width is rendered to 0.

However in Chrome/Safari, the <div>'s container <td>'s width is rendered to a
certain width. (equal to the <img>'s width)

If change the style property "width" to a non-zero value like "width:100", then
webkit behaves same with other browsers.

IV Other Browsers:
IE7: ok
FF3: ok

V Nightly tested: 37604


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list