Bug 232407
| Summary: | external/wpt/css/css-tables/tentative/table-width-redistribution-fixed.html test is failing on Safari and Webkit | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | aanala |
| Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW | ||
| Severity: | Normal | CC: | ahmad.saleem792, bfulgham, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Other | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
aanala
Below wpt test is failing on Safari and Webkit
external/wpt/css/css-tables/tentative/table-width-redistribution-fixed.html
https://crrev.com/853385
Cl: https://chromium-review.googlesource.com/c/chromium/src/+/2654736
Chromium Bug: https://bugs.chromium.org/p/chromium/issues/detail?id=1171407
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
aanala
Firefox Bug: https://bugzilla.mozilla.org/show_bug.cgi?id=1692395
Radar WebKit Bug Importer
<rdar://problem/84994109>
aanala
Below is the wpt.fyi test link for
wpt/css/css-tables/tentative/table-width-redistribution-fixed.html
https://wpt.fyi/results/css/css-tables/tentative/table-width-redistribution-fixed.html?label=master&product=chrome%5Bexperimental%5D&product=edge&product=firefox&product=safari&product=webkitgtk&aligned
Ahmad Saleem
It is failing because we don't handle calc() properly in table code.
else if (colStyleLogicalWidth.isCalculated())
colStyleLogicalWidth = CSS::Keyword::Auto { };
https://searchfox.org/wubkat/rev/ed8bfa2b0f4d82867ddd51764ad66d5ddf4adb52/Source/WebCore/rendering/FixedTableLayout.cpp#106
We just return `auto` when it is `calc()`.