[Webkit-unassigned] [Bug 221165] New: n table with "width:max-content" and percent-width cells, first cell ends up infinitely-wide

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Jan 29 16:13:25 PST 2021


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

            Bug ID: 221165
           Summary: n table with "width:max-content" and percent-width
                    cells, first cell ends up infinitely-wide
           Product: WebKit
           Version: Safari 14
          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: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

STR:
(1) Load this testcase:
https://jsfiddle.net/dholbert/yafp507j/
or this equivalent data URI:
data:text/html,<table border style="width:max-content"><td style="width:100%25">hi</td><td style="width:100%25">hi</td>

EXPECTED RESULTS:
No infinitely-sized content.

ACTUAL RESULTS:
The first table cell ends up infinitely-sized (or at least absurdly large).

Chrome gives ACTUAL RESULTS as well -- I suspect this is an issue that predates the blink/webkit fork. I filed https://bugs.chromium.org/p/chromium/issues/detail?id=1172498 to track this in Chrome.

Firefox gives EXPECTED RESULTS -- it just renders both cells as being content-sized.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210130/d25032bd/attachment.htm>


More information about the webkit-unassigned mailing list