[Webkit-unassigned] [Bug 210093] New: [css-flexbox] select element incorrectly allows itself to shrink to a main-size of 0, in a flex container
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 6 20:43:35 PDT 2020
https://bugs.webkit.org/show_bug.cgi?id=210093
Bug ID: 210093
Summary: [css-flexbox] select element incorrectly allows itself
to shrink to a main-size of 0, in a flex container
Product: WebKit
Version: WebKit Nightly Build
Hardware: Unspecified
OS: Unspecified
Status: NEW
Severity: Normal
Priority: P2
Component: CSS
Assignee: webkit-unassigned at lists.webkit.org
Reporter: clopez at igalia.com
Steps to reproduce:
Put select element inside flexbox and apply some "pressure":
https://jsfiddle.net/Risord/dvky8w4m/4/
Actual results:
Select will be collapsed all the way zero height (in demo there is a bit more space so that select is easier to see).
Expected results:
Select should keep it's "obvious" height just like the div (and other form inputs etc.). Chrome and Edge also handle select correct way.
This very same issue has been reported (and fixed) on firefox at : https://bugzilla.mozilla.org/show_bug.cgi?id=1591925
Chrome doesn't have this issue.
This is tested by the following WPT tests (that fail on WebKit):
https://wpt.live/css/css-flexbox/select-element-zero-height-001.html
https://wpt.live/css/css-flexbox/select-element-zero-height-002.html
--
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/20200407/c360e776/attachment.htm>
More information about the webkit-unassigned
mailing list