WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
210102
[css-flexbox] Element with display:table inside a flex item should ignore max-width/max-height use the preferred minimum logical width/height.
https://bugs.webkit.org/show_bug.cgi?id=210102
Summary
[css-flexbox] Element with display:table inside a flex item should ignore max...
Carlos Alberto Lopez Perez
Reported
2020-04-07 04:01:55 PDT
The following WPT test fails on WebKit (passes on Chrome and Firefox):
https://wpt.live/css/css-flexbox/table-as-item-auto-min-width.html
That test case its a test from the following css-wg discussion:
https://github.com/w3c/csswg-drafts/issues/2442
The test would pass in WebKit if "max-width:10px;" its removed from the display:table div. So I guess that WebKit should ignore max-width/max-height here and use the preferred minimum logical width/height.
Attachments
Add attachment
proposed patch, testcase, etc.
Philip Jägenstedt
Comment 1
2020-10-24 09:44:30 PDT
table-as-item-specified-width.html is a similar test in WPT failing as well, and I'll link that failure on wpt.fyi to this issue. Here's an issue I filed discussing the test and the Chromium+Gecko bugs:
https://github.com/web-platform-tests/wpt/issues/26257
https://bugs.chromium.org/p/chromium/issues/detail?id=1128262
https://bugzilla.mozilla.org/show_bug.cgi?id=1454330
I doubt the fix would be exactly the same, but it's also related to the sizing of tables as flex items. It's worth noting that this seems to be a rare case, as there were no reported regressions when it was accidentally broken in Chromium, and it was discovered due to another change later. In other worlds, the real-world compat implications of this are likely minor.
Ahmad Saleem
Comment 2
2023-02-10 07:00:13 PST
This test is passing in Safari Technology Preview 163 & Safari 16.1 -
https://wpt.live/css/css-flexbox/table-as-item-auto-min-width.html
Karl Dubost
Comment 3
2023-02-12 18:58:22 PST
Yes this is resolved.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug