Bug 252495
| Summary: | Table-layout:fixed is not applied when width is max-content | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | Tables | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
EWS
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
<rdar://problem/105627723>