[Webkit-unassigned] [Bug 74636] New: td element ignores zero width/height input element

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Dec 15 11:36:41 PST 2011


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

           Summary: td element ignores zero width/height input element
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: blahblah676 at gmail.com


Created an attachment (id=119472)
 --> (https://bugs.webkit.org/attachment.cgi?id=119472&action=review)
demonstrates the bug

If you have an input element with style width=0px and height=0px inside a td element, webkit will give the td element the incorrect size (ignoring the zero width and height). If you inspect the element you'll see that the input element is correctly sized, it is just the td element that has the wrong size. Setting the width and height to 1px fixes the problem. The problem also only occurs with input elements...if you try it with a <P> it works fine.

The bug occurs on Chrome and Safari on both OS X and Windows. Firefox and IE work fine.

Oh, and please don't tell me I shouldn't be using zero sized inputs...there is a good reason for it.

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



More information about the webkit-unassigned mailing list