Bug 252495

Summary: Table-layout:fixed is not applied when width is max-content
Product: WebKit Reporter: Ahmad Saleem <ahmad.saleem792>
Component: TablesAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: webkit-bug-importer, zalan
Priority: P2 Keywords: BrowserCompat, InRadar, WPTImpact
Version: Safari Technology Preview   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=232405

Ahmad Saleem
Reported 2023-02-17 10:39:29 PST
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!
Attachments
EWS
Comment 1 2023-02-18 00:46:20 PST
Committed 260501@main (f4a3552fc9e6): <https://commits.webkit.org/260501@main> Reviewed commits have been landed. Closing PR #10293 and removing active labels.
Radar WebKit Bug Importer
Comment 2 2023-02-18 00:47:24 PST
Note You need to log in before you can comment on or make changes to this bug.