[Webkit-unassigned] [Bug 252495] New: Table-layout:fixed is not applied when width is max-content
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Fri Feb 17 10:39:29 PST 2023
https://bugs.webkit.org/show_bug.cgi?id=252495
Bug ID: 252495
Summary: Table-layout:fixed is not applied when width is
max-content
Product: WebKit
Version: Safari Technology Preview
Hardware: Unspecified
OS: Unspecified
Status: NEW
Keywords: BrowserCompat, WPTImpact
Severity: Normal
Priority: P2
Component: Tables
Assignee: webkit-unassigned at lists.webkit.org
Reporter: ahmad.saleem792 at gmail.com
CC: zalan at apple.com
Hi Team,
While doing local testing by merging Blink PR, I came across quick win on WPT testcase:
Link - http://wpt.live/css/css-tables/fixed-layout-2.html
Blink Commit - https://chromium.googlesource.com/chromium/src/+/8353c86f025f1556fa9fd18b516751259d49a7cf
WebKit Source - https://searchfox.org/wubkat/source/Source/WebCore/rendering/style/RenderStyle.h#502
Changing to this:
bool isFixedTableLayout() const { return tableLayout() == TableLayoutType::Fixed && (logicalWidth().isSpecified() || logicalWidth().isFitContent() || logicalWidth().isMinContent()); }
____
Going to do PR without tests, since we haven't imported CSS-Tables yet.
Thanks!
--
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/20230217/e4bed320/attachment.htm>
More information about the webkit-unassigned
mailing list