[Webkit-unassigned] [Bug 154646] New: <input type="file"> is inconsistent about whether its intrinsic size can be 0

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Feb 24 11:12:28 PST 2016


            Bug ID: 154646
           Summary: <input type="file"> is inconsistent about whether its
                    intrinsic size can be 0
    Classification: Unclassified
           Product: WebKit
           Version: Safari 9
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: dholbert at mozilla.com
                CC: simon.fraser at apple.com

1. Visit https://jsfiddle.net/0j2ozsvn/

Three lines that look the same. ("Greedy cell" should take pretty much all of the space on each line.)

The first line, "Greedy cell" does *not* take all of the space -- there's a big aqua area for the first cell.

 * In each case, the first cell only contains an <input type="file"> element. In the first line, it explicitly has "width:0", and on the next two lines it has a percent width.
 * Paradoxically, that first line (with "width:0") is the one where it gives its table-cell a *large* intrinsic width.

- Chrome (on Linux) matches the confusing Safari behavior.
- Edge 13 on Windows 10 gives EXPECTED RESULTS
- Firefox 44 gives EXPECTED RESULTS.

I also filed https://bugs.chromium.org/p/chromium/issues/detail?id=589555 for this same issue in Blink.

You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-unassigned/attachments/20160224/76526c63/attachment.html>

More information about the webkit-unassigned mailing list