Bug 39381 - Zero width TD may cause child TD's of sibling TD's to have incorrect widths
: Zero width TD may cause child TD's of sibling TD's to have incorrect widths
Status: UNCONFIRMED
: WebKit
Layout and Rendering
: 528+ (Nightly build)
: All All
: P2 Normal
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2010-05-19 14:55 PST by
Modified: 2012-03-06 18:38 PST (History)


Attachments
Webkit cell width non-zero when should be 0px (634 bytes, text/html)
2012-03-06 18:38 PST, Morris
no flags Details


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2010-05-19 14:55:18 PST
The inner most TD of the following is 1px too wide, apparently because of the following 0 width td:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<body>
    <div>
        <table cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td>
                    <table cellpadding="0" cellspacing="0" border="0" width="100%">
                        <tr>
                            <td>
                                    <img src="xx.jpg" alt="" />
                            </td>
                        </tr>
                    </table>
                </td>
                <td style="width: 0px;">
                </td>
            </tr>
        </table>
    </div>
</body>
</html>
------- Comment #2 From 2012-03-06 18:38:16 PST -------
Created an attachment (id=130516) [details]
Webkit cell width non-zero when should be 0px

I am pretty sure this is the same issue. WebKit specific problem (IE*, FF*, Opera work correctly i.e. cell is zero width).