RESOLVED FIXED 261986
[CSS-Sizing] Block size with max-content and min-content in a table
https://bugs.webkit.org/show_bug.cgi?id=261986
Summary [CSS-Sizing] Block size with max-content and min-content in a table
Ahmad Saleem
Reported 2023-09-22 17:58:49 PDT
Hi Team, While going through Blink's commit, I came across fix for two failing WPT in CSS-Sizing: Link: http://wpt.live/css/css-sizing/block-size-with-min-or-max-content-table-1b.html & http://wpt.live/css/css-sizing/block-size-with-min-or-max-content-table-1a.html Blink Commit - https://chromium.googlesource.com/chromium/src.git/+/3a0c4adda19bade345ca115fdcfe825acf0b8869 ^ Only doing partial merge of 'RenderTable.cpp', make us pass above two tests in my local build. Line 532: if (logicalMaxHeightLength.isFillAvailable() || (logicalMaxHeightLength.isSpecified() && !logicalMaxHeightLength.isNegative() && !logicalMaxHeightLength.isMinContent() && !logicalMaxHeightLength.isMaxContent() && !logicalMaxHeightLength.isFitContent())) Line 538 (new to add): if (logicalMinHeightLength.isMinContent() || logicalMinHeightLength.isMaxContent() || logicalMinHeightLength.isFitContent()) logicalMinHeightLength = LengthType::Auto; ___ I have this patch in local since long and haven't had any issue. Just raising so I can fix it later. Adding 'BrowserCompat' since only Safari / WebKit is failing these tests and 'WPTImpact' tag due to tests being on WPT. Thanks!
Attachments
Radar WebKit Bug Importer
Comment 1 2023-09-29 17:59:22 PDT
Ahmad Saleem
Comment 2 2023-10-29 17:48:28 PDT
Second PR Attempt (with now wpt test import) - https://github.com/WebKit/WebKit/pull/19699 Thanks to Tim. :-)
EWS
Comment 3 2023-11-22 07:12:51 PST
Committed 271054@main (e180ca76e7e0): <https://commits.webkit.org/271054@main> Reviewed commits have been landed. Closing PR #19699 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.